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

Solve a system using Richardson iteration. More...

#include <syssolver_mdagm_richardson_multiprec_clover.h>

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

Public Types

typedef LatticeFermion T
 
typedef LatticeColorMatrix U
 
typedef multi1d< LatticeColorMatrix > Q
 
typedef LatticeFermionF TF
 
typedef LatticeColorMatrixF UF
 
typedef multi1d< LatticeColorMatrixF > QF
 
typedef LatticeFermionD TD
 
typedef LatticeColorMatrixD UD
 
typedef multi1d< LatticeColorMatrixD > QD
 

Public Member Functions

 MdagMSysSolverRichardsonClover (Handle< LinearOperator< T > > A_, Handle< FermState< T, Q, Q > > state_, const SysSolverRichardsonCloverParams &invParam_)
 Constructor. More...
 
 ~MdagMSysSolverRichardsonClover ()
 Destructor is automatic. 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 starting with a chrono guess. More...
 
- Public Member Functions inherited from Chroma::SystemSolver< LatticeFermion >
virtual ~SystemSolver ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 MdagMSysSolverRichardsonClover ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
const SysSolverRichardsonCloverParams invParam
 
Handle< FermState< TF, QF, QF > > fstate_single
 
Handle< FermState< TD, QD, QD > > fstate_double
 
Handle< LinearOperator< TF > > M_single
 
Handle< LinearOperator< TD > > M_double
 
Handle< MdagMSystemSolver< TF > > DInv
 

Detailed Description

Solve a system using Richardson iteration.

Definition at line 41 of file syssolver_mdagm_richardson_multiprec_clover.h.

Member Typedef Documentation

◆ Q

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

◆ QD

typedef multi1d<LatticeColorMatrixD> Chroma::MdagMSysSolverRichardsonClover::QD

◆ QF

typedef multi1d<LatticeColorMatrixF> Chroma::MdagMSysSolverRichardsonClover::QF

◆ T

◆ TD

◆ TF

◆ U

typedef LatticeColorMatrix Chroma::MdagMSysSolverRichardsonClover::U

◆ UD

typedef LatticeColorMatrixD Chroma::MdagMSysSolverRichardsonClover::UD

◆ UF

typedef LatticeColorMatrixF Chroma::MdagMSysSolverRichardsonClover::UF

Constructor & Destructor Documentation

◆ MdagMSysSolverRichardsonClover() [1/2]

Chroma::MdagMSysSolverRichardsonClover::MdagMSysSolverRichardsonClover ( Handle< LinearOperator< T > >  A_,
Handle< FermState< T, Q, Q > >  state_,
const SysSolverRichardsonCloverParams invParam_ 
)
inline

◆ ~MdagMSysSolverRichardsonClover()

Chroma::MdagMSysSolverRichardsonClover::~MdagMSysSolverRichardsonClover ( )
inline

Destructor is automatic.

Definition at line 101 of file syssolver_mdagm_richardson_multiprec_clover.h.

◆ MdagMSysSolverRichardsonClover() [2/2]

Chroma::MdagMSysSolverRichardsonClover::MdagMSysSolverRichardsonClover ( )
inlineprivate

Member Function Documentation

◆ operator()() [1/2]

SystemSolverResults_t Chroma::MdagMSysSolverRichardsonClover::operator() ( T psi,
const T chi 
) const
inlinevirtual

◆ operator()() [2/2]

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

Solve the linear system starting with a chrono guess.

Parameters
psisolution (Write)
chisource (Read)
predictora chronological predictor (Read)
Returns
syssolver results

Implements Chroma::MdagMSystemSolver< LatticeFermion >.

Definition at line 160 of file syssolver_mdagm_richardson_multiprec_clover.h.

References A, Chroma::chi(), Chroma::END_CODE(), MdagM, Chroma::AbsChronologicalPredictor4D< T >::newVector(), Chroma::psi, and Chroma::START_CODE().

◆ subset()

const Subset& Chroma::MdagMSysSolverRichardsonClover::subset ( void  ) const
inlinevirtual

Return the subset on which the operator acts.

Implements Chroma::MdagMSystemSolver< LatticeFermion >.

Definition at line 104 of file syssolver_mdagm_richardson_multiprec_clover.h.

References A.

Member Data Documentation

◆ A

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

Definition at line 184 of file syssolver_mdagm_richardson_multiprec_clover.h.

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

◆ DInv

Handle< MdagMSystemSolver< TF > > Chroma::MdagMSysSolverRichardsonClover::DInv
private

◆ fstate_double

Handle< FermState<TD, QD, QD> > Chroma::MdagMSysSolverRichardsonClover::fstate_double
private

◆ fstate_single

Handle< FermState<TF, QF, QF> > Chroma::MdagMSysSolverRichardsonClover::fstate_single
private

◆ invParam

const SysSolverRichardsonCloverParams Chroma::MdagMSysSolverRichardsonClover::invParam
private

Definition at line 185 of file syssolver_mdagm_richardson_multiprec_clover.h.

Referenced by operator()().

◆ M_double

Handle< LinearOperator<TD> > Chroma::MdagMSysSolverRichardsonClover::M_double
private

◆ M_single

Handle< LinearOperator<TF> > Chroma::MdagMSysSolverRichardsonClover::M_single
private

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