CHROMA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Chroma::PolyPrecSysSolverCG< T > Class Template Reference

Solve a PolyPrec*psi=chi linear system by CG1. More...

#include <syssolver_polyprec_cg.h>

Inheritance diagram for Chroma::PolyPrecSysSolverCG< T >:
Chroma::PolyPrecSystemSolver< T > Chroma::SystemSolver< T >

Public Member Functions

 PolyPrecSysSolverCG (Handle< LinearOperator< T > > A_, const SysSolverCGParams &invParam_)
 Constructor. More...
 
 ~PolyPrecSysSolverCG ()
 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< T >
virtual ~SystemSolver ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 PolyPrecSysSolverCG ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
SysSolverCGParams invParam
 

Detailed Description

template<typename T>
class Chroma::PolyPrecSysSolverCG< T >

Solve a PolyPrec*psi=chi linear system by CG1.

Definition at line 32 of file syssolver_polyprec_cg.h.

Constructor & Destructor Documentation

◆ PolyPrecSysSolverCG() [1/2]

template<typename T >
Chroma::PolyPrecSysSolverCG< T >::PolyPrecSysSolverCG ( Handle< LinearOperator< T > >  A_,
const SysSolverCGParams invParam_ 
)
inline

Constructor.

Parameters
M_Linear operator ( Read )
invParaminverter parameters ( Read )

Definition at line 40 of file syssolver_polyprec_cg.h.

◆ ~PolyPrecSysSolverCG()

template<typename T >
Chroma::PolyPrecSysSolverCG< T >::~PolyPrecSysSolverCG ( )
inline

Destructor is automatic.

Definition at line 46 of file syssolver_polyprec_cg.h.

◆ PolyPrecSysSolverCG() [2/2]

template<typename T >
Chroma::PolyPrecSysSolverCG< T >::PolyPrecSysSolverCG ( )
inlineprivate

Definition at line 74 of file syssolver_polyprec_cg.h.

Member Function Documentation

◆ operator()()

template<typename T >
SystemSolverResults_t Chroma::PolyPrecSysSolverCG< T >::operator() ( T psi,
const T chi 
) const
inlinevirtual

◆ subset()

template<typename T >
const Subset& Chroma::PolyPrecSysSolverCG< T >::subset ( void  ) const
inlinevirtual

Return the subset on which the operator acts.

Implements Chroma::SystemSolver< T >.

Definition at line 49 of file syssolver_polyprec_cg.h.

References Chroma::PolyPrecSysSolverCG< T >::A.

Member Data Documentation

◆ A

template<typename T >
Handle< LinearOperator<T> > Chroma::PolyPrecSysSolverCG< T >::A
private

◆ invParam

template<typename T >
SysSolverCGParams Chroma::PolyPrecSysSolverCG< T >::invParam
private

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