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

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

#include <multi_syssolver_mdagm_cg_array.h>

Inheritance diagram for Chroma::MdagMMultiSysSolverCGArray< T >:
Chroma::MdagMMultiSystemSolverArray< T > Chroma::MultiSystemSolverArray< T >

Public Member Functions

 MdagMMultiSysSolverCGArray (Handle< LinearOperatorArray< T > > A_, const MultiSysSolverCGParams &invParam_)
 Constructor. More...
 
 ~MdagMMultiSysSolverCGArray ()
 Destructor is automatic. More...
 
int size () const
 Expected length of array index. More...
 
const Subset & subset () const
 Return the subset on which the operator acts. More...
 
SystemSolverResults_t operator() (multi1d< multi1d< T > > &psi, const multi1d< Real > &shifts, const multi1d< T > &chi) const
 Solver the linear system. More...
 
- Public Member Functions inherited from Chroma::MultiSystemSolverArray< T >
virtual ~MultiSystemSolverArray ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 MdagMMultiSysSolverCGArray ()
 

Private Attributes

Handle< LinearOperatorArray< T > > A
 
MultiSysSolverCGParams invParam
 

Detailed Description

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

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

Definition at line 32 of file multi_syssolver_mdagm_cg_array.h.

Constructor & Destructor Documentation

◆ MdagMMultiSysSolverCGArray() [1/2]

template<typename T >
Chroma::MdagMMultiSysSolverCGArray< T >::MdagMMultiSysSolverCGArray ( Handle< LinearOperatorArray< T > >  A_,
const MultiSysSolverCGParams invParam_ 
)
inline

Constructor.

Parameters
M_Linear operator ( Read )
invParaminverter parameters ( Read )

Definition at line 40 of file multi_syssolver_mdagm_cg_array.h.

◆ ~MdagMMultiSysSolverCGArray()

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

Destructor is automatic.

Definition at line 46 of file multi_syssolver_mdagm_cg_array.h.

◆ MdagMMultiSysSolverCGArray() [2/2]

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

Definition at line 92 of file multi_syssolver_mdagm_cg_array.h.

Member Function Documentation

◆ operator()()

template<typename T >
SystemSolverResults_t Chroma::MdagMMultiSysSolverCGArray< T >::operator() ( multi1d< multi1d< T > > &  psi,
const multi1d< Real > &  shifts,
const multi1d< T > &  chi 
) const
inlinevirtual

◆ size()

template<typename T >
int Chroma::MdagMMultiSysSolverCGArray< T >::size ( void  ) const
inlinevirtual

Expected length of array index.

Implements Chroma::MultiSystemSolverArray< T >.

Definition at line 49 of file multi_syssolver_mdagm_cg_array.h.

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

◆ subset()

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

Return the subset on which the operator acts.

Implements Chroma::MultiSystemSolverArray< T >.

Definition at line 52 of file multi_syssolver_mdagm_cg_array.h.

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

Member Data Documentation

◆ A

template<typename T >
Handle< LinearOperatorArray<T> > Chroma::MdagMMultiSysSolverCGArray< T >::A
private

◆ invParam

template<typename T >
MultiSysSolverCGParams Chroma::MdagMMultiSysSolverCGArray< T >::invParam
private

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