CHROMA
|
General Wilson-Dirac dslash. More...
#include <lwldslash_base_w.h>
Public Member Functions | |
virtual | ~WilsonDslashBase () |
No real need for cleanup here. More... | |
const Subset & | subset () const |
Subset is all here. More... | |
virtual void | deriv (P &ds_u, const T &chi, const T &psi, enum PlusMinus isign) const |
Take deriv of D. More... | |
virtual void | deriv (P &ds_u, const T &chi, const T &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 const FermBC< T, P, Q > & | getFermBC () const =0 |
Return the fermion BC object for this linear operator. More... | |
virtual void | operator() (T &d, const T &psi, enum PlusMinus isign) const |
Apply operator on both checkerboards (entire lattice) More... | |
virtual void | apply (T &chi, const T &psi, enum PlusMinus isign, int cb) const =0 |
Apply checkerboarded linear operator. 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 | |
virtual const multi1d< Real > & | getCoeffs () const =0 |
Get the anisotropy parameters. More... | |
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 43 of file lwldslash_base_w.h.
|
inlinevirtual |
No real need for cleanup here.
Definition at line 49 of file lwldslash_base_w.h.
|
virtual |
Take deriv of D.
chi | left std::vector (Read) |
psi | right std::vector (Read) |
isign | D'^dag or D' ( MINUS | PLUS ) resp. (Read) |
Reimplemented from Chroma::DslashLinearOperator< T, P, Q >.
Definition at line 113 of file lwldslash_base_w.h.
References Chroma::chi(), deriv(), Chroma::END_CODE(), Chroma::isign, Nd, Chroma::psi, and Chroma::START_CODE().
Referenced by Chroma::EvenOddPrecParWilsonLinOp::derivEvenOddLinOp(), Chroma::EvenOddPrecSLICLinOp::derivEvenOddLinOp(), Chroma::EvenOddPrecParWilsonLinOp::derivOddEvenLinOp(), and Chroma::EvenOddPrecSLICLinOp::derivOddEvenLinOp().
|
virtual |
Take deriv of D.
chi | left std::vector on cb (Read) |
psi | right std::vector on 1-cb (Read) |
isign | D'^dag or D' ( MINUS | PLUS ) resp. (Read) |
cb | Checkerboard of chi std::vector (Read) |
Reimplemented from Chroma::DslashLinearOperator< T, P, Q >.
Definition at line 134 of file lwldslash_base_w.h.
References Chroma::cb, Chroma::chi(), Chroma::END_CODE(), FORWARD, Chroma::isign, Chroma::MINUS, mu, Nd, Chroma::PLUS, Chroma::psi, Chroma::QDP_error_exit(), Chroma::START_CODE(), and Chroma::zero.
|
protectedpure virtual |
Get the anisotropy parameters.
Implemented in Chroma::SSEWilsonDslash, Chroma::PABWilsonDslash, Chroma::CPPWilsonDslashF, Chroma::CPPWilsonDslashD, Chroma::QDPWilsonDslashT< T, P, Q >, Chroma::QDPWilsonDslashOptT< T, P, Q >, and Chroma::LLVMWilsonDslashT< T, P, Q >.
|
virtual |
Return flops performed by the operator()
Reimplemented from Chroma::LinearOperator< T >.
Definition at line 233 of file lwldslash_base_w.h.
Referenced by Chroma::EvenOddPrecDumbCloverFLinOp::nFlops(), Chroma::EvenOddPrecDumbCloverDLinOp::nFlops(), Chroma::EvenOddPrecParWilsonLinOp::nFlops(), and Chroma::EvenOddPrecSLICLinOp::nFlops().
|
inlinevirtual |
Subset is all here.
Implements Chroma::LinearOperator< T >.
Definition at line 52 of file lwldslash_base_w.h.