#include "cs_defs.h"#include <assert.h>#include <stdlib.h>#include <string.h>#include <bft_error.h>#include <bft_mem.h>#include <bft_printf.h>#include "cs_fp_exception.h"#include "cs_log.h"#include "cs_multigrid.h"#include "cs_sles.h"#include "cs_param_sles.h"
Include dependency graph for cs_param_sles.c:Functions | |
| 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. More... | |
| void | cs_param_sles_free (cs_param_sles_t **p_slesp) |
| Free a cs_param_sles_t structure. More... | |
| void | cs_param_sles_log (cs_param_sles_t *slesp) |
| Log information related to the linear settings stored in the structure. More... | |
| 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. More... | |
| 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 = Sparse Linear Equation Solver) More... | |
| 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 alternative or CS_PARAM_SLES_N_CLASSES if no alternative is available. More... | |
| 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 alternative or CS_PARAM_SLES_N_CLASSES if no alternative is available.
| [in] | wanted_class | requested class of solvers |
| 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.
| [in] | src | reference cs_param_sles_t structure to copy |
| [in,out] | dst | copy of the reference at exit |
| 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.
| [in] | field_id | id related to to the variable field or -1 |
| [in] | system_name | name of the system to solve or NULL |
| void cs_param_sles_free | ( | cs_param_sles_t ** | p_slesp | ) |
Free a cs_param_sles_t structure.
| [in,out] | slesp | pointer to a structure to free |
| void cs_param_sles_log | ( | cs_param_sles_t * | slesp | ) |
Log information related to the linear settings stored in the structure.
| [in] | slesp | pointer to a cs_param_sles_log |
| 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 = Sparse Linear Equation Solver)
| [in] | use_field_id | if false use system name to define a SLES |
| [in,out] | slesp | pointer to a cs_param_sles_t structure |