8.0
general documentation
cs_param_cdo.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_param_cdo.h:

Go to the source code of this file.

Macros

#define CS_CDO_OMP_CHUNK_SIZE   128
 
#define CS_CDO_OMP_SCHEDULE   schedule(static, CS_CDO_OMP_CHUNK_SIZE)
 
#define CS_CDO_OMP_SYNC_SECTIONS
 
#define CS_CDO_OMP_ASSERT(e)   assert(e)
 
#define CS_CDO_ASSEMBLE_BUF_SIZE   200
 
#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 }
 
enum  cs_param_assemble_omp_strategy_t { CS_PARAM_ASSEMBLE_OMP_ATOMIC , CS_PARAM_ASSEMBLE_OMP_CRITICAL , CS_PARAM_ASSEMBLE_OMP_N_STRATEGIES }
 

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. More...
 
cs_param_cdo_mode_t cs_param_cdo_mode_get (void)
 Get the mode of activation for the CDO/HHO schemes. More...
 
void cs_param_cdo_log (void)
 Print a welcome message indicating what is the current CDO status. More...
 

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_ASSEMBLE_BUF_SIZE

#define CS_CDO_ASSEMBLE_BUF_SIZE   200

◆ CS_CDO_N_MAX_REACTIONS

#define CS_CDO_N_MAX_REACTIONS   8

◆ CS_CDO_OMP_ASSERT

#define CS_CDO_OMP_ASSERT (   e)    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_SECTIONS

#define CS_CDO_OMP_SYNC_SECTIONS
Value:
0 /* > 0 --> critical sections
otherwise atomic sections */

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

Enumerator
CS_PARAM_ASSEMBLE_OMP_ATOMIC 
CS_PARAM_ASSEMBLE_OMP_CRITICAL 
CS_PARAM_ASSEMBLE_OMP_N_STRATEGIES 

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

Variable Documentation

◆ cs_glob_param_cdo_mode

cs_param_cdo_mode_t cs_glob_param_cdo_mode
extern