solver base class
More...
#include <monolish_solver.hpp>
template<typename MATRIX, typename Float>
class monolish::solver::solver< MATRIX, Float >
solver base class
Definition at line 32 of file monolish_solver.hpp.
◆ solver()
template<typename MATRIX , typename Float >
◆ ~solver()
template<typename MATRIX , typename Float >
◆ get_final_iter()
template<typename MATRIX , typename Float >
◆ get_final_residual()
template<typename MATRIX , typename Float >
◆ get_initvec_scheme()
template<typename MATRIX , typename Float >
get handling scheme of initial vector handling
- Returns
- current handling scheme of initial vector
Definition at line 182 of file monolish_solver.hpp.
◆ get_lib()
template<typename MATRIX , typename Float >
◆ get_maxiter()
template<typename MATRIX , typename Float >
◆ get_miniter()
template<typename MATRIX , typename Float >
◆ get_omega()
template<typename MATRIX , typename Float >
get the relaxation coefficient omega for SOR method (Default: 1.9)
- Returns
- The relaxation coefficient of SOR
- Note
- This variable is only used in SOR method
Definition at line 199 of file monolish_solver.hpp.
◆ get_print_rhistory()
template<typename MATRIX , typename Float >
get print rhistory status
- Returns
- print rhistory true/false
Definition at line 176 of file monolish_solver.hpp.
◆ get_reorder()
template<typename MATRIX , typename Float >
0: no ordering 1: symrcm, 2: symamd, 3: csrmetisnd is used to reduce zero fill-in.
- Note
- This variable is only used in sparse QR/Cholesky for GPU
Definition at line 215 of file monolish_solver.hpp.
◆ get_residual()
template<typename MATRIX , typename Float >
◆ get_residual_method()
template<typename MATRIX , typename Float >
get residual method(default=0)
- Returns
- residual method number
Definition at line 170 of file monolish_solver.hpp.
◆ get_singularity()
template<typename MATRIX , typename Float >
-1 if A is symmetric positive definite. default reorder algorithm is csrmetisnd
- Note
- This variable is only used in sparse QR/Cholesky for GPU
Definition at line 223 of file monolish_solver.hpp.
◆ get_tol()
template<typename MATRIX , typename Float >
◆ set_apply_precond()
template<typename MATRIX , typename Float >
template<class PRECOND >
set precondition apply function
- Parameters
-
[in] | p | solver class for precondition |
◆ set_create_precond()
template<typename MATRIX , typename Float >
template<class PRECOND >
set precondition create function
- Parameters
-
[in] | p | solver class for precondition |
◆ set_initvec_scheme()
template<typename MATRIX , typename Float >
◆ set_lib()
template<typename MATRIX , typename Float >
set library option (to change library, monolish, cusolver, etc.)
- Parameters
-
Definition at line 86 of file monolish_solver.hpp.
◆ set_maxiter()
template<typename MATRIX , typename Float >
◆ set_miniter()
template<typename MATRIX , typename Float >
◆ set_omega()
template<typename MATRIX , typename Float >
set the relaxation coefficient omega for SOR method (0 < w < 2, Default: 1.9)
- Parameters
-
- Note
- This variable is only used in SOR method
Definition at line 191 of file monolish_solver.hpp.
◆ set_print_rhistory()
template<typename MATRIX , typename Float >
print rhistory to standart out true/false. (default = false)
- Parameters
-
Definition at line 116 of file monolish_solver.hpp.
◆ set_reorder()
template<typename MATRIX , typename Float >
0: no ordering 1: symrcm, 2: symamd, 3: csrmetisnd is used to reduce zero fill-in.
- Note
- This variable is only used in sparse QR/Cholesky for GPU
Definition at line 207 of file monolish_solver.hpp.
◆ set_residual_method()
template<typename MATRIX , typename Float >
set residual method (default=0)
- Parameters
-
[in] | r | residual method number (0:nrm2) |
Definition at line 110 of file monolish_solver.hpp.
◆ set_rhistory_filename()
template<typename MATRIX , typename Float >
◆ set_tol()
template<typename MATRIX , typename Float >
◆ final_iter
template<typename MATRIX , typename Float >
◆ final_resid
template<typename MATRIX , typename Float >
◆ initvecscheme
template<typename MATRIX , typename Float >
◆ lib
template<typename MATRIX , typename Float >
◆ maxiter
template<typename MATRIX , typename Float >
◆ miniter
template<typename MATRIX , typename Float >
◆ omega
template<typename MATRIX , typename Float >
◆ precond
template<typename MATRIX , typename Float >
◆ print_rhistory
template<typename MATRIX , typename Float >
◆ reorder
template<typename MATRIX , typename Float >
◆ resid_method
template<typename MATRIX , typename Float >
◆ rhistory_file
template<typename MATRIX , typename Float >
◆ rhistory_stream
template<typename MATRIX , typename Float >
◆ singularity
template<typename MATRIX , typename Float >
◆ tol
template<typename MATRIX , typename Float >
The documentation for this class was generated from the following file: