![]() |
programmer's documentation
|
#include "cs_defs.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <bft_mem.h>
#include "cs_base.h"
#include "cs_log.h"
#include "cs_navsto_param.h"
Macros | |
#define | CS_NAVSTO_PARAM_DBG 0 |
Functions | |
cs_navsto_param_t * | cs_navsto_param_create (cs_navsto_param_model_t model, cs_navsto_param_time_state_t time_state, cs_navsto_param_coupling_t algo_coupling) |
Create a new structure to store all numerical parameters related to the resolution of the Navier-Stokes (NS) system. More... | |
cs_navsto_param_t * | cs_navsto_param_free (cs_navsto_param_t *param) |
Free a cs_navsto_param_t structure. More... | |
void | cs_navsto_param_set (cs_navsto_param_t *nsp, cs_navsto_key_t key, const char *keyval) |
Set a parameter attached to a keyname in a cs_navsto_param_t structure. More... | |
void | cs_navsto_param_log (const cs_navsto_param_t *nsp) |
Summary of the main cs_navsto_param_t structure. More... | |
Variables | |
static const char | cs_navsto_param_model_name [CS_NAVSTO_N_MODELS][CS_BASE_STRING_LEN] |
static const char | cs_navsto_param_time_state_name [CS_NAVSTO_N_TIME_STATES][CS_BASE_STRING_LEN] |
static const char | cs_navsto_param_coupling_name [CS_NAVSTO_N_COUPLINGS][CS_BASE_STRING_LEN] |
static const char | _err_empty_nsp [] |
#define CS_NAVSTO_PARAM_DBG 0 |
cs_navsto_param_t* cs_navsto_param_create | ( | cs_navsto_param_model_t | model, |
cs_navsto_param_time_state_t | time_state, | ||
cs_navsto_param_coupling_t | algo_coupling | ||
) |
Create a new structure to store all numerical parameters related to the resolution of the Navier-Stokes (NS) system.
[in] | model | model related to the NS system to solve |
[in] | time_state | state of the time for the NS equations |
[in] | algo_coupling | algorithm used for solving the NS system |
cs_navsto_param_t* cs_navsto_param_free | ( | cs_navsto_param_t * | param | ) |
Free a cs_navsto_param_t structure.
[in,out] | param | pointer to a cs_navsto_param_t structure |
void cs_navsto_param_log | ( | const cs_navsto_param_t * | nsp | ) |
Summary of the main cs_navsto_param_t structure.
[in] | nsp | pointer to a cs_navsto_param_t structure |
void cs_navsto_param_set | ( | cs_navsto_param_t * | nsp, |
cs_navsto_key_t | key, | ||
const char * | keyval | ||
) |
Set a parameter attached to a keyname in a cs_navsto_param_t structure.
[in,out] | nsp | pointer to a cs_navsto_param_t structure to set |
[in] | key | key related to the member of eq to set |
[in] | keyval | accessor to the value to set |
|
static |
|
static |
|
static |
|
static |