CHROMA
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members

Solve a M*psi=chi linear system using the external QDP multigrid inverter. More...

#include <syssolver_mdagm_qop_mg_w.h>

Inheritance diagram for Chroma::MdagMSysSolverQOPMG:
Chroma::MdagMSystemSolver< LatticeFermion > Chroma::SystemSolver< LatticeFermion >

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< LinOpSysSolverQOPMGDinv
 

Detailed Description

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.

Member Typedef Documentation

◆ Q

typedef multi1d<LatticeColorMatrix> Chroma::MdagMSysSolverQOPMG::Q

Definition at line 41 of file syssolver_mdagm_qop_mg_w.h.

◆ T

typedef LatticeFermion Chroma::MdagMSysSolverQOPMG::T

Definition at line 39 of file syssolver_mdagm_qop_mg_w.h.

◆ U

typedef LatticeColorMatrix Chroma::MdagMSysSolverQOPMG::U

Definition at line 40 of file syssolver_mdagm_qop_mg_w.h.

Constructor & Destructor Documentation

◆ MdagMSysSolverQOPMG() [1/2]

Chroma::MdagMSysSolverQOPMG::MdagMSysSolverQOPMG ( Handle< LinearOperator< T > >  A_,
Handle< FermState< T, Q, Q > >  state_,
const SysSolverQOPMGParams invParam_ 
)

Constructor.

Parameters
A_Linear operator ( Read )
state_The ferm State (Read)
invParaminverter parameters ( Read )

Definition at line 62 of file syssolver_mdagm_qop_mg_w.cc.

◆ ~MdagMSysSolverQOPMG()

Chroma::MdagMSysSolverQOPMG::~MdagMSysSolverQOPMG ( )

Destructor finalizes the QDP environment.

Definition at line 73 of file syssolver_mdagm_qop_mg_w.cc.

◆ MdagMSysSolverQOPMG() [2/2]

Chroma::MdagMSysSolverQOPMG::MdagMSysSolverQOPMG ( )
inlineprivate

Definition at line 73 of file syssolver_mdagm_qop_mg_w.h.

Member Function Documentation

◆ operator()() [1/2]

SystemSolverResults_t Chroma::MdagMSysSolverQOPMG::operator() ( T psi,
const T chi 
) const
virtual

Solver the linear system.

Solve the linear system.

Parameters
psisolution ( Modify )
chisource ( Read )
Returns
syssolver results
Parameters
psisolution ( Modify )
chisource ( Read )
isignsolve with dagger or not
Returns
syssolver results

Implements Chroma::MdagMSystemSolver< LatticeFermion >.

Definition at line 300 of file syssolver_mdagm_qop_mg_w.cc.

References Chroma::chi(), and Chroma::psi.

◆ operator()() [2/2]

SystemSolverResults_t Chroma::MdagMSysSolverQOPMG::operator() ( T psi,
const T chi,
AbsChronologicalPredictor4D< T > &  predictor 
) const
virtual

◆ subset()

const Subset& Chroma::MdagMSysSolverQOPMG::subset ( void  ) const
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.

Member Data Documentation

◆ A

Handle< LinearOperator<T> > Chroma::MdagMSysSolverQOPMG::A
private

Definition at line 75 of file syssolver_mdagm_qop_mg_w.h.

Referenced by operator()(), and subset().

◆ Dinv

Handle< LinOpSysSolverQOPMG> Chroma::MdagMSysSolverQOPMG::Dinv
private

Definition at line 79 of file syssolver_mdagm_qop_mg_w.h.

◆ invParam

SysSolverQOPMGParams Chroma::MdagMSysSolverQOPMG::invParam
private

Definition at line 76 of file syssolver_mdagm_qop_mg_w.h.

Referenced by operator()().

◆ state

Handle< FermState<T,Q,Q> > Chroma::MdagMSysSolverQOPMG::state
private

Definition at line 74 of file syssolver_mdagm_qop_mg_w.h.


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