Bridge++  Ver. 1.1.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)
 

Private Member Functions

void reset_field (const Field &)
 
void solve_init (const Field &, double &)
 
void solve_step (double &)
 
void innerprod_c (double &prod_r, double &prod_i, const Field &v, const Field &w)
 
void mult_c (Field &v, const Field &w, const double &prod_r, const double &prod_i)
 

Private Attributes

Foprm_fopr
 
int m_Niter
 
double m_Stop_cond
 
Field s
 
Field r
 
Field x
 
Field rh
 
Field p
 
Field v
 
Field w
 
dcomplex rho_p
 
dcomplex alpha_p
 
dcomplex omega_p
 

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 matrix is nonsymmetric matrix, and the product of vectors is treated in complex. 12 Feb 2012 Y.Namekawa YAML is implemented. [14 Nov 2012 Y.Namekawa]

Definition at line 43 of file solver_BiCGStab_Cmplx.h.

Constructor & Destructor Documentation

Solver_BiCGStab_Cmplx::Solver_BiCGStab_Cmplx ( Fopr fopr)
inline

Definition at line 54 of file solver_BiCGStab_Cmplx.h.

Solver_BiCGStab_Cmplx::~Solver_BiCGStab_Cmplx ( )
inline

Definition at line 57 of file solver_BiCGStab_Cmplx.h.

Member Function Documentation

Fopr* Solver_BiCGStab_Cmplx::get_fopr ( )
inlinevirtual

Implements Solver.

Definition at line 65 of file solver_BiCGStab_Cmplx.h.

void Solver_BiCGStab_Cmplx::innerprod_c ( double &  prod_r,
double &  prod_i,
const Field v,
const Field w 
)
private

Definition at line 260 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::mult_c ( Field v,
const Field w,
const double &  prod_r,
const double &  prod_i 
)
private

Definition at line 283 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::reset_field ( const Field b)
private

Definition at line 158 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::set_parameters ( const Parameters params)
virtual

Implements Solver.

Definition at line 54 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 79 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 103 of file solver_BiCGStab_Cmplx.cpp.

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

Definition at line 181 of file solver_BiCGStab_Cmplx.cpp.

void Solver_BiCGStab_Cmplx::solve_step ( double &  rr)
private

Definition at line 202 of file solver_BiCGStab_Cmplx.cpp.

Member Data Documentation

dcomplex Solver_BiCGStab_Cmplx::alpha_p
private

Definition at line 51 of file solver_BiCGStab_Cmplx.h.

Fopr* Solver_BiCGStab_Cmplx::m_fopr
private

Definition at line 46 of file solver_BiCGStab_Cmplx.h.

int Solver_BiCGStab_Cmplx::m_Niter
private

Definition at line 47 of file solver_BiCGStab_Cmplx.h.

double Solver_BiCGStab_Cmplx::m_Stop_cond
private

Definition at line 48 of file solver_BiCGStab_Cmplx.h.

dcomplex Solver_BiCGStab_Cmplx::omega_p
private

Definition at line 51 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::p
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::r
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::rh
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

dcomplex Solver_BiCGStab_Cmplx::rho_p
private

Definition at line 51 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::s
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::v
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::w
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.

Field Solver_BiCGStab_Cmplx::x
private

Definition at line 50 of file solver_BiCGStab_Cmplx.h.


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