CHROMA
|
Solve a M*psi=chi linear system using the external QDP multigrid inverter. More...
#include <syssolver_mdagm_qop_mg_w.h>
Public Types | |
typedef LatticeFermion | T |
typedef LatticeColorMatrix | U |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
MdagMSysSolverQOPMG (Handle< LinearOperator< T > > A_, Handle< FermState< T, Q, Q > > state_, const SysSolverQOPMGParams &invParam_) | |
Constructor. More... | |
~MdagMSysSolverQOPMG () | |
Destructor finalizes the QDP environment. More... | |
const Subset & | subset () const |
Return the subset on which the operator acts. More... | |
SystemSolverResults_t | operator() (T &psi, const T &chi) const |
Solver the linear system. More... | |
SystemSolverResults_t | operator() (T &psi, const T &chi, AbsChronologicalPredictor4D< T > &predictor) const |
Solve the linear system. More... | |
Public Member Functions inherited from Chroma::SystemSolver< LatticeFermion > | |
virtual | ~SystemSolver () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
MdagMSysSolverQOPMG () | |
Private Attributes | |
Handle< FermState< T, Q, Q > > | state |
Handle< LinearOperator< T > > | A |
SysSolverQOPMGParams | invParam |
Handle< LinOpSysSolverQOPMG > | Dinv |
Solve a M*psi=chi linear system using the external QDP multigrid inverter.
Definition at line 36 of file syssolver_mdagm_qop_mg_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::MdagMSysSolverQOPMG::Q |
Definition at line 41 of file syssolver_mdagm_qop_mg_w.h.
typedef LatticeFermion Chroma::MdagMSysSolverQOPMG::T |
Definition at line 39 of file syssolver_mdagm_qop_mg_w.h.
typedef LatticeColorMatrix Chroma::MdagMSysSolverQOPMG::U |
Definition at line 40 of file syssolver_mdagm_qop_mg_w.h.
Chroma::MdagMSysSolverQOPMG::MdagMSysSolverQOPMG | ( | Handle< LinearOperator< T > > | A_, |
Handle< FermState< T, Q, Q > > | state_, | ||
const SysSolverQOPMGParams & | invParam_ | ||
) |
Constructor.
A_ | Linear operator ( Read ) |
state_ | The ferm State (Read) |
invParam | inverter parameters ( Read ) |
Definition at line 62 of file syssolver_mdagm_qop_mg_w.cc.
Chroma::MdagMSysSolverQOPMG::~MdagMSysSolverQOPMG | ( | ) |
Destructor finalizes the QDP environment.
Definition at line 73 of file syssolver_mdagm_qop_mg_w.cc.
|
inlineprivate |
Definition at line 73 of file syssolver_mdagm_qop_mg_w.h.
|
virtual |
Solver the linear system.
Solve the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
psi | solution ( Modify ) |
chi | source ( Read ) |
isign | solve with dagger or not |
Implements Chroma::MdagMSystemSolver< LatticeFermion >.
Definition at line 300 of file syssolver_mdagm_qop_mg_w.cc.
References Chroma::chi(), and Chroma::psi.
|
virtual |
Solve the linear system.
psi | solution ( Modify ) |
chi | source ( Read ) |
Implements Chroma::MdagMSystemSolver< LatticeFermion >.
Definition at line 86 of file syssolver_mdagm_qop_mg_w.cc.
References A, bc, Chroma::chi(), Chroma::END_CODE(), invParam, Chroma::SysSolverQOPMGParams::Mass, Chroma::MINUS, Chroma::SystemSolverResults_t::n_count, Nd, Chroma::AbsTwoStepChronologicalPredictor4D< T >::newXVector(), Chroma::AbsTwoStepChronologicalPredictor4D< T >::newYVector(), Chroma::PLUS, Chroma::AbsTwoStepChronologicalPredictor4D< T >::predictX(), Chroma::AbsTwoStepChronologicalPredictor4D< T >::predictY(), Chroma::psi, Chroma::r, Chroma::SysSolverQOPMGParams::RefreshThreshold, Chroma::SystemSolverResults_t::resid, Chroma::SysSolverQOPMGParams::Residual, Chroma::SysSolverQOPMGParams::RsdToleranceFactor, Chroma::START_CODE(), Chroma::SysSolverQOPMGParams::SubspaceId, Chroma::SysSolverQOPMGParams::TerminateOnFail, Chroma::tmp, tmp2, and Chroma::zero.
|
inlinevirtual |
Return the subset on which the operator acts.
Implements Chroma::MdagMSystemSolver< LatticeFermion >.
Definition at line 57 of file syssolver_mdagm_qop_mg_w.h.
References A.
|
private |
Definition at line 75 of file syssolver_mdagm_qop_mg_w.h.
Referenced by operator()(), and subset().
|
private |
Definition at line 79 of file syssolver_mdagm_qop_mg_w.h.
|
private |
Definition at line 76 of file syssolver_mdagm_qop_mg_w.h.
Referenced by operator()().
Definition at line 74 of file syssolver_mdagm_qop_mg_w.h.