CHROMA
|
QPROP for wrapping CPS asqtad QPROP. More...
#include <asqtad_cps_wrapper_qprop.h>
Public Types | |
typedef LatticeStaggeredFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
AsqtadCPSWrapperQprop (const EvenOddStaggeredTypeFermAct< T, P, Q > &S_, Handle< FermState< T, P, Q > > state, const SysSolverCGParams &invParam_) | |
Constructor. More... | |
~AsqtadCPSWrapperQprop () | |
Destructor is automatic. More... | |
const Subset & | subset () const |
Return the subset on which the operator acts. More... | |
SystemSolverResults_t | operator() (LatticeStaggeredFermion &psi, const LatticeStaggeredFermion &chi) const |
Solver the linear system. More... | |
Public Member Functions inherited from Chroma::SystemSolver< LatticeStaggeredFermion > | |
virtual | ~SystemSolver () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
AsqtadCPSWrapperQprop () | |
Private Attributes | |
Real | Mass |
SysSolverCGParams | invParam |
Handle< AsqtadConnectStateBase > | state |
Handle< EvenOddLinearOperator< T, P, Q > > | M |
QPROP for wrapping CPS asqtad QPROP.
Definition at line 31 of file asqtad_cps_wrapper_qprop.h.
typedef multi1d<LatticeColorMatrix> Chroma::AsqtadCPSWrapperQprop::P |
Definition at line 36 of file asqtad_cps_wrapper_qprop.h.
typedef multi1d<LatticeColorMatrix> Chroma::AsqtadCPSWrapperQprop::Q |
Definition at line 37 of file asqtad_cps_wrapper_qprop.h.
typedef LatticeStaggeredFermion Chroma::AsqtadCPSWrapperQprop::T |
Definition at line 35 of file asqtad_cps_wrapper_qprop.h.
Chroma::AsqtadCPSWrapperQprop::AsqtadCPSWrapperQprop | ( | const EvenOddStaggeredTypeFermAct< T, P, Q > & | S_, |
Handle< FermState< T, P, Q > > | state, | ||
const SysSolverCGParams & | invParam_ | ||
) |
Constructor.
Keeping the same interface as for the ordinary staggered qprop...
But the M_ and A_ linop handles are no longer kept (are ignored) – is there a nice way around this ? Perhaps not
Definition at line 340 of file asqtad_cps_wrapper_qprop.cc.
References Chroma::StagPhases::alpha(), Chroma::fla, Chroma::i, Chroma::info, load_qop_asqtad_coeffs(), Nd, QDP_create_gauge_from_chroma(), state, Chroma::u, and u0.
Chroma::AsqtadCPSWrapperQprop::~AsqtadCPSWrapperQprop | ( | ) |
Destructor is automatic.
Destructor may not well be automatic.
Definition at line 424 of file asqtad_cps_wrapper_qprop.cc.
References Chroma::fla.
|
inlineprivate |
Definition at line 70 of file asqtad_cps_wrapper_qprop.h.
|
virtual |
Solver the linear system.
psi | quark propagator ( Modify ) |
chi | source ( Read ) |
Implements Chroma::SystemSolver< LatticeStaggeredFermion >.
Definition at line 431 of file asqtad_cps_wrapper_qprop.cc.
References convert_chroma_to_qdp(), convert_qdp_to_chroma(), Chroma::fla, Chroma::in, Chroma::info, invParam, Mass, Chroma::mass, Chroma::SysSolverCGParams::MaxCG, Chroma::SysSolverCGParams::MaxCGRestart, Chroma::SystemSolverResults_t::n_count, Chroma::out, Chroma::PLUS, Chroma::psi, Chroma::r, Chroma::SystemSolverResults_t::resid, and Chroma::SysSolverCGParams::RsdCG.
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::SystemSolver< LatticeStaggeredFermion >.
Definition at line 57 of file asqtad_cps_wrapper_qprop.h.
|
private |
Definition at line 73 of file asqtad_cps_wrapper_qprop.h.
Referenced by operator()().
|
private |
Definition at line 77 of file asqtad_cps_wrapper_qprop.h.
|
private |
Definition at line 72 of file asqtad_cps_wrapper_qprop.h.
Referenced by operator()().
|
private |
Definition at line 75 of file asqtad_cps_wrapper_qprop.h.
Referenced by AsqtadCPSWrapperQprop().