Code_Saturne
CFD tool
Macros | Typedefs | Enumerations | Variables
cs_defs.h File Reference
#include <stdlib.h>

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.

◆ __bool_true_false_are_defined

#define __bool_true_false_are_defined   1

◆ __STDC_VERSION__

#define __STDC_VERSION__   1989

◆ _Bool

#define _Bool   signed char;

◆ BEGIN_C_DECLS

#define BEGIN_C_DECLS

◆ bindtextdomain

#define bindtextdomain (   Domain,
  Directory 
)    (Domain)

◆ bool

#define bool   _Bool

◆ CS_ABS

#define CS_ABS (   a)    ((a) < 0 ? -(a) : (a)) /* Absolute value of a */

◆ CS_ARGF_SUPP_CHAINE

#define CS_ARGF_SUPP_CHAINE   , ...

◆ CS_COORD_TYPE

#define CS_COORD_TYPE   CS_DOUBLE

◆ CS_GNUM_TYPE

#define CS_GNUM_TYPE   CS_UINT32

◆ CS_INT_TYPE

#define CS_INT_TYPE   CS_INT32

◆ CS_LNUM_TYPE

#define CS_LNUM_TYPE   CS_INT32

◆ CS_MAX

#define CS_MAX (   a,
 
)    ((a) > (b) ? (a) : (b)) /* Maximum of a et b */

◆ CS_MIN

#define CS_MIN (   a,
 
)    ((a) < (b) ? (a) : (b)) /* Minimum of a et b */

◆ CS_PROCF

#define CS_PROCF (   x,
 
)    x##_

◆ CS_REAL_TYPE

#define CS_REAL_TYPE   CS_DOUBLE

◆ dcgettext

#define dcgettext (   Domain,
  String,
  Type 
)    (String)

◆ dgettext

#define dgettext (   Domain,
  String 
)    (String)

◆ END_C_DECLS

#define END_C_DECLS

◆ false

#define false   0

◆ gettext

#define gettext (   String)    (String)

◆ inline

#define inline

◆ N_

#define N_ (   String)    String

◆ restrict

#define restrict

◆ textdomain

#define textdomain (   String)    (String)

◆ true

#define true   1

Typedef Documentation

◆ cs_byte_t

typedef char cs_byte_t

◆ cs_coord_t

typedef double cs_coord_t

◆ cs_gnum_t

typedef unsigned cs_gnum_t

◆ cs_int_t

typedef int cs_int_t

◆ cs_lnum_2_t

typedef cs_lnum_t cs_lnum_2_t[2]

◆ cs_lnum_t

typedef int cs_lnum_t

◆ cs_real_33_t

typedef cs_real_t cs_real_33_t[3][3]

◆ cs_real_3_t

typedef cs_real_t cs_real_3_t[3]

◆ cs_real_4_t

typedef cs_real_t cs_real_4_t[4]

◆ cs_real_t

typedef double cs_real_t

Enumeration Type Documentation

◆ cs_datatype_t

Enumerator
CS_DATATYPE_NULL 
CS_CHAR 
CS_FLOAT 
CS_DOUBLE 
CS_INT32 
CS_INT64 
CS_UINT32 
CS_UINT64 

◆ cs_interlace_t

Enumerator
CS_INTERLACE 
CS_NO_INTERLACE 

Variable Documentation

◆ cs_datatype_name

const char* cs_datatype_name[]

◆ cs_datatype_size

const size_t cs_datatype_size[]

◆ cs_glob_n_ranks

int cs_glob_n_ranks

◆ cs_glob_n_threads

int cs_glob_n_threads

◆ cs_glob_rank_id

int cs_glob_rank_id