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

Solve a M*psi=chi linear system by CG2. More...

#include <syssolver_linop_cg_timing.h>

Inheritance diagram for Chroma::LinOpSysSolverCGTiming< T >:
Chroma::LinOpSystemSolver< T > Chroma::SystemSolver< T >

Public Member Functions

 LinOpSysSolverCGTiming (Handle< LinearOperator< T > > A_, const SysSolverCGParams &invParam_)
 Constructor. More...
 
 ~LinOpSysSolverCGTiming ()
 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

 LinOpSysSolverCGTiming ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
SysSolverCGParams invParam
 

Detailed Description

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

Solve a M*psi=chi linear system by CG2.

Definition at line 32 of file syssolver_linop_cg_timing.h.

Constructor & Destructor Documentation

◆ LinOpSysSolverCGTiming() [1/2]

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

Constructor.

Parameters
M_Linear operator ( Read )
invParaminverter parameters ( Read )

Definition at line 40 of file syssolver_linop_cg_timing.h.

◆ ~LinOpSysSolverCGTiming()

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

Destructor is automatic.

Definition at line 46 of file syssolver_linop_cg_timing.h.

◆ LinOpSysSolverCGTiming() [2/2]

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

Definition at line 87 of file syssolver_linop_cg_timing.h.

Member Function Documentation

◆ operator()()

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

◆ subset()

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

Return the subset on which the operator acts.

Implements Chroma::SystemSolver< T >.

Definition at line 49 of file syssolver_linop_cg_timing.h.

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

Member Data Documentation

◆ A

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

◆ invParam

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

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