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

Solve a CG2 system. Here, the operator is NOT assumed to be hermitian. More...

#include <syssolver_mdagm_cg_timing.h>

Inheritance diagram for Chroma::MdagMSysSolverCGTimings< T >:
Chroma::MdagMSystemSolver< T > Chroma::SystemSolver< T >

Public Member Functions

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

Private Member Functions

 MdagMSysSolverCGTimings ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
SysSolverCGParams invParam
 

Detailed Description

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

Solve a CG2 system. Here, the operator is NOT assumed to be hermitian.

Definition at line 33 of file syssolver_mdagm_cg_timing.h.

Constructor & Destructor Documentation

◆ MdagMSysSolverCGTimings() [1/2]

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

Constructor.

Parameters
M_Linear operator ( Read )
invParaminverter parameters ( Read )

Definition at line 41 of file syssolver_mdagm_cg_timing.h.

◆ ~MdagMSysSolverCGTimings()

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

Destructor is automatic.

Definition at line 47 of file syssolver_mdagm_cg_timing.h.

◆ MdagMSysSolverCGTimings() [2/2]

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

Definition at line 111 of file syssolver_mdagm_cg_timing.h.

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

template<typename T >
SystemSolverResults_t Chroma::MdagMSysSolverCGTimings< T >::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< T >.

Definition at line 87 of file syssolver_mdagm_cg_timing.h.

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

◆ subset()

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

Return the subset on which the operator acts.

Implements Chroma::MdagMSystemSolver< T >.

Definition at line 50 of file syssolver_mdagm_cg_timing.h.

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

Member Data Documentation

◆ A

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

◆ invParam

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

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