suanPan
SolverSetting< data_t > Struct Template Reference

#include <SolverSetting.hpp>

Collaboration diagram for SolverSetting< data_t >:

Public Attributes

int restart = 20
 
int max_iteration = 200
 
data_t tolerance = std::is_same_v<data_t, float> ? 1E-6f : 1E-14
 
unsigned iterative_refinement = 5
 
Precision precision = Precision::FULL
 
IterativeSolver iterative_solver = IterativeSolver::NONE
 
PreconditionerType preconditioner_type = PreconditionerType::JACOBI
 
Preconditioner< data_t > * preconditioner = nullptr
 
string lis_options {}
 

Member Data Documentation

◆ iterative_refinement

template<sp_d data_t>
unsigned SolverSetting< data_t >::iterative_refinement = 5

◆ iterative_solver

template<sp_d data_t>
IterativeSolver SolverSetting< data_t >::iterative_solver = IterativeSolver::NONE

◆ lis_options

template<sp_d data_t>
string SolverSetting< data_t >::lis_options {}

◆ max_iteration

template<sp_d data_t>
int SolverSetting< data_t >::max_iteration = 200

◆ precision

template<sp_d data_t>
Precision SolverSetting< data_t >::precision = Precision::FULL

◆ preconditioner

template<sp_d data_t>
Preconditioner<data_t>* SolverSetting< data_t >::preconditioner = nullptr

◆ preconditioner_type

template<sp_d data_t>
PreconditionerType SolverSetting< data_t >::preconditioner_type = PreconditionerType::JACOBI

◆ restart

template<sp_d data_t>
int SolverSetting< data_t >::restart = 20

◆ tolerance

template<sp_d data_t>
data_t SolverSetting< data_t >::tolerance = std::is_same_v<data_t, float> ? 1E-6f : 1E-14

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