Bridge++  Ver. 2.0.2
ASolver< AFIELD > Class Template Referenceabstract

#include <asolver.h>

Inheritance diagram for ASolver< AFIELD >:
ASolver_BiCGStab< AFIELD > ASolver_BiCGStab_Cmplx< AFIELD > ASolver_BiCGStab_Precond< AFIELD > ASolver_CG< AFIELD > ASolver_FBiCGStab< AFIELD > ASolver_MG< AFIELD > ASolver_MG_double< AFIELD > ASolver_Richardson< AFIELD > ASolver_SAP< AFIELD > ASolver_SAP_MINRES< AFIELD > ASolver_SAP_QWS< AFIELD >

Public Types

enum  InitialGuess { RHS, GIVEN, ZERO }
 
typedef AFIELD::real_t real_t
 

Public Member Functions

 ASolver ()
 
virtual ~ASolver ()
 
virtual void set_parameters (const Parameters &params)=0
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void set_init_mode (const InitialGuess init_guess)
 
virtual AFopr< AFIELD > * get_fopr ()
 
virtual void solve (AFIELD &x, const AFIELD &b, int &nconv, real_t &diff)
 
virtual double flop_count ()
 

Protected Attributes

Bridge::VerboseLevel m_vl
 

Detailed Description

template<typename AFIELD>
class ASolver< AFIELD >

Definition at line 23 of file asolver.h.

Member Typedef Documentation

◆ real_t

template<typename AFIELD >
typedef AFIELD::real_t ASolver< AFIELD >::real_t

Definition at line 29 of file asolver.h.

Member Enumeration Documentation

◆ InitialGuess

template<typename AFIELD >
enum ASolver::InitialGuess
Enumerator
RHS 
GIVEN 
ZERO 

Definition at line 31 of file asolver.h.

Constructor & Destructor Documentation

◆ ASolver()

template<typename AFIELD >
ASolver< AFIELD >::ASolver ( )
inline

Definition at line 33 of file asolver.h.

◆ ~ASolver()

template<typename AFIELD >
virtual ASolver< AFIELD >::~ASolver ( )
inlinevirtual

Definition at line 36 of file asolver.h.

Member Function Documentation

◆ flop_count()

◆ get_fopr()

◆ set_init_mode()

template<typename AFIELD >
virtual void ASolver< AFIELD >::set_init_mode ( const InitialGuess  init_guess)
inlinevirtual

Definition at line 43 of file asolver.h.

◆ set_parameter_verboselevel()

template<typename AFIELD >
void ASolver< AFIELD >::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
inline

Definition at line 40 of file asolver.h.

◆ set_parameters()

◆ solve()

Member Data Documentation

◆ m_vl

template<typename AFIELD >
Bridge::VerboseLevel ASolver< AFIELD >::m_vl
protected

Definition at line 26 of file asolver.h.


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