Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Solver_BiCGStab_Cmplx Class Reference

BiCGStab algorithm with complex variables. More...

#include <solver_BiCGStab_Cmplx.h>

Inheritance diagram for Solver_BiCGStab_Cmplx:
Solver

Public Member Functions

 Solver_BiCGStab_Cmplx (Fopr *fopr)
 
 ~Solver_BiCGStab_Cmplx ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const int Niter, const double Stop_cond)
 
void solve (Field &solution, const Field &source, int &Nconv, double &diff)
 
Foprget_fopr ()
 
- Public Member Functions inherited from Solver
 Solver ()
 
virtual ~Solver ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Solver_BiCGStab_Cmplx"
 

Private Member Functions

void reset_field (const Field &)
 
void solve_init (const Field &, double &)
 
void solve_step (double &)
 

Private Attributes

Foprm_fopr
 
int m_Niter
 
double m_Stop_cond
 
Field s
 
Field r
 
Field x
 
Field rh
 
Field p
 
Field v
 
Field t
 
dcomplex rho_prev
 
dcomplex alpha_prev
 
dcomplex omega_prev
 

Additional Inherited Members

- Protected Attributes inherited from Solver
Bridge::VerboseLevel m_vl
 

Detailed Description

BiCGStab algorithm with complex variables.

This class implements BiCGStab algorithm for nonhermitian matrix. The product of vectors is treated in complex. 12 Feb 2012 Y.Namekawa YAML is implemented. [14 Nov 2012 Y.Namekawa] Multi-threaded. [10 Jul 2014 H.Matsufuru]

Definition at line 42 of file solver_BiCGStab_Cmplx.h.

Constructor & Destructor Documentation

Solver_BiCGStab_Cmplx::Solver_BiCGStab_Cmplx ( Fopr fopr)
inline

Definition at line 56 of file solver_BiCGStab_Cmplx.h.

Solver_BiCGStab_Cmplx::~Solver_BiCGStab_Cmplx ( )
inline

Definition at line 59 of file solver_BiCGStab_Cmplx.h.

Member Function Documentation

Fopr* Solver_BiCGStab_Cmplx::get_fopr ( )
inlinevirtual

Implements Solver.

Definition at line 67 of file solver_BiCGStab_Cmplx.h.

void Solver_BiCGStab_Cmplx::reset_field ( const Field b)
private

Definition at line 203 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::set_parameters ( const Parameters params)
virtual

Implements Solver.

Definition at line 55 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::set_parameters ( const int  Niter,
const double  Stop_cond 
)
virtual

Implements Solver.

Definition at line 80 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::solve ( Field solution,
const Field source,
int &  Nconv,
double &  diff 
)
virtual

Implements Solver.

Definition at line 107 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::solve_init ( const Field b,
double &  rr 
)
private

Definition at line 228 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::solve_step ( double &  rr)
private

Definition at line 255 of file solver_BiCGStab_Cmplx.cpp.

Member Data Documentation

dcomplex Solver_BiCGStab_Cmplx::alpha_prev
private

Definition at line 53 of file solver_BiCGStab_Cmplx.h.

const std::string Solver_BiCGStab_Cmplx::class_name = "Solver_BiCGStab_Cmplx"
static

Definition at line 45 of file solver_BiCGStab_Cmplx.h.

Fopr* Solver_BiCGStab_Cmplx::m_fopr
private

Definition at line 48 of file solver_BiCGStab_Cmplx.h.

int Solver_BiCGStab_Cmplx::m_Niter
private

Definition at line 49 of file solver_BiCGStab_Cmplx.h.

double Solver_BiCGStab_Cmplx::m_Stop_cond
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

dcomplex Solver_BiCGStab_Cmplx::omega_prev
private

Definition at line 53 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::p
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::r
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::rh
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.

dcomplex Solver_BiCGStab_Cmplx::rho_prev
private

Definition at line 53 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::s
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::t
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::v
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::x
private

Definition at line 52 of file solver_BiCGStab_Cmplx.h.


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