My Project
programmer's documentation
Macros | Functions | Variables
cs_param.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "bft_mem.h"
#include "cs_base.h"
#include "cs_param.h"
Include dependency graph for cs_param.c:

Macros

#define CS_PARAM_DBG   0
 

Functions

const char * cs_param_get_space_scheme_name (cs_param_space_scheme_t scheme)
 Get the name of the space discretization scheme. More...
 
const char * cs_param_get_time_scheme_name (cs_param_time_scheme_t scheme)
 Get the name of the time discretization scheme. More...
 
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_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_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...
 
const char * cs_param_get_amg_type_name (cs_param_amg_type_t type)
 Get the name of the type of algebraic multigrid (AMG) More...
 

Variables

static const char cs_param_space_scheme_name [CS_SPACE_N_SCHEMES][CS_BASE_STRING_LEN]
 
static const char cs_param_time_scheme_name [CS_TIME_N_SCHEMES][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]
 

Macro Definition Documentation

◆ CS_PARAM_DBG

#define CS_PARAM_DBG   0

Function Documentation

◆ cs_param_get_amg_type_name()

const char* cs_param_get_amg_type_name ( cs_param_amg_type_t  type)

Get the name of the type of algebraic multigrid (AMG)

Parameters
[in]typetype of AMG
Returns
the associated type name

◆ cs_param_get_bc_enforcement_name()

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

◆ cs_param_get_bc_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

◆ cs_param_get_precond_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

◆ cs_param_get_solver_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

◆ cs_param_get_space_scheme_name()

const char* cs_param_get_space_scheme_name ( cs_param_space_scheme_t  scheme)

Get the name of the space discretization scheme.

Parameters
[in]schemetype of space scheme
Returns
the associated space scheme name

◆ cs_param_get_time_scheme_name()

const char* cs_param_get_time_scheme_name ( cs_param_time_scheme_t  scheme)

Get the name of the time discretization scheme.

Parameters
[in]schemetype of time scheme
Returns
the associated time scheme name

Variable Documentation

◆ cs_param_bc_enforcement_name

const char cs_param_bc_enforcement_name[CS_PARAM_N_BC_ENFORCEMENTS][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("weak using an algebraic manipulation"),
N_("weak using a big penalization coefficient"),
N_("weak using the Nitsche method"),
N_("weak using the symmetrized Nitsche method") }

◆ cs_param_bc_type_name

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"),
N_("Sliding")
}

◆ cs_param_space_scheme_name

const char cs_param_space_scheme_name[CS_SPACE_N_SCHEMES][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("Legacy Finite Volume"),
N_("CDO vertex-based"),
N_("CDO vertex+cell-based"),
N_("CDO face-based"),
N_("HHO-P0"),
N_("HHO-P1"),
N_("HHO-P2")
}

◆ cs_param_time_scheme_name

const char cs_param_time_scheme_name[CS_TIME_N_SCHEMES][CS_BASE_STRING_LEN]
static
Initial value:
=
{ N_("Steady-state"),
N_("Implicit"),
N_("Explicit"),
N_("Crank-Nicolson"),
N_("Theta scheme")
}
N_
#define N_(String)
Definition: cs_defs.h:56