CHROMA
|
Even-odd preconditioned SLRC-Dirac operator. More...
#include <eoprec_slrc_linop_w.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
EvenOddPrecSLRCLinOp () | |
Partial constructor. More... | |
EvenOddPrecSLRCLinOp (Handle< FermState< T, P, Q > > fs, const CloverFermActParams ¶m_) | |
Full constructor. More... | |
~EvenOddPrecSLRCLinOp () | |
Destructor is automatic. More... | |
const FermBC< T, P, Q > & | getFermBC () const |
Return the fermion BC object for this linear operator. More... | |
void | create (Handle< FermState< T, P, Q > > fs, const CloverFermActParams ¶m_) |
Creation routine. More... | |
void | evenEvenLinOp (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the even-even block onto a source std::vector. More... | |
void | evenEvenInvLinOp (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the inverse of the even-even block onto a source std::vector. More... | |
void | evenOddLinOp (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the even-odd block onto a source std::vector. More... | |
void | oddEvenLinOp (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the odd-even block onto a source std::vector. More... | |
void | oddOddLinOp (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the odd-odd block onto a source std::vector. More... | |
void | operator() (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply even-odd preconditioned Clover fermion linear operator. More... | |
void | derivEvenEvenLinOp (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the even-even block onto a source std::vector. More... | |
void | derivLogDetEvenEvenLinOp (multi1d< LatticeColorMatrix > &ds_u, enum PlusMinus isign) const |
Apply the even-even block onto a source std::vector. More... | |
void | derivEvenOddLinOp (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the even-odd block onto a source std::vector. More... | |
void | derivOddEvenLinOp (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the odd-even block onto a source std::vector. More... | |
void | derivOddOddLinOp (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the the odd-odd block onto a source std::vector. More... | |
unsigned long | nFlops () const |
Return flops performed by the operator() More... | |
Double | logDetEvenEvenLinOp (void) const |
Get the log det of the even even part. More... | |
Public Member Functions inherited from Chroma::EvenOddPrecLogDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > | |
virtual | ~EvenOddPrecLogDetLinearOperator () |
Virtual destructor to help with cleanup;. More... | |
const Subset & | subset () const |
Only defined on the odd lattice. More... | |
virtual void | deriv (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the derivative of the operator onto a source std::vector. More... | |
virtual void | derivMultipole (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
Apply the derivative of the operator onto a source std::vector. More... | |
virtual void | derivEvenEvenLinOpMP (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
virtual void | derivEvenOddLinOpMP (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
virtual void | derivOddEvenLinOpMP (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
virtual void | derivOddOddLinOpMP (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const |
Public Member Functions inherited from Chroma::EvenOddPrecLinearOperator< T, P, Q > | |
virtual | ~EvenOddPrecLinearOperator () |
Virtual destructor to help with cleanup;. More... | |
virtual void | unprecLinOp (T &chi, const T &psi, enum PlusMinus isign) const |
Apply the UNPRECONDITIONED operator onto a source std::vector. More... | |
virtual void | derivUnprecLinOp (P &ds_u, const T &chi, const T &psi, enum PlusMinus isign) const |
virtual unsigned long | evenEvenNFlops () const |
Return flops performed by the evenEvenLinOp. More... | |
virtual unsigned long | evenOddNFlops () const |
Return flops performed by the evenOddLinOp. More... | |
virtual unsigned long | oddEvenNFlops () const |
Return flops performed by the oddEvenLinOp. More... | |
virtual unsigned long | oddOddNFlops () const |
Return flops performed by the oddOddLinOp. More... | |
virtual unsigned long | evenEvenInvNFlops () const |
Return flops performed by the evenEvenInvLinOp. More... | |
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... | |
Private Attributes | |
Handle< FermState< T, P, Q > > | slrc_fs |
Handle< FermState< T, P, Q > > | thin_fs |
CloverFermActParams | param |
WilsonDslash | D |
CloverTerm | clov |
CloverTerm | invclov |
Even-odd preconditioned SLRC-Dirac operator.
Here, the relevant terms are smeared and the irrelevant terms are not smeared. The kernel for SLRC fermions is
M = A + (d+M) - (1/2) D'
Definition at line 33 of file eoprec_slrc_linop_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::EvenOddPrecSLRCLinOp::P |
Definition at line 39 of file eoprec_slrc_linop_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::EvenOddPrecSLRCLinOp::Q |
Definition at line 40 of file eoprec_slrc_linop_w.h.
typedef LatticeFermion Chroma::EvenOddPrecSLRCLinOp::T |
Definition at line 38 of file eoprec_slrc_linop_w.h.
|
inline |
Partial constructor.
Definition at line 43 of file eoprec_slrc_linop_w.h.
|
inline |
Destructor is automatic.
Definition at line 51 of file eoprec_slrc_linop_w.h.
void Chroma::EvenOddPrecSLRCLinOp::create | ( | Handle< FermState< T, P, Q > > | fs, |
const CloverFermActParams & | param_ | ||
) |
Creation routine.
Creation routine with Anisotropy.
u_ | gauge field (Read) |
param_ | fermion kappa (Read) |
Definition at line 22 of file eoprec_slrc_linop_w.cc.
References END_CODE, Chroma::StoutFermState< T, P, Q >::getThinLinks(), and START_CODE.
Referenced by EvenOddPrecSLRCLinOp().
|
virtual |
Apply the even-even block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecLogDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 151 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::isign, psi, and START_CODE.
|
virtual |
Apply the the even-odd block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecLogDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 178 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::StoutFermState< T, P, Q >::fatForceToThin(), Chroma::isign, mu, Nd, psi, and START_CODE.
|
virtual |
Apply the even-even block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecLogDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 165 of file eoprec_slrc_linop_w.cc.
References END_CODE, Chroma::isign, and START_CODE.
|
virtual |
Apply the the odd-even block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecLogDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 205 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::StoutFermState< T, P, Q >::fatForceToThin(), Chroma::isign, mu, Nd, psi, and START_CODE.
|
virtual |
Apply the the odd-odd block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecLogDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 230 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::isign, Nd, psi, and START_CODE.
|
virtual |
Apply the inverse of the even-even block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 65 of file eoprec_slrc_linop_w.cc.
References chi, Chroma::isign, and psi.
|
virtual |
Apply the the even-even block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 56 of file eoprec_slrc_linop_w.cc.
References chi, Chroma::isign, and psi.
|
virtual |
Apply the the even-odd block onto a source std::vector.
Apply even-odd linop component.
The operator acts on the entire even sublattice
chi | Pseudofermion field (Write) |
psi | Pseudofermion field (Read) |
isign | Flag ( PLUS | MINUS ) (Read) |
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 81 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::isign, psi, and START_CODE.
Return the fermion BC object for this linear operator.
Definition at line 54 of file eoprec_slrc_linop_w.h.
References slrc_fs.
|
virtual |
Get the log det of the even even part.
Definition at line 253 of file eoprec_slrc_linop_w.cc.
|
virtual |
Return flops performed by the operator()
Reimplemented from Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 245 of file eoprec_slrc_linop_w.cc.
|
virtual |
Apply the the odd-even block onto a source std::vector.
Apply odd-even linop component.
The operator acts on the entire odd sublattice
chi | Pseudofermion field (Write) |
psi | Pseudofermion field (Read) |
isign | Flag ( PLUS | MINUS ) (Read) |
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 104 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::isign, psi, and START_CODE.
|
virtual |
Apply the the odd-odd block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 47 of file eoprec_slrc_linop_w.cc.
References chi, Chroma::isign, and psi.
|
virtual |
Apply even-odd preconditioned Clover fermion linear operator.
chi | Pseudofermion field (Write) |
psi | Pseudofermion field (Read) |
isign | Flag ( PLUS | MINUS ) (Read) |
Reimplemented from Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Definition at line 125 of file eoprec_slrc_linop_w.cc.
References chi, END_CODE, Chroma::isign, psi, START_CODE, and tmp2.
|
private |
Definition at line 118 of file eoprec_slrc_linop_w.h.
|
private |
Definition at line 117 of file eoprec_slrc_linop_w.h.
|
private |
Definition at line 119 of file eoprec_slrc_linop_w.h.
|
private |
Definition at line 116 of file eoprec_slrc_linop_w.h.
Definition at line 114 of file eoprec_slrc_linop_w.h.
Referenced by getFermBC().
Definition at line 115 of file eoprec_slrc_linop_w.h.