CHROMA
|
Klein-Gordon boson action. More...
#include <klein_gordon_fermact_s.h>
Public Types | |
typedef LatticeStaggeredFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
KleinGordonFermAct (Handle< CreateFermState< T, P, Q > > cfs_, const KleinGordonFermActParams &p) | |
General CreateFermState. More... | |
KleinGordonFermAct (const KleinGordonFermAct &a) | |
Copy constructor. More... | |
FermState< T, P, Q > * | createState (const Q &u_) const |
Create state should apply the BC. More... | |
const FermBC< T, P, Q > & | getFermBC () const |
Return the fermion BC object for this action. More... | |
UnprecLinearOperator< T, P, Q > * | linOp (Handle< FermState< T, P, Q > > state_) const |
Produce a linear operator for this action. More... | |
DiffLinearOperator< T, P, Q > * | lMdagM (Handle< FermState< T, P, Q > > state_) const |
Produce a linear operator M^dag.M for this action. More... | |
const Real | getQuarkMass () const |
Return a linear operator solver for this action to solve MdagM*psi=chi. More... | |
~KleinGordonFermAct () | |
Destructor is automatic. More... | |
![]() | |
virtual | ~UnprecStaggeredTypeFermAct () |
Virtual destructor to help with cleanup;. More... | |
virtual | ~UnprecStaggeredTypeFermAct () |
Virtual destructor to help with cleanup;. More... | |
![]() | |
virtual | ~StaggeredTypeFermAct () |
Virtual destructor to help with cleanup;. 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 | ~StaggeredTypeFermAct () |
Virtual destructor to help with cleanup;. 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 |
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... | |
void | quarkProp (LatticeStaggeredPropagator &q_sol, XMLWriter &xml_out, const LatticeStaggeredPropagator &q_src, Handle< FermState< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > 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... | |
![]() | |
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 DiffLinearOperator< T, Q, P > * | lMdagM (Handle< FermState< T, P, Q > > state) const =0 |
Produce a linear operator M^dag.M 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... | |
virtual DiffLinearOperator< T, Q, P > * | lMdagM (Handle< FermState< T, P, Q > > state) const =0 |
Produce a linear operator M^dag.M for this action. 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... | |
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 |
![]() | |
virtual | ~FermionAction () |
Virtual destructor to help with cleanup;. 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 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, XMLReader &reader, const std::string &path) const |
Given links (coordinates Q) create a state with additional info held by the XMLReader. 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... | |
Private Member Functions | |
KleinGordonFermAct () | |
void | operator= (const KleinGordonFermAct &a) |
Private Attributes | |
Handle< CreateFermState< T, P, Q > > | cfs |
KleinGordonFermActParams | param |
Klein-Gordon boson action.
Definition at line 45 of file klein_gordon_fermact_s.h.
typedef multi1d<LatticeColorMatrix> Chroma::KleinGordonFermAct::P |
Definition at line 51 of file klein_gordon_fermact_s.h.
typedef multi1d<LatticeColorMatrix> Chroma::KleinGordonFermAct::Q |
Definition at line 52 of file klein_gordon_fermact_s.h.
typedef LatticeStaggeredFermion Chroma::KleinGordonFermAct::T |
Definition at line 50 of file klein_gordon_fermact_s.h.
|
inline |
General CreateFermState.
Definition at line 55 of file klein_gordon_fermact_s.h.
|
inline |
Copy constructor.
Definition at line 60 of file klein_gordon_fermact_s.h.
|
inline |
Destructor is automatic.
Definition at line 93 of file klein_gordon_fermact_s.h.
|
inlineprivate |
Definition at line 100 of file klein_gordon_fermact_s.h.
|
virtual |
Create state should apply the BC.
Create a state – this multiplies in the K-S phases computes the fat and triple links etc.
Reimplemented from Chroma::FermionAction< T, P, Q >.
Definition at line 100 of file klein_gordon_fermact_s.cc.
References getCreateState().
|
inlineprotectedvirtual |
Return the fermion BC object for this action.
Implements Chroma::FermionAction< T, P, Q >.
Definition at line 97 of file klein_gordon_fermact_s.h.
References cfs.
Referenced by createState().
Return the fermion BC object for this action.
Reimplemented from Chroma::FermionAction< T, P, Q >.
Definition at line 67 of file klein_gordon_fermact_s.h.
References cfs.
|
inlinevirtual |
Return a linear operator solver for this action to solve MdagM*psi=chi.
Default implementation provided Return a multi-shift linear operator solver for this action to solve (MdagM+shift)*psi=chi Return quark prop solver, solution of unpreconditioned system
This is already supplied in chroma/lib/actions/ferm/qprop/fermact_qprop.cc accessors
Implements Chroma::StaggeredTypeFermAct< T, P, Q >.
Definition at line 90 of file klein_gordon_fermact_s.h.
References Chroma::KleinGordonFermActParams::Mass, and param.
|
virtual |
Produce a linear operator for this action.
Definition at line 110 of file klein_gordon_fermact_s.cc.
References Chroma::KleinGordonFermActParams::anisoParam, Chroma::KleinGordonFermActParams::Mass, param, and Chroma::state.
Referenced by lMdagM().
DiffLinearOperator< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * Chroma::KleinGordonFermAct::lMdagM | ( | Handle< FermState< T, P, Q > > | state_ | ) | const |
Produce a linear operator M^dag.M for this action.
Definition at line 120 of file klein_gordon_fermact_s.cc.
References linOp(), and Chroma::state.
|
inlineprivate |
Definition at line 101 of file klein_gordon_fermact_s.h.
|
private |
Definition at line 104 of file klein_gordon_fermact_s.h.
Referenced by getCreateState(), and getFermBC().
|
private |
Definition at line 105 of file klein_gordon_fermact_s.h.
Referenced by getQuarkMass(), and linOp().