Code_Saturne
CFD tool
Variables
cs_defs.c File Reference
#include "cs_defs.h"

Variables

BEGIN_C_DECLS const size_t cs_datatype_size []
 
const char * cs_datatype_name []
 
int cs_glob_n_threads = 1
 
int cs_glob_rank_id = -1
 
int cs_glob_n_ranks = 1
 

Variable Documentation

◆ cs_datatype_name

const char* cs_datatype_name[]
Initial value:
= {"",
"char",
"float",
"double",
"int32",
"int64",
"uint32",
"uint64"}

◆ cs_datatype_size

BEGIN_C_DECLS const size_t cs_datatype_size[]
Initial value:
= {0,
1,
sizeof(float),
sizeof(double),
4,
8,
4,
8}

◆ cs_glob_n_ranks

int cs_glob_n_ranks = 1

◆ cs_glob_n_threads

int cs_glob_n_threads = 1

◆ cs_glob_rank_id

int cs_glob_rank_id = -1