programmer's documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions | Variables
cs_param.c File Reference
#include "cs_defs.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "bft_mem.h"
#include "cs_boundary_zone.h"
#include "cs_mesh_location.h"
#include "cs_field.h"
#include "cs_cdo.h"
#include "cs_volume_zone.h"
#include "cs_param.h"
Include dependency graph for cs_param.c:

Macros

#define CS_PARAM_DBG   0
 

Functions

const char * cs_param_get_bc_name (cs_param_bc_type_t type)
 Get the name of the type of boundary condition. More...
 
const char * cs_param_get_boundary_domain_name (cs_param_boundary_type_t type)
 Get the name of the domain boundary condition This name is also used as a name for zone definition. More...
 
const char * cs_param_get_bc_enforcement_name (cs_param_bc_enforce_t type)
 Get the name of the type of enforcement of the boundary condition. More...
 
const char * cs_param_hodge_get_algo_name (const cs_param_hodge_t h_info)
 Get the name of algorithm related to a discrete Hdoge operator. More...
 
const char * cs_param_hodge_get_type_name (const cs_param_hodge_t h_info)
 Get the type of discrete Hodge operator. More...
 
const char * cs_param_get_solver_name (cs_param_itsol_type_t solver)
 Get the name of the solver. More...
 
const char * cs_param_get_precond_name (cs_param_precond_type_t precond)
 Get the name of the preconditioner. More...
 

Variables

static const char cs_param_hodge_type_desc [CS_PARAM_N_HODGE_TYPES][CS_BASE_STRING_LEN]
 
static const char cs_param_hodge_algo_desc [CS_PARAM_N_HODGE_ALGOS][CS_BASE_STRING_LEN]
 
static const char cs_param_bc_type_name [CS_PARAM_N_BC_TYPES][CS_BASE_STRING_LEN]
 
static const char cs_param_bc_enforcement_name [CS_PARAM_N_BC_ENFORCEMENTS][CS_BASE_STRING_LEN]
 
static const char cs_param_domain_boundary_name [CS_PARAM_N_BOUNDARY_TYPES][CS_BASE_STRING_LEN]
 

Macro Definition Documentation

#define CS_PARAM_DBG   0

Function Documentation

const char* cs_param_get_bc_enforcement_name ( cs_param_bc_enforce_t  type)

Get the name of the type of enforcement of the boundary condition.

Parameters
[in]typetype of enforcement of boundary conditions
Returns
the associated name
const char* cs_param_get_bc_name ( cs_param_bc_type_t  type)

Get the name of the type of boundary condition.

Parameters
[in]typetype of boundary condition
Returns
the associated bc name
const char* cs_param_get_boundary_domain_name ( cs_param_boundary_type_t  type)

Get the name of the domain boundary condition This name is also used as a name for zone definition.

Parameters
[in]typetype of boundary
Returns
the associated boundary name
const char* cs_param_get_precond_name ( cs_param_precond_type_t  precond)

Get the name of the preconditioner.

Parameters
[in]precondtype of preconditioner
Returns
the associated preconditioner name
const char* cs_param_get_solver_name ( cs_param_itsol_type_t  solver)

Get the name of the solver.

Parameters
[in]solvertype of iterative solver
Returns
the associated solver name
const char* cs_param_hodge_get_algo_name ( const cs_param_hodge_t  h_info)

Get the name of algorithm related to a discrete Hdoge operator.

Parameters
[in]h_infocs_param_hodge_t structure
Returns
the name of the algorithm
const char* cs_param_hodge_get_type_name ( const cs_param_hodge_t  h_info)

Get the type of discrete Hodge operator.

Parameters
[in]h_infocs_param_hodge_t structure
Returns
the name of the type

Variable Documentation

const char cs_param_bc_enforcement_name[CS_PARAM_N_BC_ENFORCEMENTS][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("strong"),
N_("weak using a big penalization coefficient"),
N_("weak using the Nitsche method"),
N_("weak using the symmetrized Nitsche method") }
#define N_(String)
Definition: cs_defs.h:56
const char cs_param_bc_type_name[CS_PARAM_N_BC_TYPES][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("Homogeneous Dirichlet"),
N_("Dirichlet"),
N_("Homogeneous Neumann"),
N_("Neumann"),
N_("Robin") }
#define N_(String)
Definition: cs_defs.h:56
const char cs_param_domain_boundary_name[CS_PARAM_N_BOUNDARY_TYPES][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("domain_walls"),
N_("domain_inlets"),
N_("domain_outlets"),
N_("domain_symmetries") }
#define N_(String)
Definition: cs_defs.h:56
const char cs_param_hodge_algo_desc[CS_PARAM_N_HODGE_ALGOS][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("Voronoi"),
N_("Whitney on the Barycentric Subdivision (WBS)"),
N_("COnsistency-STabilization splitting (COST)"),
N_("Automatic switch") }
#define N_(String)
Definition: cs_defs.h:56
const char cs_param_hodge_type_desc[CS_PARAM_N_HODGE_TYPES][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("VpCd"),
N_("EpFd"),
N_("FpEd"),
N_("EdFp"),
N_("CpVd") }
#define N_(String)
Definition: cs_defs.h:56