Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Enumerations | Variables
cs_defs.h File Reference
#include <stdlib.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _(String)   (String)
 
#define N_(String)   String
 
#define textdomain(String)   (String)
 
#define gettext(String)   (String)
 
#define dgettext(Domain, String)   (String)
 
#define dcgettext(Domain, String, Type)   (String)
 
#define bindtextdomain(Domain, Directory)   (Domain)
 
#define __STDC_VERSION__   1989
 
#define inline
 
#define restrict
 
#define _Bool   signed char;
 
#define bool   _Bool
 
#define false   0
 
#define true   1
 
#define __bool_true_false_are_defined   1
 
#define CS_GNUM_TYPE   CS_UINT32
 
#define CS_LNUM_TYPE   CS_INT32
 
#define CS_INT_TYPE   CS_INT32
 
#define CS_REAL_TYPE   CS_DOUBLE
 
#define CS_COORD_TYPE   CS_DOUBLE
 
#define CS_ABS(a)   ((a) < 0 ? -(a) : (a)) /* Absolute value of a */
 
#define CS_MIN(a, b)   ((a) < (b) ? (a) : (b)) /* Minimum of a et b */
 
#define CS_MAX(a, b)   ((a) > (b) ? (a) : (b)) /* Maximum of a et b */
 
#define BEGIN_C_DECLS
 
#define END_C_DECLS
 
#define CS_PROCF(x, y)   x##_
 
#define CS_ARGF_SUPP_CHAINE   , ...
 

Typedefs

typedef unsigned cs_gnum_t
 
typedef int cs_lnum_t
 
typedef double cs_coord_t
 
typedef int cs_int_t
 
typedef double cs_real_t
 
typedef char cs_byte_t
 
typedef cs_lnum_t cs_lnum_2_t [2]
 
typedef cs_real_t cs_real_3_t [3]
 
typedef cs_real_t cs_real_4_t [4]
 
typedef cs_real_t cs_real_33_t [3][3]
 

Enumerations

enum  cs_datatype_t {
  CS_DATATYPE_NULL, CS_CHAR, CS_FLOAT, CS_DOUBLE,
  CS_INT32, CS_INT64, CS_UINT32, CS_UINT64
}
 
enum  cs_interlace_t { CS_INTERLACE, CS_NO_INTERLACE }
 

Variables

const size_t cs_datatype_size []
 
const char * cs_datatype_name []
 
int cs_glob_n_threads
 
int cs_glob_rank_id
 
int cs_glob_n_ranks
 

Macro Definition Documentation

#define _ (   String)    (String)
Examples:
bft_error_example.c.
#define __bool_true_false_are_defined   1
#define __STDC_VERSION__   1989
#define _Bool   signed char;
#define BEGIN_C_DECLS
#define bindtextdomain (   Domain,
  Directory 
)    (Domain)
#define bool   _Bool
#define CS_ABS (   a)    ((a) < 0 ? -(a) : (a)) /* Absolute value of a */
#define CS_ARGF_SUPP_CHAINE   , ...
#define CS_COORD_TYPE   CS_DOUBLE
#define CS_GNUM_TYPE   CS_UINT32
#define CS_INT_TYPE   CS_INT32
#define CS_LNUM_TYPE   CS_INT32
#define CS_MAX (   a,
 
)    ((a) > (b) ? (a) : (b)) /* Maximum of a et b */
#define CS_MIN (   a,
 
)    ((a) < (b) ? (a) : (b)) /* Minimum of a et b */
#define CS_PROCF (   x,
 
)    x##_
#define CS_REAL_TYPE   CS_DOUBLE
#define dcgettext (   Domain,
  String,
  Type 
)    (String)
#define dgettext (   Domain,
  String 
)    (String)
#define END_C_DECLS
#define false   0
#define gettext (   String)    (String)
#define inline
#define N_ (   String)    String
#define restrict
#define textdomain (   String)    (String)
#define true   1

Typedef Documentation

typedef char cs_byte_t
typedef double cs_coord_t
typedef unsigned cs_gnum_t
typedef int cs_int_t
typedef cs_lnum_t cs_lnum_2_t[2]
typedef int cs_lnum_t
typedef cs_real_t cs_real_33_t[3][3]
typedef cs_real_t cs_real_3_t[3]
typedef cs_real_t cs_real_4_t[4]
typedef double cs_real_t

Enumeration Type Documentation

Enumerator
CS_DATATYPE_NULL 
CS_CHAR 
CS_FLOAT 
CS_DOUBLE 
CS_INT32 
CS_INT64 
CS_UINT32 
CS_UINT64 
Enumerator
CS_INTERLACE 
CS_NO_INTERLACE 

Variable Documentation

const char* cs_datatype_name[]
const size_t cs_datatype_size[]
int cs_glob_n_ranks
int cs_glob_n_threads
int cs_glob_rank_id