CHROMA
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members

Even-odd preconditioned Wilson fermion action with parity breaking term. More...

#include <eoprec_parwilson_fermact_w.h>

Inheritance diagram for Chroma::EvenOddPrecParWilsonFermAct:
Chroma::EvenOddPrecConstDetWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::EvenOddPrecWilsonTypeFermAct< T, P, Q > Chroma::EvenOddPrecWilsonTypeFermAct< T, P, Q > Chroma::WilsonTypeFermAct< T, P, Q > Chroma::WilsonTypeFermAct< T, P, Q > Chroma::WilsonTypeFermAct< T, P, Q > Chroma::WilsonTypeFermAct< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q >

Public Types

typedef LatticeFermion T
 
typedef multi1d< LatticeColorMatrix > P
 
typedef multi1d< LatticeColorMatrix > Q
 

Public Member Functions

 EvenOddPrecParWilsonFermAct (Handle< CreateFermState< T, P, Q > > fs_, const EvenOddPrecParWilsonFermActParams &param_)
 General FermBC. More...
 
 EvenOddPrecParWilsonFermAct (const EvenOddPrecParWilsonFermAct &a)
 Copy constructor. More...
 
EvenOddPrecConstDetLinearOperator< T, P, Q > * linOp (Handle< FermState< T, P, Q > > state) const
 Produce a linear operator for this action. More...
 
LinearOperator< T > * hermitianLinOp (Handle< FermState< T, P, Q > > state) const
 Produce the gamma_5 hermitin op gamma_5 M. More...
 
 ~EvenOddPrecParWilsonFermAct ()
 Destructor is automatic. More...
 
- Public Member Functions inherited from Chroma::EvenOddPrecConstDetWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >
virtual ~EvenOddPrecConstDetWilsonTypeFermAct ()
 Virtual destructor to help with cleanup;. More...
 
virtual ~EvenOddPrecConstDetWilsonTypeFermAct ()
 Virtual destructor to help with cleanup;. More...
 
- Public Member Functions inherited from Chroma::EvenOddPrecWilsonTypeFermAct< T, P, Q >
virtual ~EvenOddPrecWilsonTypeFermAct ()
 Virtual destructor to help with cleanup;. More...
 
virtual SystemSolver< T > * qprop (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return quark prop solver, solution of unpreconditioned system. More...
 
virtual ~EvenOddPrecWilsonTypeFermAct ()
 Virtual destructor to help with cleanup;. More...
 
virtual SystemSolver< T > * qprop (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return quark prop solver, solution of unpreconditioned system. More...
 
SystemSolver< LF > * qprop (Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam) const
 
- Public Member Functions inherited from Chroma::WilsonTypeFermAct< T, P, Q >
virtual ~WilsonTypeFermAct ()
 Virtual destructor to help with cleanup;. More...
 
virtual DiffLinearOperator< T, P, Q > * lMdagM (Handle< FermState< T, P, Q > > state) const
 Produce a linear operator M^dag.M for this action. More...
 
virtual LinOpSystemSolver< T > * invLinOp (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve M*psi=chi. More...
 
virtual MdagMSystemSolver< T > * invMdagM (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve MdagM*psi=chi. More...
 
virtual MdagMMultiSystemSolver< T > * mInvMdagM (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a multi-shift linear operator solver for this action to solve (MdagM+shift)*psi=chi. More...
 
virtual void quarkProp (typename PropTypeTraits< T >::Type_t &q_sol, XMLWriter &xml_out, const typename PropTypeTraits< T >::Type_t &q_src, Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, int &ncg_had) const
 Given a complete propagator as a source, this does all the inversions needed. More...
 
virtual ~WilsonTypeFermAct ()
 Virtual destructor to help with cleanup;. More...
 
virtual DiffLinearOperator< T, P, Q > * lMdagM (Handle< FermState< T, P, Q > > state) const
 Produce a linear operator M^dag.M for this action. More...
 
virtual LinOpSystemSolver< T > * invLinOp (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve M*psi=chi. More...
 
virtual MdagMSystemSolver< T > * invMdagM (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve MdagM*psi=chi. More...
 
virtual LinOpMultiSystemSolver< T > * mInvLinOp (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a multi-shift linear operator solver for this action to solve (M+shift)*psi=chi. More...
 
virtual MdagMMultiSystemSolver< T > * mInvMdagM (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 Return a multi-shift linear operator solver for this action to solve (MdagM+shift)*psi=chi. More...
 
virtual MdagMMultiSystemSolverAccumulate< T > * mInvMdagMAcc (Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
 
virtual void quarkProp (typename PropTypeTraits< T >::Type_t &q_sol, XMLWriter &xml_out, const typename PropTypeTraits< T >::Type_t &q_src, Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, int &ncg_had) const
 Given a complete propagator as a source, this does all the inversions needed. More...
 
void quarkProp (LatticePropagator &q_sol, XMLWriter &xml_out, const LatticePropagator &q_src, Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, int &ncg_had) const
 Given a complete propagator as a source, this does all the inversions needed. More...
 
LinOpSystemSolver< LF > * invLinOp (Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam) const
 
MdagMSystemSolver< LF > * invMdagM (Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve MdagM*psi=chi. More...
 
LinOpMultiSystemSolver< LF > * mInvLinOp (Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve (M+shift_i)*psi_i = chi. More...
 
MdagMMultiSystemSolver< LF > * mInvMdagM (Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve (MdagM+shift_i)*psi_i = chi. More...
 
MdagMMultiSystemSolverAccumulate< LF > * mInvMdagMAcc (Handle< FermState< LF, LCM, LCM > > state, const GroupXML_t &invParam) const
 Return a linear operator solver for this action to solve (MdagM+shift_i)*psi_i = chi. More...
 
- Public Member Functions inherited from Chroma::DiffFermAct4D< T, P, Q >
virtual ~DiffFermAct4D ()
 Virtual destructor to help with cleanup;. More...
 
virtual ~DiffFermAct4D ()
 Virtual destructor to help with cleanup;. More...
 
- Public Member Functions inherited from Chroma::FermAct4D< T, P, Q >
virtual ~FermAct4D ()
 Virtual destructor to help with cleanup;. More...
 
virtual ~FermAct4D ()
 Virtual destructor to help with cleanup;. More...
 
SystemSolver< LatticeFermion > * qprop (Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, const GroupXML_t &invParam) const
 Return quark prop solver, solution of unpreconditioned system. More...
 
SystemSolver< LatticeStaggeredFermion > * qprop (Handle< FermState< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, const GroupXML_t &invParam) const
 
- Public Member Functions inherited from Chroma::FermionAction< T, P, Q >
virtual ~FermionAction ()
 Virtual destructor to help with cleanup;. More...
 
virtual FermState< T, P, Q > * createState (const Q &q) const
 Given links (coordinates Q) create the state needed for the linear operators. More...
 
virtual FermState< T, P, Q > * createState (const Q &q, XMLReader &reader, const std::string &path) const
 Given links (coordinates Q) create a state with additional info held by the XMLReader. More...
 
virtual const FermBC< T, P, Q > & getFermBC () const
 Return the fermion BC object for this action. More...
 
virtual void quarkProp (typename PropTypeTraits< T >::Type_t &q_sol, XMLWriter &xml_out, const typename PropTypeTraits< T >::Type_t &q_src, int t_src, int j_decay, Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, bool obsvP, int &ncg_had) const
 Given a complete propagator as a source, this does all the inversions needed. More...
 
virtual ~FermionAction ()
 Virtual destructor to help with cleanup;. More...
 
virtual FermState< T, P, Q > * createState (const Q &q) const
 Given links (coordinates Q) create the state needed for the linear operators. More...
 
virtual FermState< T, P, Q > * createState (const Q &q, XMLReader &reader, const std::string &path) const
 Given links (coordinates Q) create a state with additional info held by the XMLReader. More...
 
virtual const FermBC< T, P, Q > & getFermBC () const
 Return the fermion BC object for this action. More...
 
virtual void quarkProp (typename PropTypeTraits< T >::Type_t &q_sol, XMLWriter &xml_out, const typename PropTypeTraits< T >::Type_t &q_src, int t_src, int j_decay, Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, bool obsvP, int &ncg_had) const
 Given a complete propagator as a source, this does all the inversions needed. More...
 

Protected Member Functions

const CreateFermState< T, P, Q > & getCreateState () const
 Return the fermion create state for this action. More...
 
 EvenOddPrecParWilsonFermAct ()
 Partial constructor. More...
 
void operator= (const EvenOddPrecParWilsonFermAct &a)
 Hide =. More...
 

Private Attributes

Handle< CreateFermState< T, P, Q > > fs
 
EvenOddPrecParWilsonFermActParams param
 

Detailed Description

Even-odd preconditioned Wilson fermion action with parity breaking term.

Even-odd preconditioned wilson fermion action with parity breaking term Only defined on odd subset.

The kernel for Wilson fermions with a parity breaking term is

 M  =  (d+M) + i*H*gamma_5  - (1/2) D'

Definition at line 47 of file eoprec_parwilson_fermact_w.h.

Member Typedef Documentation

◆ P

typedef multi1d<LatticeColorMatrix> Chroma::EvenOddPrecParWilsonFermAct::P

Definition at line 53 of file eoprec_parwilson_fermact_w.h.

◆ Q

typedef multi1d<LatticeColorMatrix> Chroma::EvenOddPrecParWilsonFermAct::Q

Definition at line 54 of file eoprec_parwilson_fermact_w.h.

◆ T

Definition at line 52 of file eoprec_parwilson_fermact_w.h.

Constructor & Destructor Documentation

◆ EvenOddPrecParWilsonFermAct() [1/3]

Chroma::EvenOddPrecParWilsonFermAct::EvenOddPrecParWilsonFermAct ( Handle< CreateFermState< T, P, Q > >  fs_,
const EvenOddPrecParWilsonFermActParams param_ 
)
inline

General FermBC.

Definition at line 57 of file eoprec_parwilson_fermact_w.h.

◆ EvenOddPrecParWilsonFermAct() [2/3]

Chroma::EvenOddPrecParWilsonFermAct::EvenOddPrecParWilsonFermAct ( const EvenOddPrecParWilsonFermAct a)
inline

Copy constructor.

Definition at line 62 of file eoprec_parwilson_fermact_w.h.

◆ ~EvenOddPrecParWilsonFermAct()

Chroma::EvenOddPrecParWilsonFermAct::~EvenOddPrecParWilsonFermAct ( )
inline

Destructor is automatic.

Definition at line 76 of file eoprec_parwilson_fermact_w.h.

◆ EvenOddPrecParWilsonFermAct() [3/3]

Chroma::EvenOddPrecParWilsonFermAct::EvenOddPrecParWilsonFermAct ( )
inlineprotected

Partial constructor.

Definition at line 83 of file eoprec_parwilson_fermact_w.h.

Member Function Documentation

◆ getCreateState()

const CreateFermState<T,P,Q>& Chroma::EvenOddPrecParWilsonFermAct::getCreateState ( ) const
inlineprotectedvirtual

Return the fermion create state for this action.

Implements Chroma::FermionAction< T, P, Q >.

Definition at line 80 of file eoprec_parwilson_fermact_w.h.

References fs.

◆ hermitianLinOp()

LinearOperator<T>* Chroma::EvenOddPrecParWilsonFermAct::hermitianLinOp ( Handle< FermState< T, P, Q > >  state) const
inlinevirtual

Produce the gamma_5 hermitin op gamma_5 M.

Implements Chroma::WilsonTypeFermAct< T, P, Q >.

Definition at line 69 of file eoprec_parwilson_fermact_w.h.

References Chroma::QDP_error_exit().

◆ linOp()

EvenOddPrecConstDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * Chroma::EvenOddPrecParWilsonFermAct::linOp ( Handle< FermState< T, P, Q > >  state) const
virtual

Produce a linear operator for this action.

The operator acts on the odd subset

Parameters
stategauge field (Read)

Implements Chroma::EvenOddPrecConstDetWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.

Definition at line 110 of file eoprec_parwilson_fermact_w.cc.

References Chroma::EvenOddPrecParWilsonFermActParams::H, Chroma::EvenOddPrecParWilsonFermActParams::Mass, param, and Chroma::state.

◆ operator=()

void Chroma::EvenOddPrecParWilsonFermAct::operator= ( const EvenOddPrecParWilsonFermAct a)
inlineprotected

Hide =.

Definition at line 85 of file eoprec_parwilson_fermact_w.h.

Member Data Documentation

◆ fs

Handle< CreateFermState<T,P,Q> > Chroma::EvenOddPrecParWilsonFermAct::fs
private

Definition at line 88 of file eoprec_parwilson_fermact_w.h.

Referenced by getCreateState().

◆ param

EvenOddPrecParWilsonFermActParams Chroma::EvenOddPrecParWilsonFermAct::param
private

Definition at line 89 of file eoprec_parwilson_fermact_w.h.

Referenced by linOp().


The documentation for this class was generated from the following files: