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

Even-odd preconditioned Wilson fermion action. More...

#include <eoprec_wilson_fermact_w.h>

Inheritance diagram for Chroma::EvenOddPrecWilsonFermAct:
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

 EvenOddPrecWilsonFermAct (Handle< CreateFermState< T, P, Q > > cfs_, const Real &Mass_)
 General FermBC. More...
 
 EvenOddPrecWilsonFermAct (Handle< CreateFermState< T, P, Q > > cfs_, const WilsonFermActParams &param_)
 General FermBC with Anisotropy. More...
 
 EvenOddPrecWilsonFermAct (const EvenOddPrecWilsonFermAct &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 hermitian operator H_w. More...
 
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...
 
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...
 
 ~EvenOddPrecWilsonFermAct ()
 Destructor is automatic. More...
 
Double getQuarkMass (void) const
 
- 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 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 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 BC object for this action. More...
 
 EvenOddPrecWilsonFermAct ()
 Partial constructor. More...
 
void operator= (const EvenOddPrecWilsonFermAct &a)
 Assignment. More...
 

Private Attributes

Handle< CreateFermState< T, P, Q > > cfs
 
WilsonFermActParams param
 

Detailed Description

Even-odd preconditioned Wilson fermion action.

Even-odd preconditioned wilson fermion action. Only defined on odd subset.

Definition at line 30 of file eoprec_wilson_fermact_w.h.

Member Typedef Documentation

◆ P

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

Definition at line 36 of file eoprec_wilson_fermact_w.h.

◆ Q

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

Definition at line 37 of file eoprec_wilson_fermact_w.h.

◆ T

typedef LatticeFermion Chroma::EvenOddPrecWilsonFermAct::T

Definition at line 35 of file eoprec_wilson_fermact_w.h.

Constructor & Destructor Documentation

◆ EvenOddPrecWilsonFermAct() [1/4]

Chroma::EvenOddPrecWilsonFermAct::EvenOddPrecWilsonFermAct ( Handle< CreateFermState< T, P, Q > >  cfs_,
const Real &  Mass_ 
)
inline

General FermBC.

Definition at line 40 of file eoprec_wilson_fermact_w.h.

References Chroma::WilsonFermActParams::Mass, and param.

◆ EvenOddPrecWilsonFermAct() [2/4]

Chroma::EvenOddPrecWilsonFermAct::EvenOddPrecWilsonFermAct ( Handle< CreateFermState< T, P, Q > >  cfs_,
const WilsonFermActParams param_ 
)
inline

General FermBC with Anisotropy.

Definition at line 45 of file eoprec_wilson_fermact_w.h.

◆ EvenOddPrecWilsonFermAct() [3/4]

Chroma::EvenOddPrecWilsonFermAct::EvenOddPrecWilsonFermAct ( const EvenOddPrecWilsonFermAct a)
inline

Copy constructor.

Definition at line 50 of file eoprec_wilson_fermact_w.h.

◆ ~EvenOddPrecWilsonFermAct()

Chroma::EvenOddPrecWilsonFermAct::~EvenOddPrecWilsonFermAct ( )
inline

Destructor is automatic.

Definition at line 71 of file eoprec_wilson_fermact_w.h.

◆ EvenOddPrecWilsonFermAct() [4/4]

Chroma::EvenOddPrecWilsonFermAct::EvenOddPrecWilsonFermAct ( )
inlineprotected

Partial constructor.

Definition at line 82 of file eoprec_wilson_fermact_w.h.

Member Function Documentation

◆ getCreateState()

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

Return the fermion BC object for this action.

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

Definition at line 79 of file eoprec_wilson_fermact_w.h.

References cfs.

◆ getQuarkMass()

Double Chroma::EvenOddPrecWilsonFermAct::getQuarkMass ( void  ) const
inline

Definition at line 73 of file eoprec_wilson_fermact_w.h.

References Chroma::WilsonFermActParams::Mass, and param.

◆ hermitianLinOp()

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

Produce the gamma_5 hermitian operator H_w.

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

Definition at line 57 of file eoprec_wilson_fermact_w.h.

References linOp(), and Chroma::state.

◆ invLinOp()

LinOpSystemSolver< LatticeFermion > * Chroma::EvenOddPrecWilsonFermAct::invLinOp ( Handle< FermState< T, P, Q > >  state,
const GroupXML_t invParam 
) const
virtual

◆ invMdagM()

MdagMSystemSolver< LatticeFermion > * Chroma::EvenOddPrecWilsonFermAct::invMdagM ( Handle< FermState< T, P, Q > >  state,
const GroupXML_t invParam 
) const
virtual

Return a linear operator solver for this action to solve MdagM*psi=chi.

Return a linear operator solver for this action to solve M^dag.M*psi=chi.

Reimplemented from Chroma::WilsonTypeFermAct< T, P, Q >.

Definition at line 96 of file eoprec_wilson_fermact_w.cc.

References Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), linOp(), Chroma::GroupXML_t::path, Chroma::state, and Chroma::GroupXML_t::xml.

◆ linOp()

EvenOddPrecConstDetLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * Chroma::EvenOddPrecWilsonFermAct::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 72 of file eoprec_wilson_fermact_w.cc.

References Chroma::WilsonFermActParams::anisoParam, Chroma::WilsonFermActParams::Mass, param, and Chroma::state.

Referenced by hermitianLinOp(), invLinOp(), invMdagM(), main(), and prec_wilson_dsdu().

◆ operator=()

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

Assignment.

Definition at line 84 of file eoprec_wilson_fermact_w.h.

Member Data Documentation

◆ cfs

Handle< CreateFermState<T,P,Q> > Chroma::EvenOddPrecWilsonFermAct::cfs
private

Definition at line 87 of file eoprec_wilson_fermact_w.h.

Referenced by getCreateState().

◆ param

WilsonFermActParams Chroma::EvenOddPrecWilsonFermAct::param
private

Definition at line 88 of file eoprec_wilson_fermact_w.h.

Referenced by EvenOddPrecWilsonFermAct(), getQuarkMass(), and linOp().


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