HILA
|
#include <wilson.h>
Public Types | |
using | vector_type = Wilson_vector< N, radix > |
The wilson vector type. | |
using | matrix_type = matrix |
The matrix type. | |
using | type_flt = Dirac_Wilson< typename gauge_field_base< matrix >::gauge_type_flt > |
Public Member Functions | |
Dirac_Wilson (Dirac_Wilson &d) | |
Constructor: initialize mass and gauge. | |
Dirac_Wilson (double k, Field< matrix >(&U)[4]) | |
Constructor: initialize mass and gauge. | |
Dirac_Wilson (double k, gauge_field_base< matrix > &g) | |
Constructor: initialize mass and gauge. | |
template<typename M > | |
Dirac_Wilson (Dirac_Wilson< M > &d, gauge_field_base< matrix > &g) | |
Construct from another Dirac_Wilson operator of a different type. | |
void | apply (const Field< vector_type > &in, Field< vector_type > &out) |
Applies the operator to in. | |
void | dagger (const Field< vector_type > &in, Field< vector_type > &out) |
Applies the conjugate of the operator. | |
template<typename momtype > | |
void | force (const Field< vector_type > &chi, const Field< vector_type > &psi, Field< momtype >(&force)[4], int sign=1) |
Public Attributes | |
double | kappa |
The hopping parameter, kappa = 1/(8-2m) | |
Parity | par = ALL |
The parity this operator applies to. | |
Static Public Attributes | |
static constexpr int | N = matrix::size |
Size of the gauge matrix and color dimension of the Wilson vector. | |
An operator class that applies the Wilson Dirac operator D.apply(in, out) aplies the operator D.dagger(int out) aplies the conjugate of the operator
This is useful for defining inverters as composite operators. For example the conjugate gradient inverter is CG<Dirac_Wilson>.
using Dirac_Wilson< matrix >::type_flt = Dirac_Wilson<typename gauge_field_base<matrix>::gauge_type_flt> |
|
inline |