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

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

#include <eoprec_wilson_coarse_fine_fermact_w.h>

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

Classes

struct  Param_t
 

Public Types

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

Public Member Functions

 EvenOddPrecWilsonCoarseFineFermAct (Handle< CreateFermState< T, P, Q > > cfs_, const WilsonCoarseFineFermActParams &p)
 General FermBC with Anisotropy. More...
 
 EvenOddPrecWilsonCoarseFineFermAct (const EvenOddPrecWilsonCoarseFineFermAct &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...
 
 ~EvenOddPrecWilsonCoarseFineFermAct ()
 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

void init (const WilsonCoarseFineFermActParams &param_)
 Init params. More...
 
const CreateFermState< T, P, Q > & getCreateState () const
 Return the fermion BC object for this action. More...
 
 EvenOddPrecWilsonCoarseFineFermAct ()
 Partial constructor. More...
 
void operator= (const EvenOddPrecWilsonCoarseFineFermAct &a)
 Assignment. More...
 

Private Attributes

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

Detailed Description

Even-odd preconditioned WilsonCoarseFine fermion action.

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

Definition at line 30 of file eoprec_wilson_coarse_fine_fermact_w.h.

Member Typedef Documentation

◆ P

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

Definition at line 37 of file eoprec_wilson_coarse_fine_fermact_w.h.

◆ Q

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

Definition at line 38 of file eoprec_wilson_coarse_fine_fermact_w.h.

◆ T

Definition at line 36 of file eoprec_wilson_coarse_fine_fermact_w.h.

Constructor & Destructor Documentation

◆ EvenOddPrecWilsonCoarseFineFermAct() [1/3]

Chroma::EvenOddPrecWilsonCoarseFineFermAct::EvenOddPrecWilsonCoarseFineFermAct ( Handle< CreateFermState< T, P, Q > >  cfs_,
const WilsonCoarseFineFermActParams p 
)
inline

General FermBC with Anisotropy.

Definition at line 41 of file eoprec_wilson_coarse_fine_fermact_w.h.

References init(), and Chroma::p.

◆ EvenOddPrecWilsonCoarseFineFermAct() [2/3]

Chroma::EvenOddPrecWilsonCoarseFineFermAct::EvenOddPrecWilsonCoarseFineFermAct ( const EvenOddPrecWilsonCoarseFineFermAct a)
inline

Copy constructor.

Definition at line 46 of file eoprec_wilson_coarse_fine_fermact_w.h.

◆ ~EvenOddPrecWilsonCoarseFineFermAct()

Chroma::EvenOddPrecWilsonCoarseFineFermAct::~EvenOddPrecWilsonCoarseFineFermAct ( )
inline

Destructor is automatic.

Definition at line 67 of file eoprec_wilson_coarse_fine_fermact_w.h.

◆ EvenOddPrecWilsonCoarseFineFermAct() [3/3]

Chroma::EvenOddPrecWilsonCoarseFineFermAct::EvenOddPrecWilsonCoarseFineFermAct ( )
inlineprotected

Partial constructor.

Definition at line 81 of file eoprec_wilson_coarse_fine_fermact_w.h.

Member Function Documentation

◆ getCreateState()

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

Return the fermion BC object for this action.

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

Definition at line 78 of file eoprec_wilson_coarse_fine_fermact_w.h.

References cfs.

◆ getQuarkMass()

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

◆ hermitianLinOp()

LinearOperator<T>* Chroma::EvenOddPrecWilsonCoarseFineFermAct::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 53 of file eoprec_wilson_coarse_fine_fermact_w.h.

References linOp(), and Chroma::state.

◆ init()

void Chroma::EvenOddPrecWilsonCoarseFineFermAct::init ( const WilsonCoarseFineFermActParams param_)
protected

◆ invLinOp()

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

◆ invMdagM()

MdagMSystemSolver< LatticeFermion > * Chroma::EvenOddPrecWilsonCoarseFineFermAct::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 113 of file eoprec_wilson_coarse_fine_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::EvenOddPrecWilsonCoarseFineFermAct::linOp ( Handle< FermState< T, P, Q > >  state) const
virtual

◆ operator=()

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

Assignment.

Definition at line 83 of file eoprec_wilson_coarse_fine_fermact_w.h.

Member Data Documentation

◆ cfs

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

Definition at line 92 of file eoprec_wilson_coarse_fine_fermact_w.h.

Referenced by getCreateState().

◆ param

Param_t Chroma::EvenOddPrecWilsonCoarseFineFermAct::param
private

Definition at line 93 of file eoprec_wilson_coarse_fine_fermact_w.h.

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


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