Choral
|
DERIVED TYPE krylov: for the resolution of linear systems More...
Data Types | |
interface | clear |
destructor More... | |
interface | krylov |
The type krylov defines the settings of a linear solver. More... | |
interface | |
print a short description More... | |
interface | solve |
solve More... | |
Functions/Subroutines | |
subroutine | krylov_clear (k) |
Destructor. More... | |
type(krylov) function | krylov_create (type, tol, itMax, restart, verb) |
Constructor for the type krylov More... | |
subroutine | krylov_print (k) |
Print a short description. More... | |
subroutine | solve_start (k) |
Reset krylov parameters before solving. More... | |
subroutine | solve_end (k) |
ends up solving More... | |
subroutine | krylov_solve_raw (x, k, b, A) |
SOLVE : KRYLOV no preconditioning. More... | |
subroutine | krylov_solve_csr (x, k, b, mat) |
SOLVE : KRYLOV no preconditioning. More... | |
subroutine | krylov_solve_pc (x, k, b, A, pc) |
SOLVE : KRYLOV with preconditioning. More... | |
subroutine | krylov_solve_prec (x, k, b, mat, pc) |
KRYLOV with preconditioning defined with a prec type. More... | |
Variables | |
real(dp) | time_start |
real(dp) | time_end |
DERIVED TYPE krylov: for the resolution of linear systems
Choral constants for linear solvers have the form KRY_xxx.
A variable 'kry' with type krylov gathers the settings for a linear solver.
It is constructed e.g. with
A linear problem \( Ax = b \) is solved with
Various calling sequence are available;
see the solve documentation below.
|
private |
Destructor.
Definition at line 155 of file krylov_mod.f90.
|
private |
Constructor for the type krylov
These are optional arguments: default values are set in the type krylov definition.
Definition at line 183 of file krylov_mod.f90.
|
private |
Print a short description.
Definition at line 209 of file krylov_mod.f90.
|
private |
SOLVE : KRYLOV no preconditioning.
csr mat format
Definition at line 298 of file krylov_mod.f90.
|
private |
SOLVE : KRYLOV with preconditioning.
Definition at line 322 of file krylov_mod.f90.
|
private |
KRYLOV with preconditioning defined with a prec type.
Definition at line 351 of file krylov_mod.f90.
|
private |
SOLVE : KRYLOV no preconditioning.
Definition at line 260 of file krylov_mod.f90.
|
private |
ends up solving
Definition at line 241 of file krylov_mod.f90.
|
private |
Reset krylov parameters before solving.
Definition at line 225 of file krylov_mod.f90.
|
private |
Definition at line 146 of file krylov_mod.f90.
|
private |
Definition at line 146 of file krylov_mod.f90.