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

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

#include <syssolver_linop_bicgstab.h>

Inheritance diagram for Chroma::LinOpSysSolverBiCGStab< T >:

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

Public Member Functions

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

 LinOpSysSolverBiCGStab ()

Private Attributes

Handle< LinearOperator< T > > A
SysSolverBiCGStabParams invParam

Detailed Description

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

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

Definition at line 33 of file syssolver_linop_bicgstab.h.


Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 41 of file syssolver_linop_bicgstab.h.

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

Destructor is automatic.

Definition at line 47 of file syssolver_linop_bicgstab.h.

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

Definition at line 97 of file syssolver_linop_bicgstab.h.


Member Function Documentation

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

Definition at line 58 of file syssolver_linop_bicgstab.h.

References Chroma::LinOpSysSolverBiCGStab< T >::A, END_CODE, Chroma::InvBiCGStab(), Chroma::LinOpSysSolverBiCGStab< T >::invParam, Chroma::SysSolverBiCGStabParams::MaxBiCGStab, Chroma::SystemSolverResults_t::n_count, Chroma::PLUS, Chroma::SystemSolverResults_t::resid, Chroma::SysSolverBiCGStabParams::RsdBiCGStab, START_CODE, and T.

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

Return the subset on which the operator acts.

Implements Chroma::SystemSolver< T >.

Definition at line 50 of file syssolver_linop_bicgstab.h.

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


Member Data Documentation

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

Definition at line 99 of file syssolver_linop_bicgstab.h.

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

template<typename T>
SysSolverBiCGStabParams Chroma::LinOpSysSolverBiCGStab< T >::invParam [private]

Definition at line 100 of file syssolver_linop_bicgstab.h.

Referenced by Chroma::LinOpSysSolverBiCGStab< T >::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