Go to the documentation of this file.
14 #ifndef SOLVER_GMRES_m_CMPLX_INCLUDED
15 #define SOLVER_GMRES_m_CMPLX_INCLUDED
61 std::vector<Field>
m_v;
90 void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond);
92 void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond,
const bool use_init_guess);
96 void set_parameters(
const int Niter,
const int Nrestart,
const double Stop_cond,
const bool use_init_guess,
const int N_M);
100 void solve(
Field& solution,
const Field& source,
int& Nconv,
double& diff);
115 void min_J(std::valarray<dcomplex>& y,
116 std::valarray<dcomplex>& h);
120 return i + (
m_N_M + 1) * j;
136 static bool register_factory()
139 init &= Solver::Factory::Register(
"GMRES_m_Cmplx", create_object);
140 init &= Solver::Factory_params::Register(
"GMRES_m_Cmplx", create_object_with_params);
void solve_step(const Field &, double &)
static const std::string class_name
DEPRECATED void set_parameters_GMRES_m(const int N_M)
Common parameter class: provides parameters as singleton.
GMRES(m) algorithm with complex variables.
void solve_init(const Field &, double &)
void innerprod_c(double &prod_r, double &prod_i, const Field &v, const Field &w)
int index_ij(const int i, const int j)
Solver_GMRES_m_Cmplx(Fopr *fopr, const Parameters ¶ms)
void get_parameters(Parameters ¶ms) const
Base class for linear solver class family.
void reset_field(const Field &)
void min_J(std::valarray< dcomplex > &y, std::valarray< dcomplex > &h)
void solve(Field &solution, const Field &source, int &Nconv, double &diff)
Bridge::VerboseLevel m_vl
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
Solver_GMRES_m_Cmplx(Fopr *fopr)