18#ifndef SOLVERSETTING_HPP
19#define SOLVERSETTING_HPP
43 data_t
tolerance = std::is_same_v<data_t, float> ? 1E-6f : 1
E-14;
int GMRES(const System *system, Col< data_t > &x, const Col< data_t > &b, SolverSetting< data_t > &setting)
Definition: IterativeSolver.hpp:26
PreconditionerType
Definition: SolverSetting.hpp:34
Precision
Definition: SolverSetting.hpp:23
IterativeSolver
Definition: SolverSetting.hpp:28
A ILU class.
Definition: ILU.hpp:40
A Preconditioner class.
Definition: Preconditioner.hpp:34
Definition: SolverSetting.hpp:40
unsigned iterative_refinement
Definition: SolverSetting.hpp:44
data_t tolerance
Definition: SolverSetting.hpp:43
int restart
Definition: SolverSetting.hpp:41
Precision precision
Definition: SolverSetting.hpp:45
string lis_options
Definition: SolverSetting.hpp:49
int max_iteration
Definition: SolverSetting.hpp:42
PreconditionerType preconditioner_type
Definition: SolverSetting.hpp:47
Preconditioner< data_t > * preconditioner
Definition: SolverSetting.hpp:48
IterativeSolver iterative_solver
Definition: SolverSetting.hpp:46