CHROMA
|
Unpreconditioned Wilson fermion action. More...
#include <unprec_wilson_fermact_w.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
UnprecWilsonFermAct (Handle< CreateFermState< T, P, Q > > cfs_, const Real &Mass_) | |
General FermBC. More... | |
UnprecWilsonFermAct (Handle< CreateFermState< T, P, Q > > cfs_, const WilsonFermActParams ¶m_) | |
General FermBC. More... | |
UnprecWilsonFermAct (const UnprecWilsonFermAct &a) | |
Copy constructor. More... | |
UnprecWilsonFermAct & | operator= (const UnprecWilsonFermAct &a) |
Assignment. More... | |
UnprecLinearOperator< 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... | |
~UnprecWilsonFermAct () | |
Destructor is automatic. More... | |
Public Member Functions inherited from Chroma::UnprecWilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > | |
virtual | ~UnprecWilsonTypeFermAct () |
Virtual destructor to help with cleanup;. More... | |
virtual | ~UnprecWilsonTypeFermAct () |
Virtual destructor to help with cleanup;. More... | |
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 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 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 object for this action. More... | |
Private Member Functions | |
UnprecWilsonFermAct () | |
Private Attributes | |
Handle< CreateFermState< T, P, Q > > | cfs |
WilsonFermActParams | param |
Unpreconditioned Wilson fermion action.
Supports creation and application for fermion actions
Definition at line 30 of file unprec_wilson_fermact_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::UnprecWilsonFermAct::P |
Definition at line 36 of file unprec_wilson_fermact_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::UnprecWilsonFermAct::Q |
Definition at line 37 of file unprec_wilson_fermact_w.h.
typedef LatticeFermion Chroma::UnprecWilsonFermAct::T |
Definition at line 35 of file unprec_wilson_fermact_w.h.
|
inline |
General FermBC.
Definition at line 40 of file unprec_wilson_fermact_w.h.
References Chroma::WilsonFermActParams::Mass, and param.
|
inline |
General FermBC.
Definition at line 45 of file unprec_wilson_fermact_w.h.
|
inline |
Copy constructor.
Definition at line 50 of file unprec_wilson_fermact_w.h.
|
inline |
Destructor is automatic.
Definition at line 67 of file unprec_wilson_fermact_w.h.
|
inlineprivate |
Definition at line 74 of file unprec_wilson_fermact_w.h.
|
inlineprotectedvirtual |
Return the fermion create state object for this action.
Implements Chroma::FermionAction< T, P, Q >.
Definition at line 71 of file unprec_wilson_fermact_w.h.
References cfs.
|
inlinevirtual |
Produce the gamma_5 hermitian operator H_w.
Implements Chroma::WilsonTypeFermAct< T, P, Q >.
Definition at line 61 of file unprec_wilson_fermact_w.h.
References linOp(), and Chroma::state.
Referenced by main().
|
virtual |
Produce a linear operator for this action.
The operator acts on the entire lattice
state | gauge field (Read) |
Definition at line 70 of file unprec_wilson_fermact_w.cc.
References Chroma::WilsonFermActParams::anisoParam, Chroma::WilsonFermActParams::Mass, param, and Chroma::state.
Referenced by hermitianLinOp(), main(), readEigenVecs(), and wilson_dsdu().
|
inline |
Assignment.
Definition at line 54 of file unprec_wilson_fermact_w.h.
|
private |
Definition at line 77 of file unprec_wilson_fermact_w.h.
Referenced by getCreateState(), and operator=().
|
private |
Definition at line 78 of file unprec_wilson_fermact_w.h.
Referenced by linOp(), operator=(), and UnprecWilsonFermAct().