Chroma::MdagMMultiSysSolverCG< T > Class Template Reference
[Inverters]

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

#include <multi_syssolver_mdagm_cg.h>

Inheritance diagram for Chroma::MdagMMultiSysSolverCG< T >:

Chroma::MdagMMultiSystemSolver< T > Chroma::MultiSystemSolver< T > List of all members.

Public Member Functions

 MdagMMultiSysSolverCG (Handle< LinearOperator< T > > A_, const MultiSysSolverCGParams &invParam_)
 Constructor.
 ~MdagMMultiSysSolverCG ()
 Destructor is automatic.
const Subset & subset () const
 Return the subset on which the operator acts.
SystemSolverResults_t operator() (multi1d< T > &psi, const multi1d< Real > &shifts, const T &chi) const
 Solver the linear system.

Private Member Functions

 MdagMMultiSysSolverCG ()

Private Attributes

Handle< LinearOperator< T > > A
MultiSysSolverCGParams invParam

Detailed Description

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

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

Definition at line 34 of file multi_syssolver_mdagm_cg.h.


Constructor & Destructor Documentation

template<typename T>
Chroma::MdagMMultiSysSolverCG< T >::MdagMMultiSysSolverCG ( Handle< LinearOperator< T > >  A_,
const MultiSysSolverCGParams invParam_ 
) [inline]

Constructor.

Parameters:
M_ Linear operator ( Read )
invParam inverter parameters ( Read )

Definition at line 42 of file multi_syssolver_mdagm_cg.h.

template<typename T>
Chroma::MdagMMultiSysSolverCG< T >::~MdagMMultiSysSolverCG (  )  [inline]

Destructor is automatic.

Definition at line 48 of file multi_syssolver_mdagm_cg.h.

template<typename T>
Chroma::MdagMMultiSysSolverCG< T >::MdagMMultiSysSolverCG (  )  [inline, private]

Definition at line 109 of file multi_syssolver_mdagm_cg.h.


Member Function Documentation

template<typename T>
SystemSolverResults_t Chroma::MdagMMultiSysSolverCG< T >::operator() ( multi1d< T > &  psi,
const multi1d< Real > &  shifts,
const T chi 
) const [inline, virtual]

Solver the linear system.

Parameters:
psi solution ( Modify )
chi source ( Read )
Returns:
syssolver results

Implements Chroma::MultiSystemSolver< T >.

Definition at line 59 of file multi_syssolver_mdagm_cg.h.

References Chroma::MdagMMultiSysSolverCG< T >::A, END_CODE, Chroma::getXMLLogInstance(), Chroma::MdagMMultiSysSolverCG< T >::invParam, Chroma::MultiSysSolverCGParams::MaxCG, Chroma::MINUS, Chroma::MInvCG2(), Chroma::SystemSolverResults_t::n_count, Chroma::PLUS, Chroma::MultiSysSolverCGParams::RsdCG, Chroma::RsdCG, START_CODE, T, and Chroma::write().

template<typename T>
const Subset& Chroma::MdagMMultiSysSolverCG< T >::subset (  )  const [inline, virtual]

Return the subset on which the operator acts.

Implements Chroma::MultiSystemSolver< T >.

Definition at line 51 of file multi_syssolver_mdagm_cg.h.

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


Member Data Documentation

template<typename T>
Handle< LinearOperator<T> > Chroma::MdagMMultiSysSolverCG< T >::A [private]

Definition at line 111 of file multi_syssolver_mdagm_cg.h.

Referenced by Chroma::MdagMMultiSysSolverCG< T >::operator()(), and Chroma::MdagMMultiSysSolverCG< T >::subset().

template<typename T>
MultiSysSolverCGParams Chroma::MdagMMultiSysSolverCG< T >::invParam [private]

Definition at line 112 of file multi_syssolver_mdagm_cg.h.

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


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 04:40:17 2010 for CHROMA by  doxygen 1.4.7