1 #ifndef __CS_PARAM_SLES_H__ 2 #define __CS_PARAM_SLES_H__ 117 const char *system_name);
187 #if defined(HAVE_PETSC) 200 cs_param_sles_petsc_cmd(
bool use_prefix,
bool setup_done
Definition: cs_param_sles.h:64
cs_param_sles_t * cs_param_sles_create(int field_id, const char *system_name)
Create a cs_param_sles_t structure and assign a default settings.
Definition: cs_param_sles.c:1735
double eps
Definition: cs_param_sles.h:91
cs_param_precond_type_t precond
Definition: cs_param_sles.h:72
cs_param_precond_block_t pcd_block_type
Definition: cs_param_sles.h:82
void cs_param_sles_copy_from(cs_param_sles_t *src, cs_param_sles_t *dst)
Copy a cs_param_sles_t structure from src to dst.
Definition: cs_param_sles.c:1884
cs_param_resnorm_type_t
Definition: cs_param_types.h:901
cs_param_sles_class_t solver_class
Definition: cs_param_sles.h:71
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
void cs_param_sles_log(cs_param_sles_t *slesp)
Log information related to the linear settings stored in the structure.
Definition: cs_param_sles.c:1806
cs_param_amg_type_t
Definition: cs_param_types.h:562
cs_param_precond_type_t
Definition: cs_param_types.h:763
cs_param_precond_block_t
Definition: cs_param_types.h:688
cs_param_sles_class_t
Class of iterative solvers to consider for solver the linear system.
Definition: cs_param_types.h:544
int n_max_iter
Definition: cs_param_sles.h:89
int restart
Definition: cs_param_sles.h:90
cs_param_resnorm_type_t resnorm_type
Definition: cs_param_sles.h:88
cs_param_sles_class_t cs_param_sles_check_class(cs_param_sles_class_t wanted_class)
Check the availability of a solver library and return the requested one if this is possible or an alt...
Definition: cs_param_sles.c:1982
int verbosity
Definition: cs_param_sles.h:65
cs_param_itsol_type_t solver
Definition: cs_param_sles.h:73
cs_param_amg_type_t amg_type
Definition: cs_param_sles.h:77
#define END_C_DECLS
Definition: cs_defs.h:511
char * name
Definition: cs_param_sles.h:68
int field_id
Definition: cs_param_sles.h:66
cs_param_itsol_type_t
Definition: cs_param_types.h:866
void cs_param_sles_free(cs_param_sles_t **p_slesp)
Free a cs_param_sles_t structure.
Definition: cs_param_sles.c:1781
int cs_param_sles_set(bool use_field_id, cs_param_sles_t *slesp)
Define cs_sles_t structure in accordance with the settings of a cs_param_sles_t structure (SLES = Spa...
Definition: cs_param_sles.c:1920
Structure storing all metadata related to the resolution of a linear system with an iterative solver...
Definition: cs_param_sles.h:62