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

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

#include <syssolver_linop_mr.h>

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

Public Member Functions

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

 LinOpSysSolverMR ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
SysSolverMRParams invParam
 

Detailed Description

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

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

Definition at line 32 of file syssolver_linop_mr.h.

Constructor & Destructor Documentation

◆ LinOpSysSolverMR() [1/2]

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

Constructor.

Parameters
A_Linear operator ( Read )
invParaminverter parameters ( Read )

Definition at line 40 of file syssolver_linop_mr.h.

◆ ~LinOpSysSolverMR()

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

Destructor is automatic.

Definition at line 46 of file syssolver_linop_mr.h.

◆ LinOpSysSolverMR() [2/2]

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

Definition at line 74 of file syssolver_linop_mr.h.

Member Function Documentation

◆ operator()()

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

◆ subset()

template<typename T >
const Subset& Chroma::LinOpSysSolverMR< 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_mr.h.

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

Member Data Documentation

◆ A

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

◆ invParam

template<typename T >
SysSolverMRParams Chroma::LinOpSysSolverMR< T >::invParam
private

Definition at line 77 of file syssolver_linop_mr.h.

Referenced by Chroma::LinOpSysSolverMR< T >::operator()().


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