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

Solve a system using Richardson iteration. More...

#include <syssolver_linop_rel_cg_clover.h>

Inheritance diagram for Chroma::LinOpSysSolverReliableCGClover:
Chroma::LinOpSystemSolver< 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

 LinOpSysSolverReliableCGClover (Handle< LinearOperator< T > > A_, Handle< FermState< T, Q, Q > > state_, const SysSolverReliableCGCloverParams &invParam_)
 Constructor. More...
 
 ~LinOpSysSolverReliableCGClover ()
 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...
 
- Public Member Functions inherited from Chroma::SystemSolver< LatticeFermion >
virtual ~SystemSolver ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 LinOpSysSolverReliableCGClover ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
const SysSolverReliableCGCloverParams 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
 

Detailed Description

Solve a system using Richardson iteration.

WARNING THIS SOLVER WORKS FOR CLOVER FERMIONS ONLY ***

Definition at line 41 of file syssolver_linop_rel_cg_clover.h.

Member Typedef Documentation

◆ Q

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

Definition at line 46 of file syssolver_linop_rel_cg_clover.h.

◆ QD

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

Definition at line 54 of file syssolver_linop_rel_cg_clover.h.

◆ QF

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

Definition at line 50 of file syssolver_linop_rel_cg_clover.h.

◆ T

Definition at line 44 of file syssolver_linop_rel_cg_clover.h.

◆ TD

Definition at line 52 of file syssolver_linop_rel_cg_clover.h.

◆ TF

Definition at line 48 of file syssolver_linop_rel_cg_clover.h.

◆ U

typedef LatticeColorMatrix Chroma::LinOpSysSolverReliableCGClover::U

Definition at line 45 of file syssolver_linop_rel_cg_clover.h.

◆ UD

typedef LatticeColorMatrixD Chroma::LinOpSysSolverReliableCGClover::UD

Definition at line 53 of file syssolver_linop_rel_cg_clover.h.

◆ UF

typedef LatticeColorMatrixF Chroma::LinOpSysSolverReliableCGClover::UF

Definition at line 49 of file syssolver_linop_rel_cg_clover.h.

Constructor & Destructor Documentation

◆ LinOpSysSolverReliableCGClover() [1/2]

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

Constructor.

Parameters
M_Linear operator ( Read )
invParaminverter parameters ( Read )

Definition at line 61 of file syssolver_linop_rel_cg_clover.h.

References Chroma::SysSolverReliableBiCGStabCloverParams::clovParams, fstate_double, fstate_single, M_double, M_single, mu, and Nd.

◆ ~LinOpSysSolverReliableCGClover()

Chroma::LinOpSysSolverReliableCGClover::~LinOpSysSolverReliableCGClover ( )
inline

Destructor is automatic.

Definition at line 93 of file syssolver_linop_rel_cg_clover.h.

◆ LinOpSysSolverReliableCGClover() [2/2]

Chroma::LinOpSysSolverReliableCGClover::LinOpSysSolverReliableCGClover ( )
inlineprivate

Definition at line 157 of file syssolver_linop_rel_cg_clover.h.

Member Function Documentation

◆ operator()()

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

◆ subset()

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

Return the subset on which the operator acts.

Implements Chroma::SystemSolver< LatticeFermion >.

Definition at line 96 of file syssolver_linop_rel_cg_clover.h.

References A.

Member Data Documentation

◆ A

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

Definition at line 158 of file syssolver_linop_rel_cg_clover.h.

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

◆ fstate_double

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

Definition at line 163 of file syssolver_linop_rel_cg_clover.h.

Referenced by LinOpSysSolverReliableCGClover().

◆ fstate_single

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

Definition at line 162 of file syssolver_linop_rel_cg_clover.h.

Referenced by LinOpSysSolverReliableCGClover().

◆ invParam

const SysSolverReliableCGCloverParams Chroma::LinOpSysSolverReliableCGClover::invParam
private

Definition at line 159 of file syssolver_linop_rel_cg_clover.h.

Referenced by operator()().

◆ M_double

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

Definition at line 165 of file syssolver_linop_rel_cg_clover.h.

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

◆ M_single

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

Definition at line 164 of file syssolver_linop_rel_cg_clover.h.

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


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