CHROMA
|
General Wilson-Dirac dslash. More...
#include <lwldslash_array_sse_w.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Types inherited from Chroma::WilsonDslashBaseArray | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
SSEWilsonDslashArray () | |
Empty constructor. Must use create later. More... | |
SSEWilsonDslashArray (Handle< FermState< T, P, Q > > state, int N5_) | |
Full constructor. More... | |
SSEWilsonDslashArray (Handle< FermState< T, P, Q > > state, int N5_, const AnisoParam_t &aniso_) | |
Full constructor. More... | |
void | create (Handle< FermState< T, P, Q > > state, int N5_) |
Creation routine. More... | |
void | create (Handle< FermState< T, P, Q > > state, int N5_, const AnisoParam_t &aniso_) |
Creation routine. More... | |
void | create (Handle< FermState< T, P, Q > > state, int N5_, const multi1d< Real > &coeffs_) |
Creation routine. More... | |
int | size () const |
Expected length of array index. More... | |
~SSEWilsonDslashArray () | |
No real need for cleanup here. More... | |
void | apply (multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign, int cb) const |
General Wilson-Dirac dslash. 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::WilsonDslashBaseArray | |
virtual | ~WilsonDslashBaseArray () |
No real need for cleanup here. More... | |
const Subset & | subset () const |
Subset is all here. More... | |
virtual void | deriv (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
Take deriv of D. More... | |
virtual void | deriv (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign, int cb) 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::DslashLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > | |
virtual | ~DslashLinearOperatorArray () |
Virtual destructor to help in cleanup. More... | |
virtual void | operator() (multi1d< LatticeFermion > &d, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
Apply operator on both checkerboards (entire lattice) More... | |
Public Member Functions inherited from Chroma::DiffLinearOperatorArray< T, P, Q > | |
virtual | ~DiffLinearOperatorArray () |
Virtual destructor to help with cleanup;. More... | |
virtual void | deriv (P &ds_u, const multi1d< T > &chi, const multi1d< 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::LinearOperatorArray< T > | |
virtual | ~LinearOperatorArray () |
Virtual destructor to help with cleanup;. More... | |
virtual void | operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, Real epsilon) const |
Apply the operator onto a source std::vector to some precision. More... | |
Protected Member Functions | |
void | init () |
Init internals. More... | |
const multi1d< Real > & | getCoeffs () const |
Get the anisotropy parameters. More... | |
Private Attributes | |
multi1d< Real > | coeffs |
multi1d< PrimitiveSU3Matrix > | packed_gauge |
int | N5 |
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_array_sse_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::SSEWilsonDslashArray::P |
Definition at line 53 of file lwldslash_array_sse_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::SSEWilsonDslashArray::Q |
Definition at line 54 of file lwldslash_array_sse_w.h.
typedef LatticeFermion Chroma::SSEWilsonDslashArray::T |
Definition at line 52 of file lwldslash_array_sse_w.h.
Chroma::SSEWilsonDslashArray::SSEWilsonDslashArray | ( | ) |
Empty constructor. Must use create later.
Definition at line 34 of file lwldslash_array_sse_w.cc.
References init().
Chroma::SSEWilsonDslashArray::SSEWilsonDslashArray | ( | Handle< FermState< T, P, Q > > | state, |
int | N5_ | ||
) |
Full constructor.
Definition at line 50 of file lwldslash_array_sse_w.cc.
References create(), init(), and Chroma::state.
Chroma::SSEWilsonDslashArray::SSEWilsonDslashArray | ( | Handle< FermState< T, P, Q > > | state, |
int | N5_, | ||
const AnisoParam_t & | aniso_ | ||
) |
Full constructor.
Definition at line 40 of file lwldslash_array_sse_w.cc.
References create(), init(), and Chroma::state.
Chroma::SSEWilsonDslashArray::~SSEWilsonDslashArray | ( | ) |
No real need for cleanup here.
Definition at line 126 of file lwldslash_array_sse_w.cc.
References Chroma::END_CODE(), and Chroma::START_CODE().
Creation routine.
Definition at line 59 of file lwldslash_array_sse_w.cc.
References Nd, and Chroma::state.
Referenced by create(), and SSEWilsonDslashArray().
void Chroma::SSEWilsonDslashArray::create | ( | Handle< FermState< T, P, Q > > | state, |
int | N5_, | ||
const AnisoParam_t & | aniso_ | ||
) |
Creation routine.
Creation routine with anisotropy.
Definition at line 69 of file lwldslash_array_sse_w.cc.
References create(), Chroma::END_CODE(), Chroma::makeFermCoeffs(), Chroma::START_CODE(), and Chroma::state.
void Chroma::SSEWilsonDslashArray::create | ( | Handle< FermState< T, P, Q > > | state, |
int | N5_, | ||
const multi1d< Real > & | coeffs_ | ||
) |
Creation routine.
Definition at line 80 of file lwldslash_array_sse_w.cc.
References coeffs, Chroma::END_CODE(), fbc, mu, N5, Nd, packed_gauge, Chroma::START_CODE(), Chroma::state, and Chroma::u.
|
inlineprotectedvirtual |
Get the anisotropy parameters.
Implements Chroma::WilsonDslashBaseArray.
Definition at line 124 of file lwldslash_array_sse_w.h.
Return the fermion BC object for this linear operator.
Implements Chroma::WilsonDslashBaseArray.
Definition at line 117 of file lwldslash_array_sse_w.h.
Referenced by apply().
|
protected |
Init internals.
Initialization routine.
Definition at line 14 of file lwldslash_array_sse_w.cc.
References Chroma::END_CODE(), and Chroma::START_CODE().
Referenced by SSEWilsonDslashArray().
|
inlinevirtual |
Expected length of array index.
Definition at line 83 of file lwldslash_array_sse_w.h.
References N5.
|
private |
Nd array of coefficients of terms in the action
Definition at line 127 of file lwldslash_array_sse_w.h.
Referenced by create().
Definition at line 130 of file lwldslash_array_sse_w.h.
Referenced by create().
|
private |
Definition at line 129 of file lwldslash_array_sse_w.h.
|
private |
Definition at line 128 of file lwldslash_array_sse_w.h.