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

Solve a M*psi=chi linear system by biCG with eigenvectors. More...

#include <syssolver_linop_OPTeigbicg.h>

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

Public Member Functions

void QIOWriteOptEvecs ()
 Write out an OptEigInfo Type
More...
 
void QIOReadOptEvecs ()
 Read a OptEigInfo Type
More...
 
 LinOpSysSolverOptEigBiCG (Handle< LinearOperator< T > > A_, const SysSolverOptEigBiCGParams &invParam_)
 Constructor. More...
 
 ~LinOpSysSolverOptEigBiCG ()
 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...
 
SystemSolverResults_t operator() (LatticeFermionF &psi, const LatticeFermionF &chi) const
 
SystemSolverResults_t operator() (LatticeFermionD &psi, const LatticeFermionD &chi) const
 
- Public Member Functions inherited from Chroma::SystemSolver< T >
virtual ~SystemSolver ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 LinOpSysSolverOptEigBiCG ()
 

Private Attributes

int numMatvecs
 
Handle< LinearOperator< T > > A
 
SysSolverOptEigBiCGParams invParam
 

Detailed Description

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

Solve a M*psi=chi linear system by biCG with eigenvectors.

Definition at line 37 of file syssolver_linop_OPTeigbicg.h.

Constructor & Destructor Documentation

◆ LinOpSysSolverOptEigBiCG() [1/2]

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

◆ ~LinOpSysSolverOptEigBiCG()

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

◆ LinOpSysSolverOptEigBiCG() [2/2]

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

Definition at line 286 of file syssolver_linop_OPTeigbicg.h.

Member Function Documentation

◆ operator()() [1/3]

SystemSolverResults_t Chroma::LinOpSysSolverOptEigBiCG< LatticeFermionD >::operator() ( LatticeFermionD &  psi,
const LatticeFermionD &  chi 
) const

Definition at line 277 of file syssolver_linop_OPTeigbicg.cc.

References Chroma::A(), Chroma::chi(), and Chroma::psi.

◆ operator()() [2/3]

SystemSolverResults_t Chroma::LinOpSysSolverOptEigBiCG< LatticeFermionF >::operator() ( LatticeFermionF &  psi,
const LatticeFermionF &  chi 
) const

Definition at line 269 of file syssolver_linop_OPTeigbicg.cc.

References Chroma::A(), Chroma::chi(), and Chroma::psi.

◆ operator()() [3/3]

template<typename T >
SystemSolverResults_t Chroma::LinOpSysSolverOptEigBiCG< T >::operator() ( T psi,
const T chi 
) const
virtual

Solver the linear system.

Parameters
psisolution ( Modify )
chisource ( Read )
Returns
syssolver results

Definitions supplied in the correspond .cc file

Implements Chroma::SystemSolver< T >.

◆ QIOReadOptEvecs()

template<typename T >
void Chroma::LinOpSysSolverOptEigBiCG< T >::QIOReadOptEvecs ( )
inline

◆ QIOWriteOptEvecs()

template<typename T >
void Chroma::LinOpSysSolverOptEigBiCG< T >::QIOWriteOptEvecs ( )
inline

◆ subset()

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

Member Data Documentation

◆ A

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

◆ invParam

template<typename T >
SysSolverOptEigBiCGParams Chroma::LinOpSysSolverOptEigBiCG< T >::invParam
private

◆ numMatvecs

template<typename T >
int Chroma::LinOpSysSolverOptEigBiCG< T >::numMatvecs
private

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