Chroma::LinOpSysSolverReliableCGClover Class Reference
[Inverters]

Solve a system using Richardson iteration. More...

#include <syssolver_linop_rel_cg_clover.h>

Inheritance diagram for Chroma::LinOpSysSolverReliableCGClover:

Chroma::LinOpSystemSolver< LatticeFermion > Chroma::SystemSolver< LatticeFermion > List of all members.

Public Types

typedef LatticeFermion T
typedef LatticeColorMatrix U
typedef multi1d< LatticeColorMatrix > Q
typedef LatticeFermionF TF
typedef LatticeColorMatrixF UF
typedef multi1d< LatticeColorMatrixF > QF
typedef LatticeFermionD TD
typedef LatticeColorMatrixD UD
typedef multi1d< LatticeColorMatrixD > QD

Public Member Functions

 LinOpSysSolverReliableCGClover (Handle< LinearOperator< T > > A_, Handle< FermState< T, Q, Q > > state_, const SysSolverReliableCGCloverParams &invParam_)
 Constructor.
 ~LinOpSysSolverReliableCGClover ()
 Destructor is automatic.
const Subset & subset () const
 Return the subset on which the operator acts.
SystemSolverResults_t operator() (T &psi, const T &chi) const
 Solver the linear system.

Private Member Functions

 LinOpSysSolverReliableCGClover ()

Private Attributes

Handle< LinearOperator< T > > A
const SysSolverReliableCGCloverParams invParam
Handle< FermState< TF, QF,
QF > > 
fstate_single
Handle< FermState< TD, QD,
QD > > 
fstate_double
Handle< LinearOperator< TF > > M_single
Handle< LinearOperator< TD > > M_double

Detailed Description

Solve a system using Richardson iteration.

WARNING THIS SOLVER WORKS FOR CLOVER FERMIONS ONLY ***

Definition at line 43 of file syssolver_linop_rel_cg_clover.h.


Member Typedef Documentation

typedef multi1d<LatticeColorMatrix> Chroma::LinOpSysSolverReliableCGClover::Q

Definition at line 48 of file syssolver_linop_rel_cg_clover.h.

typedef multi1d<LatticeColorMatrixD> Chroma::LinOpSysSolverReliableCGClover::QD

Definition at line 56 of file syssolver_linop_rel_cg_clover.h.

typedef multi1d<LatticeColorMatrixF> Chroma::LinOpSysSolverReliableCGClover::QF

Definition at line 52 of file syssolver_linop_rel_cg_clover.h.

typedef LatticeFermion Chroma::LinOpSysSolverReliableCGClover::T

Definition at line 46 of file syssolver_linop_rel_cg_clover.h.

typedef LatticeFermionD Chroma::LinOpSysSolverReliableCGClover::TD

Definition at line 54 of file syssolver_linop_rel_cg_clover.h.

typedef LatticeFermionF Chroma::LinOpSysSolverReliableCGClover::TF

Definition at line 50 of file syssolver_linop_rel_cg_clover.h.

typedef LatticeColorMatrix Chroma::LinOpSysSolverReliableCGClover::U

Definition at line 47 of file syssolver_linop_rel_cg_clover.h.

typedef LatticeColorMatrixD Chroma::LinOpSysSolverReliableCGClover::UD

Definition at line 55 of file syssolver_linop_rel_cg_clover.h.

typedef LatticeColorMatrixF Chroma::LinOpSysSolverReliableCGClover::UF

Definition at line 51 of file syssolver_linop_rel_cg_clover.h.


Constructor & Destructor Documentation

Chroma::LinOpSysSolverReliableCGClover::LinOpSysSolverReliableCGClover ( Handle< LinearOperator< T > >  A_,
Handle< FermState< T, Q, Q > >  state_,
const SysSolverReliableCGCloverParams invParam_ 
) [inline]

Constructor.

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

Definition at line 63 of file syssolver_linop_rel_cg_clover.h.

References Chroma::SysSolverReliableBiCGStabCloverParams::clovParams, fstate_double, fstate_single, M_double, and M_single.

Chroma::LinOpSysSolverReliableCGClover::~LinOpSysSolverReliableCGClover (  )  [inline]

Destructor is automatic.

Definition at line 95 of file syssolver_linop_rel_cg_clover.h.

Chroma::LinOpSysSolverReliableCGClover::LinOpSysSolverReliableCGClover (  )  [inline, private]

Definition at line 160 of file syssolver_linop_rel_cg_clover.h.


Member Function Documentation

SystemSolverResults_t Chroma::LinOpSysSolverReliableCGClover::operator() ( T psi,
const T chi 
) const [inline, virtual]

Solver the linear system.

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

Implements Chroma::SystemSolver< LatticeFermion >.

Definition at line 106 of file syssolver_linop_rel_cg_clover.h.

References A, Chroma::SysSolverReliableBiCGStabCloverParams::Delta, END_CODE, Chroma::InvCGReliable(), invParam, M_double, M_single, Chroma::SysSolverReliableBiCGStabCloverParams::MaxIter, Chroma::MINUS, Chroma::SystemSolverResults_t::n_count, Chroma::PLUS, Chroma::SystemSolverResults_t::resid, Chroma::SysSolverReliableBiCGStabCloverParams::RsdTarget, and START_CODE.

const Subset& Chroma::LinOpSysSolverReliableCGClover::subset ( void   )  const [inline, virtual]

Return the subset on which the operator acts.

Implements Chroma::SystemSolver< LatticeFermion >.

Definition at line 98 of file syssolver_linop_rel_cg_clover.h.

References A.


Member Data Documentation

Handle< LinearOperator<T> > Chroma::LinOpSysSolverReliableCGClover::A [private]

Definition at line 161 of file syssolver_linop_rel_cg_clover.h.

Referenced by operator()(), and subset().

Handle< FermState<TD, QD, QD> > Chroma::LinOpSysSolverReliableCGClover::fstate_double [private]

Definition at line 166 of file syssolver_linop_rel_cg_clover.h.

Referenced by LinOpSysSolverReliableCGClover().

Handle< FermState<TF, QF, QF> > Chroma::LinOpSysSolverReliableCGClover::fstate_single [private]

Definition at line 165 of file syssolver_linop_rel_cg_clover.h.

Referenced by LinOpSysSolverReliableCGClover().

const SysSolverReliableCGCloverParams Chroma::LinOpSysSolverReliableCGClover::invParam [private]

Definition at line 162 of file syssolver_linop_rel_cg_clover.h.

Referenced by operator()().

Handle< LinearOperator<TD> > Chroma::LinOpSysSolverReliableCGClover::M_double [private]

Definition at line 168 of file syssolver_linop_rel_cg_clover.h.

Referenced by LinOpSysSolverReliableCGClover(), and operator()().

Handle< LinearOperator<TF> > Chroma::LinOpSysSolverReliableCGClover::M_single [private]

Definition at line 167 of file syssolver_linop_rel_cg_clover.h.

Referenced by LinOpSysSolverReliableCGClover(), and operator()().


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 04:40:06 2009 for CHROMA by  doxygen 1.4.7