CHROMA
Public Member Functions | List of all members
Chroma::WilsonTypeFermAct< T, P, Q > Class Template Referenceabstract

Wilson-like fermion actions. More...

#include <fermact.orig.h>

Inheritance diagram for Chroma::WilsonTypeFermAct< T, P, Q >:
Chroma::DiffFermAct4D< T, P, Q > Chroma::DiffFermAct4D< T, P, Q > Chroma::FermAct4D< T, P, Q > Chroma::FermAct4D< T, P, Q > Chroma::FermAct4D< T, P, Q > Chroma::FermAct4D< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::FermionAction< T, P, Q > Chroma::PolyWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::UnprecWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::UnprecWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::EvenOddPrecWilsonTypeFermAct< T, P, Q > Chroma::EvenOddPrecWilsonTypeFermAct< T, P, Q > Chroma::PolyWilsonTypeFermAct< T, P, Q > Chroma::SymEvenOddPrecWilsonTypeFermAct< T, P, Q > Chroma::UnprecWilsonTypeFermAct< T, P, Q > Chroma::UnprecWilsonTypeFermAct< T, P, Q >

Public Member Functions

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 LinearOperator< T > * hermitianLinOp (Handle< FermState< T, P, Q > > state) const =0
 Produce a hermitian version of the linear operator. 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 LinearOperator< T > * hermitianLinOp (Handle< FermState< T, P, Q > > state) const =0
 Produce a hermitian version of the linear operator. 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 DiffLinearOperator< T, Q, P > * linOp (Handle< FermState< T, P, Q > > state) const =0
 Produce a linear operator for this action. More...
 
virtual ~DiffFermAct4D ()
 Virtual destructor to help with cleanup;. More...
 
virtual DiffLinearOperator< T, Q, P > * linOp (Handle< FermState< T, P, Q > > state) const =0
 Produce a linear operator for this action. More...
 
- Public Member Functions inherited from Chroma::FermAct4D< T, P, Q >
virtual ~FermAct4D ()
 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 ~FermAct4D ()
 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< 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 const CreateFermState< T, P, Q > & getCreateState () const =0
 Return the factory object that produces a state. 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 const CreateFermState< T, P, Q > & getCreateState () const =0
 Return the factory object that produces a state. 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...
 

Detailed Description

template<typename T, typename P, typename Q>
class Chroma::WilsonTypeFermAct< T, P, Q >

Wilson-like fermion actions.

Wilson-like fermion actions

Definition at line 343 of file fermact.orig.h.

Constructor & Destructor Documentation

◆ ~WilsonTypeFermAct() [1/2]

template<typename T , typename P , typename Q >
virtual Chroma::WilsonTypeFermAct< T, P, Q >::~WilsonTypeFermAct ( )
inlinevirtual

Virtual destructor to help with cleanup;.

Definition at line 347 of file fermact.orig.h.

◆ ~WilsonTypeFermAct() [2/2]

template<typename T , typename P , typename Q >
virtual Chroma::WilsonTypeFermAct< T, P, Q >::~WilsonTypeFermAct ( )
inlinevirtual

Virtual destructor to help with cleanup;.

Definition at line 27 of file wilstype_fermact_w.h.

Member Function Documentation

◆ hermitianLinOp() [1/2]

template<typename T , typename P , typename Q >
virtual LinearOperator<T>* Chroma::WilsonTypeFermAct< T, P, Q >::hermitianLinOp ( Handle< FermState< T, P, Q > >  state) const
pure virtual

◆ hermitianLinOp() [2/2]

template<typename T , typename P , typename Q >
virtual LinearOperator<T>* Chroma::WilsonTypeFermAct< T, P, Q >::hermitianLinOp ( Handle< FermState< T, P, Q > >  state) const
pure virtual

◆ invLinOp() [1/3]

LinOpSystemSolver< LF > * Chroma::WilsonTypeFermAct< LF, LCM, LCM >::invLinOp ( Handle< FermState< LF, LCM, LCM > >  state,
const GroupXML_t invParam 
) const

◆ invLinOp() [2/3]

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

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

Default implementation

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

Reimplemented in Chroma::EvenOddPrecWilsonFermAct, and Chroma::EvenOddPrecWilsonCoarseFineFermAct.

◆ invLinOp() [3/3]

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

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

Default implementation

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

Reimplemented in Chroma::EvenOddPrecWilsonFermAct, and Chroma::EvenOddPrecWilsonCoarseFineFermAct.

◆ invMdagM() [1/3]

MdagMSystemSolver< LF > * Chroma::WilsonTypeFermAct< LF, LCM, LCM >::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.

Definition at line 300 of file quarkprop4_w.cc.

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

◆ invMdagM() [2/3]

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

◆ invMdagM() [3/3]

template<typename T , typename P , typename Q >
virtual MdagMSystemSolver<T>* Chroma::WilsonTypeFermAct< T, P, Q >::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.

Default implementation

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

Reimplemented in Chroma::EvenOddPrecWilsonFermAct, and Chroma::EvenOddPrecWilsonCoarseFineFermAct.

◆ lMdagM() [1/2]

template<typename T , typename P , typename Q >
virtual DiffLinearOperator<T,P,Q>* Chroma::WilsonTypeFermAct< T, P, Q >::lMdagM ( Handle< FermState< T, P, Q > >  state) const
inlinevirtual

◆ lMdagM() [2/2]

template<typename T , typename P , typename Q >
virtual DiffLinearOperator<T,P,Q>* Chroma::WilsonTypeFermAct< T, P, Q >::lMdagM ( Handle< FermState< T, P, Q > >  state) const
inlinevirtual

Produce a linear operator M^dag.M for this action.

Default implementation

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

Reimplemented in Chroma::OverlapFermActBase, Chroma::PolyChebFermAct, and Chroma::OvlapPartFrac4DFermAct.

Definition at line 31 of file wilstype_fermact_w.h.

References Chroma::DiffFermAct4D< T, P, Q >::linOp(), and Chroma::state.

◆ mInvLinOp() [1/2]

LinOpMultiSystemSolver< LF > * Chroma::WilsonTypeFermAct< LF, LCM, LCM >::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.

Definition at line 318 of file quarkprop4_w.cc.

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

◆ mInvLinOp() [2/2]

template<typename T , typename P , typename Q >
virtual LinOpMultiSystemSolver<T>* Chroma::WilsonTypeFermAct< T, P, Q >::mInvLinOp ( Handle< FermState< T, P, Q > >  state,
const GroupXML_t invParam 
) const
virtual

Return a multi-shift linear operator solver for this action to solve (M+shift)*psi=chi.

Default implementation

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

◆ mInvMdagM() [1/3]

MdagMMultiSystemSolver< LF > * Chroma::WilsonTypeFermAct< LF, LCM, LCM >::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.

Definition at line 335 of file quarkprop4_w.cc.

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

◆ mInvMdagM() [2/3]

template<typename T , typename P , typename Q >
virtual MdagMMultiSystemSolver<T>* Chroma::WilsonTypeFermAct< T, P, Q >::mInvMdagM ( Handle< FermState< T, P, Q > >  state,
const GroupXML_t invParam 
) const
virtual

◆ mInvMdagM() [3/3]

template<typename T , typename P , typename Q >
virtual MdagMMultiSystemSolver<T>* Chroma::WilsonTypeFermAct< T, P, Q >::mInvMdagM ( Handle< FermState< T, P, Q > >  state,
const GroupXML_t invParam 
) const
virtual

Return a multi-shift linear operator solver for this action to solve (MdagM+shift)*psi=chi.

Default implementation

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

◆ mInvMdagMAcc() [1/2]

MdagMMultiSystemSolverAccumulate< LF > * Chroma::WilsonTypeFermAct< LF, LCM, LCM >::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.

Definition at line 352 of file quarkprop4_w.cc.

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

◆ mInvMdagMAcc() [2/2]

template<typename T , typename P , typename Q >
virtual MdagMMultiSystemSolverAccumulate<T>* Chroma::WilsonTypeFermAct< T, P, Q >::mInvMdagMAcc ( Handle< FermState< T, P, Q > >  state,
const GroupXML_t invParam 
) const
virtual

◆ quarkProp() [1/3]

void Chroma::WilsonTypeFermAct< LF, LCM, LCM >::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.

This routine is actually generic to all Wilson-like fermions

Parameters
q_solquark propagator ( Write )
q_srcsource ( Read )
invParaminverter parameters ( Read )
ncg_hadnumber of CG iterations ( Write )

Definition at line 228 of file quarkprop4_w.cc.

References Chroma::state.

◆ quarkProp() [2/3]

template<typename T , typename P , typename Q >
virtual void Chroma::WilsonTypeFermAct< T, P, Q >::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
virtual

Given a complete propagator as a source, this does all the inversions needed.

Provides a default version

Parameters
q_solquark propagator ( Write )
q_srcsource ( Read )
xml_outdiagnostic output ( Modify )
stategauge connection state ( Read )
invParaminverter parameters ( Read )
quarkSpinTypecompute only a non-relativistic prop ( Read )
ncg_hadnumber of solver iterations ( Write )

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

◆ quarkProp() [3/3]

template<typename T , typename P , typename Q >
virtual void Chroma::WilsonTypeFermAct< T, P, Q >::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
virtual

Given a complete propagator as a source, this does all the inversions needed.

Provides a default version

Parameters
q_solquark propagator ( Write )
q_srcsource ( Read )
xml_outdiagnostic output ( Modify )
stategauge connection state ( Read )
invParaminverter parameters ( Read )
quarkSpinTypecompute only a non-relativistic prop ( Read )
ncg_hadnumber of solver iterations ( Write )

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


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