CHROMA
|
Even-odd preconditioned Twisted-mass linop where each flavor is one of two array elements. More...
#include <eoprec_twm_linop_array_w.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
EvenOddPrecTwmLinOpArray () | |
Partial constructor. More... | |
EvenOddPrecTwmLinOpArray (Handle< FermState< T, P, Q > > fs, const Real &Mass_, const Real &mu_sigma_, const Real &mu_delta_) | |
Full constructor. More... | |
~EvenOddPrecTwmLinOpArray () | |
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 Real &Mass_, const Real &mu_delta_, const Real &mu_sigma_) |
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 |
Override inherited one with a few more funkies. 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 | 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... | |
![]() | |
virtual | ~EvenOddPrecConstDetLinearOperator () |
Virtual destructor to help with cleanup;. 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 | 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 |
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 | ~EvenOddPrecLinearOperator () |
Virtual destructor to help with cleanup;. More... | |
const Subset & | subset () const |
Only defined on the odd lattice. 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... | |
![]() | |
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... | |
![]() | |
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 | |
Real | fact |
Real | invfact1 |
Real | invfact2 |
Real | Mass |
Real | mu_sigma |
Real | mu_delta |
WilsonDslash | D |
Even-odd preconditioned Twisted-mass linop where each flavor is one of two array elements.
This routine is specific to Wilson fermions!
The kernel for Wilson fermions with a parity breaking term is
M = (d+M) + i*H*gamma_5 - (1/2) D'
Definition at line 25 of file eoprec_twm_linop_array_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::EvenOddPrecTwmLinOpArray::P |
Definition at line 31 of file eoprec_twm_linop_array_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::EvenOddPrecTwmLinOpArray::Q |
Definition at line 32 of file eoprec_twm_linop_array_w.h.
typedef LatticeFermion Chroma::EvenOddPrecTwmLinOpArray::T |
Definition at line 30 of file eoprec_twm_linop_array_w.h.
|
inline |
Partial constructor.
Definition at line 35 of file eoprec_twm_linop_array_w.h.
|
inline |
Destructor is automatic.
Definition at line 43 of file eoprec_twm_linop_array_w.h.
void Chroma::EvenOddPrecTwmLinOpArray::create | ( | Handle< FermState< T, P, Q > > | fs, |
const Real & | Mass_, | ||
const Real & | mu_delta_, | ||
const Real & | mu_sigma_ | ||
) |
Creation routine.
Referenced by EvenOddPrecTwmLinOpArray().
|
inlinevirtual |
Apply the even-even block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecConstDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 78 of file eoprec_twm_linop_array_w.h.
References Nd, and Chroma::zero.
|
virtual |
Apply the the even-odd block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecConstDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
|
virtual |
Apply the the odd-even block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecConstDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
|
inlinevirtual |
Apply the the odd-odd block onto a source std::vector.
Reimplemented from Chroma::EvenOddPrecConstDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 98 of file eoprec_twm_linop_array_w.h.
References Nd, and Chroma::zero.
|
virtual |
Apply the inverse of the even-even block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
|
virtual |
Apply the the even-even block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
|
virtual |
Apply the the even-odd block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
Return the fermion BC object for this linear operator.
Definition at line 46 of file eoprec_twm_linop_array_w.h.
References D, and Chroma::QDPWilsonDslashT< T, P, Q >::getFermBC().
|
virtual |
Return flops performed by the operator()
Reimplemented from Chroma::EvenOddPrecLinearOperator< T, P, Q >.
|
virtual |
Apply the the odd-even block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
|
virtual |
Apply the the odd-odd block onto a source std::vector.
Implements Chroma::EvenOddPrecLinearOperator< T, P, Q >.
|
virtual |
Override inherited one with a few more funkies.
Reimplemented from Chroma::EvenOddPrecLinearOperator< T, P, Q >.
|
private |
Definition at line 117 of file eoprec_twm_linop_array_w.h.
Referenced by getFermBC().
|
private |
Definition at line 110 of file eoprec_twm_linop_array_w.h.
|
private |
Definition at line 111 of file eoprec_twm_linop_array_w.h.
|
private |
Definition at line 112 of file eoprec_twm_linop_array_w.h.
|
private |
Definition at line 114 of file eoprec_twm_linop_array_w.h.
|
private |
Definition at line 116 of file eoprec_twm_linop_array_w.h.
|
private |
Definition at line 115 of file eoprec_twm_linop_array_w.h.