solveur_sys_base
- Inherits from: class_generic
- Defined in: src/Kernel/Math/SolvSys/SolveurSys_base.cpp
- Used by: convection_diffusion_temperature_ft_disc, gcp_ns, ice, implicit_steady, implicite, multigrid_solver, navier_stokes_aposteriori, navier_stokes_ft_disc, navier_stokes_ibm, navier_stokes_ibm_turbulent, navier_stokes_phase_field, navier_stokes_qc, navier_stokes_standard, navier_stokes_standard_sensibility, navier_stokes_turbulent, navier_stokes_turbulent_qc, navier_stokes_wc, newmark, op_implicite, parametre_diffusion_implicite, parametre_implicite, piso, precondsolv, qdm_multiphase, sets, simple, simpler, solveur_lineaire_std, solveur_u_p, test_solveur
Basic class to solve the linear system.
Usable keywords (pick one): amg, amgx, cholesky, cudss, gcp_ns, optimal, petsc, petsc_gpu, gcp, gmres
amg
Wrapper for AMG preconditioner-based solver which switch for the best one on CPU/GPU Nvidia/GPU AMD
Parameters:
- solveur (type: string) not_set
- option_solveur (type: bloc_lecture) not_set
cholesky
Cholesky direct method.
Parameters:
- [impr] (type: flag) Keyword which may be used to print the resolution time.
- [quiet] (type: flag) To disable printing of information
optimal
Optimal is a solver which tests several solvers of the previous list to choose the fastest one for the considered linear system.
Parameters:
- seuil (type: float) Convergence threshold
- [impr] (type: flag) To print the convergency of the fastest solver
- [quiet] (type: flag) To disable printing of information
- [save_matrice | save_matrix] (type: flag) To save the linear system (A, x, B) into a file
- [frequence_recalc] (type: int) To set a time step period (by default, 100) for re-checking the fatest solver
- [nom_fichier_solveur] (type: string) To specify the file containing the list of the tested solvers
- [fichier_solveur_non_recree] (type: flag) To avoid the creation of the file containing the list
solv_gmres
Synonyms: gmres
Preconditioned GMRES.
Parameters:
- [diag] (type: flag) Keyword to precondition with the diagonal
- [seuil] (type: float) Value of the final residue. The solver ceases iterations when the Euclidean residue standard ||Ax-B|| is less than this value. default value 1e-12.
- [impr] (type: flag) Keyword which is used to request display of the Euclidean residue standard each time this iterates
- [save_matrice | save_matrix] (type: int) To save the matrix in a file.
- [quiet] (type: flag) To not displaying any outputs of the solver.
- [nb_it_max] (type: int) Keyword to set the maximum iterations number for the solver.
- [controle_residu] (type: int) Keyword of Boolean type (by default 0). If set to 1, check the convergence after solve