My Project
programmer's documentation
Data Structures | Macros | Enumerations | Functions | Variables
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.

Data Structures

struct  cs_param_hodge_t
 

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   99
 
#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_FACE_DOFS_0TH   1
 
#define CS_N_FACE_DOFS_1ST   3
 
#define CS_N_FACE_DOFS_2ND   6
 
#define CS_N_CELL_DOFS_0TH   1
 
#define CS_N_CELL_DOFS_1ST   4
 
#define CS_N_CELL_DOFS_2ND   10
 

Enumerations

enum  cs_param_assemble_omp_strategy_t { CS_PARAM_ASSEMBLE_OMP_ATOMIC, CS_PARAM_ASSEMBLE_OMP_CRITICAL, CS_PARAM_ASSEMBLE_OMP_N_STRATEGIES }
 
enum  cs_param_hodge_type_t {
  CS_PARAM_HODGE_TYPE_VPCD, CS_PARAM_HODGE_TYPE_EPFD, CS_PARAM_HODGE_TYPE_FPED, CS_PARAM_HODGE_TYPE_EDFP,
  CS_PARAM_HODGE_TYPE_CPVD, CS_PARAM_HODGE_TYPE_FB, CS_PARAM_HODGE_TYPE_VC, CS_PARAM_N_HODGE_TYPES
}
 
enum  cs_param_hodge_algo_t {
  CS_PARAM_HODGE_ALGO_VORONOI, CS_PARAM_HODGE_ALGO_WBS, CS_PARAM_HODGE_ALGO_COST, CS_PARAM_HODGE_ALGO_AUTO,
  CS_PARAM_N_HODGE_ALGOS
}
 

Functions

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...
 
void cs_param_hodge_log (const char *prefix, const cs_param_hodge_t hp)
 Output the settings related to a cs_param_hodge_t structure. More...
 

Variables

const char h1_sep [80]
 
const char h2_sep [80]
 
const char sepline [80]
 
const char msepline [50]
 
int cs_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   99

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

#define CS_N_CELL_DOFS_0TH   1

◆ CS_N_CELL_DOFS_1ST

#define CS_N_CELL_DOFS_1ST   4

◆ CS_N_CELL_DOFS_2ND

#define CS_N_CELL_DOFS_2ND   10

◆ CS_N_FACE_DOFS_0TH

#define CS_N_FACE_DOFS_0TH   1

◆ CS_N_FACE_DOFS_1ST

#define CS_N_FACE_DOFS_1ST   3

◆ CS_N_FACE_DOFS_2ND

#define CS_N_FACE_DOFS_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_hodge_algo_t

Enumerator
CS_PARAM_HODGE_ALGO_VORONOI 
CS_PARAM_HODGE_ALGO_WBS 
CS_PARAM_HODGE_ALGO_COST 
CS_PARAM_HODGE_ALGO_AUTO 
CS_PARAM_N_HODGE_ALGOS 

◆ cs_param_hodge_type_t

Enumerator
CS_PARAM_HODGE_TYPE_VPCD 
CS_PARAM_HODGE_TYPE_EPFD 
CS_PARAM_HODGE_TYPE_FPED 
CS_PARAM_HODGE_TYPE_EDFP 
CS_PARAM_HODGE_TYPE_CPVD 
CS_PARAM_HODGE_TYPE_FB 
CS_PARAM_HODGE_TYPE_VC 
CS_PARAM_N_HODGE_TYPES 

Function Documentation

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

◆ cs_param_hodge_get_type_name()

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

◆ cs_param_hodge_log()

void cs_param_hodge_log ( const char *  prefix,
const cs_param_hodge_t  hp 
)

Output the settings related to a cs_param_hodge_t structure.

Parameters
[in]prefixoptional string
[in]hpa cs_param_hodge_t structure

Variable Documentation

◆ cs_param_cdo_mode

int cs_param_cdo_mode

◆ h1_sep

const char h1_sep[80]

◆ h2_sep

const char h2_sep[80]

◆ msepline

const char msepline[50]

◆ sepline

const char sepline[80]