CHROMA
|
General Wilson-Dirac dslash. More...
#include <lwldslash_w_sse.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
SSEWilsonDslash () | |
Empty constructor. Must use create later. More... | |
SSEWilsonDslash (Handle< FermState< T, P, Q > > state) | |
Full constructor. More... | |
SSEWilsonDslash (Handle< FermState< T, P, Q > > state, const AnisoParam_t &aniso_) | |
Full constructor with anisotropy. More... | |
SSEWilsonDslash (Handle< FermState< T, P, Q > > state, const multi1d< Real > &coeffs_) | |
Full constructor with general coefficients. More... | |
void | create (Handle< FermState< T, P, Q > > state) |
Creation routine. More... | |
void | create (Handle< FermState< T, P, Q > > state, const AnisoParam_t &aniso_) |
Creation routine with anisotropy. More... | |
void | create (Handle< FermState< T, P, Q > > state, const multi1d< Real > &coeffs_) |
Full constructor with general coefficients. More... | |
~SSEWilsonDslash () | |
No real need for cleanup here. More... | |
void | apply (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign, int cb) const |
General Wilson-Dirac dslash. More... | |
const FermBC< T, P, Q > & | getFermBC () const |
Return the fermion BC object for this linear operator. More... | |
Public Member Functions inherited from Chroma::WilsonDslashBase< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > | |
virtual | ~WilsonDslashBase () |
No real need for cleanup here. More... | |
const Subset & | subset () const |
Subset is all here. More... | |
virtual void | deriv (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Take deriv of D. More... | |
virtual void | deriv (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign, int cb) const |
Take deriv of D. More... | |
unsigned long | nFlops () const |
Return flops performed by the operator() More... | |
Public Member Functions inherited from Chroma::DslashLinearOperator< T, P, Q > | |
virtual | ~DslashLinearOperator () |
Virtual destructor to help in cleanup. More... | |
virtual void | operator() (T &d, const T &psi, enum PlusMinus isign) const |
Apply operator on both checkerboards (entire lattice) More... | |
virtual void | derivMultipole (P &ds_u, const multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const |
Return the force for multiple poles. More... | |
virtual void | derivMultipole (P &ds_u, const multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, int cb) const |
Public Member Functions inherited from Chroma::DiffLinearOperator< T, P, Q > | |
virtual | ~DiffLinearOperator () |
Virtual destructor to help with cleanup;. More... | |
virtual void | deriv (P &ds_u, const T &chi, const T &psi, enum PlusMinus isign, const Real &epsilon) const |
Apply the derivative of the operator onto a source std::vector to some precision. More... | |
Public Member Functions inherited from Chroma::LinearOperator< T > | |
virtual | ~LinearOperator () |
Virtual destructor to help with cleanup;. More... | |
virtual void | operator() (T &chi, const T &psi, enum PlusMinus isign, Real epsilon) const |
Apply the operator onto a source std::vector to some precision. More... | |
Protected Member Functions | |
const multi1d< Real > & | getCoeffs () const |
Get the anisotropy parameters. More... | |
void | init () |
Init internals. More... | |
Private Attributes | |
multi1d< Real > | coeffs |
multi1d< PrimitiveSU3Matrix > | packed_gauge |
Handle< FermBC< T, P, Q > > | fbc |
General Wilson-Dirac dslash.
DSLASH
This routine is specific to Wilson fermions!
Description:
This routine applies the operator D' to Psi, putting the result in Chi.
Nd-1 --- \
chi(x) := > U (x) (1 - isign gamma ) psi(x+mu)
mu=0
Nd-1 --- \ + + > U (x-mu) (1 + isign gamma ) psi(x-mu) / mu mu --- mu=0
Definition at line 48 of file lwldslash_w_sse.h.
typedef multi1d<LatticeColorMatrix> Chroma::SSEWilsonDslash::P |
Definition at line 55 of file lwldslash_w_sse.h.
typedef multi1d<LatticeColorMatrix> Chroma::SSEWilsonDslash::Q |
Definition at line 56 of file lwldslash_w_sse.h.
typedef LatticeFermion Chroma::SSEWilsonDslash::T |
Definition at line 54 of file lwldslash_w_sse.h.
Chroma::SSEWilsonDslash::SSEWilsonDslash | ( | ) |
Empty constructor. Must use create later.
Empty constructor.
Definition at line 36 of file lwldslash_w_sse.cc.
References init().
Full constructor.
Definition at line 42 of file lwldslash_w_sse.cc.
References create(), init(), and Chroma::state.
Chroma::SSEWilsonDslash::SSEWilsonDslash | ( | Handle< FermState< T, P, Q > > | state, |
const AnisoParam_t & | aniso_ | ||
) |
Full constructor with anisotropy.
Definition at line 49 of file lwldslash_w_sse.cc.
References create(), init(), and Chroma::state.
Chroma::SSEWilsonDslash::SSEWilsonDslash | ( | Handle< FermState< T, P, Q > > | state, |
const multi1d< Real > & | coeffs_ | ||
) |
Full constructor with general coefficients.
Definition at line 57 of file lwldslash_w_sse.cc.
References create(), init(), and Chroma::state.
Chroma::SSEWilsonDslash::~SSEWilsonDslash | ( | ) |
No real need for cleanup here.
Definition at line 130 of file lwldslash_w_sse.cc.
References Chroma::END_CODE(), and Chroma::START_CODE().
Creation routine.
Definition at line 65 of file lwldslash_w_sse.cc.
References Nd, and Chroma::state.
Referenced by create(), and SSEWilsonDslash().
void Chroma::SSEWilsonDslash::create | ( | Handle< FermState< T, P, Q > > | state, |
const AnisoParam_t & | aniso_ | ||
) |
Creation routine with anisotropy.
Definition at line 73 of file lwldslash_w_sse.cc.
References create(), Chroma::END_CODE(), Chroma::makeFermCoeffs(), Chroma::START_CODE(), and Chroma::state.
void Chroma::SSEWilsonDslash::create | ( | Handle< FermState< T, P, Q > > | state, |
const multi1d< Real > & | coeffs_ | ||
) |
Full constructor with general coefficients.
Definition at line 84 of file lwldslash_w_sse.cc.
References coeffs, Chroma::END_CODE(), fbc, mu, Nd, packed_gauge, Chroma::START_CODE(), Chroma::state, and Chroma::u.
|
inlineprotectedvirtual |
Get the anisotropy parameters.
Implements Chroma::WilsonDslashBase< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 104 of file lwldslash_w_sse.h.
Return the fermion BC object for this linear operator.
Implements Chroma::DslashLinearOperator< T, P, Q >.
Definition at line 100 of file lwldslash_w_sse.h.
Referenced by apply().
|
protected |
Init internals.
Initialization routine.
Definition at line 17 of file lwldslash_w_sse.cc.
References Chroma::SSERefCount::initedP.
Referenced by SSEWilsonDslash().
|
private |
Nd array of coefficients of terms in the action
Definition at line 110 of file lwldslash_w_sse.h.
Referenced by create().
Definition at line 112 of file lwldslash_w_sse.h.
Referenced by create().
|
private |
Definition at line 111 of file lwldslash_w_sse.h.