1#ifndef __CS_PARAM_SLES_SETUP_H__
2#define __CS_PARAM_SLES_SETUP_H__
97#if defined(HAVE_PETSC)
#define BEGIN_C_DECLS
Definition cs_defs.h:542
#define END_C_DECLS
Definition cs_defs.h:543
Structure and routines handling the SLES ((Sparse Linear Equation Solver) settings stored inside a cs...
void cs_param_sles_setup_petsc_cmd(bool use_prefix, const char *prefix, const char *keyword, const char *keyval)
Set the command line option for PETSc.
Definition cs_param_sles_setup.cpp:3419
void cs_param_sles_setup_petsc_ksp(const char *label, cs_param_sles_t *slesp, void *p_ksp)
Set a KSP structure in PETSc. This is equivalent to set a solver and its related preconditioner.
Definition cs_param_sles_setup.cpp:3439
void cs_param_sles_setup_petsc_pc_amg(const char *prefix, cs_param_sles_t *slesp, void *p_pc)
Set an AMG preconditioner in PETSc.
Definition cs_param_sles_setup.cpp:3478
void cs_param_sles_setup_cvg_param(bool use_field_id, const cs_param_sles_t *slesp)
Update the settings associated to a cs_sles_t structure and apply those defined in the given cs_param...
Definition cs_param_sles_setup.cpp:3318
int cs_param_sles_setup(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_setup.cpp:3241
char * label
Definition keywords.h:58
Structure storing all metadata related to the resolution of a linear system with an iterative solver.
Definition cs_param_sles.h:64