9.0
general documentation
Loading...
Searching...
No Matches
cs_param_cdo.h File Reference
#include "base/cs_defs.h"
Include dependency graph for cs_param_cdo.h:

Go to the source code of this file.

Macros

#define CS_CDO_KEEP_DEFAULT   -2
#define CS_CDO_OMP_CHUNK_SIZE   128
#define CS_CDO_OMP_SCHEDULE   schedule(static, CS_CDO_OMP_CHUNK_SIZE)
#define CS_CDO_OMP_SYNC_MODE
#define CS_CDO_OMP_ASSERT(e)
#define CS_CDO_N_MAX_REACTIONS   8
#define CS_ALL_FACES   0 /* All faces: interior + border */
#define CS_BND_FACES   1 /* Boundary faces */
#define CS_INT_FACES   2 /* Interior faces */
#define CS_N_DOFS_FACE_0TH   1
#define CS_N_DOFS_FACE_1ST   3
#define CS_N_DOFS_FACE_2ND   6
#define CS_N_DOFS_CELL_0TH   1
#define CS_N_DOFS_CELL_1ST   4
#define CS_N_DOFS_CELL_2ND   10

Enumerations

enum  cs_param_cdo_mode_t { CS_PARAM_CDO_MODE_OFF = -1 , CS_PARAM_CDO_MODE_WITH_FV = 1 , CS_PARAM_CDO_MODE_ONLY = 2 }

Functions

void cs_param_cdo_mode_set (cs_param_cdo_mode_t mode)
 Set the global variable storing the mode of activation to apply to CDO/HHO schemes. Deprecated way to set the CDO mode.
cs_param_cdo_mode_t cs_param_cdo_mode_get (void)
 Get the mode of activation for the CDO/HHO schemes.
void cs_param_cdo_log (void)
 Print a welcome message indicating what is the current CDO status.
void cs_param_cdo_setup_log (void)
 Print generic parameters used with CDO/HHO schemes.

Variables

cs_param_cdo_mode_t cs_glob_param_cdo_mode

Macro Definition Documentation

◆ CS_ALL_FACES

#define CS_ALL_FACES   0 /* All faces: interior + border */

◆ CS_BND_FACES

#define CS_BND_FACES   1 /* Boundary faces */

◆ CS_CDO_KEEP_DEFAULT

#define CS_CDO_KEEP_DEFAULT   -2

◆ CS_CDO_N_MAX_REACTIONS

#define CS_CDO_N_MAX_REACTIONS   8

◆ CS_CDO_OMP_ASSERT

#define CS_CDO_OMP_ASSERT ( e)
Value:
assert(e)

◆ CS_CDO_OMP_CHUNK_SIZE

#define CS_CDO_OMP_CHUNK_SIZE   128

◆ CS_CDO_OMP_SCHEDULE

#define CS_CDO_OMP_SCHEDULE   schedule(static, CS_CDO_OMP_CHUNK_SIZE)

◆ CS_CDO_OMP_SYNC_MODE

#define CS_CDO_OMP_SYNC_MODE
Value:
0 /* > 0 --> critical sections otherwise
* atomic sections is used */

◆ CS_INT_FACES

#define CS_INT_FACES   2 /* Interior faces */

◆ CS_N_DOFS_CELL_0TH

#define CS_N_DOFS_CELL_0TH   1

◆ CS_N_DOFS_CELL_1ST

#define CS_N_DOFS_CELL_1ST   4

◆ CS_N_DOFS_CELL_2ND

#define CS_N_DOFS_CELL_2ND   10

◆ CS_N_DOFS_FACE_0TH

#define CS_N_DOFS_FACE_0TH   1

◆ CS_N_DOFS_FACE_1ST

#define CS_N_DOFS_FACE_1ST   3

◆ CS_N_DOFS_FACE_2ND

#define CS_N_DOFS_FACE_2ND   6

Enumeration Type Documentation

◆ cs_param_cdo_mode_t

Enumerator
CS_PARAM_CDO_MODE_OFF 
CS_PARAM_CDO_MODE_WITH_FV 
CS_PARAM_CDO_MODE_ONLY 

Function Documentation

◆ cs_param_cdo_log()

void cs_param_cdo_log ( void )

Print a welcome message indicating what is the current CDO status.

◆ cs_param_cdo_mode_get()

cs_param_cdo_mode_t cs_param_cdo_mode_get ( void )

Get the mode of activation for the CDO/HHO schemes.

Returns
the mode of activation for the CDO/HHO module

◆ cs_param_cdo_mode_set()

void cs_param_cdo_mode_set ( cs_param_cdo_mode_t mode)

Set the global variable storing the mode of activation to apply to CDO/HHO schemes. Deprecated way to set the CDO mode.

◆ cs_param_cdo_setup_log()

void cs_param_cdo_setup_log ( void )

Print generic parameters used with CDO/HHO schemes.

Variable Documentation

◆ cs_glob_param_cdo_mode

cs_param_cdo_mode_t cs_glob_param_cdo_mode
extern