Code_Saturne
CFD tool
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Typedefs | Enumerations | Functions | Variables
ecs_def.h File Reference
#include "cs_config.h"
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <libintl.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define restrict
 
#define ECS_ABS(a)   ((a) < 0 ? -(a) : (a)) /* Absolute value */
 
#define ECS_MIN(a, b)   ((a) > (b) ? (b) : (a)) /* Minimum */
 
#define ECS_MAX(a, b)   ((a) < (b) ? (b) : (a)) /* Maximum */
 
#define ECS_PATH_SEP   '/'
 
#define ECS_REAL_PRECISION   1.e-13
 
#define ECS_STR_SIZE   80
 
#define ECS_PAS_NUL   0
 
#define ECS_PAS_UNITE   1
 
#define ECS_LNG_AFF_STR   43
 
#define ECS_LNG_AFF_ENT   8
 
#define ECS_LNG_AFF_REE_MANTIS   11
 
#define ECS_LNG_AFF_REE_PRECIS   2
 
#define ECS_FMT_AFF_REE_PARAM   "%.15E"
 
#define _(String)   gettext(String)
 
#define gettext_noop(String)   String
 
#define N_(String)   gettext_noop(String)
 
#define BEGIN_C_DECLS
 
#define END_C_DECLS
 

Typedefs

typedef int ecs_int_t
 
typedef size_t ecs_size_t
 
typedef double ecs_coord_t
 
typedef char ecs_byte_t
 

Enumerations

enum  ecs_type_t {
  ECS_TYPE_char, ECS_TYPE_ecs_coord_t, ECS_TYPE_ecs_int_t, ECS_TYPE_ecs_size_t,
  ECS_TYPE_size_t, ECS_TYPE_void
}
 
enum  ecs_elt_typ_t {
  ECS_ELT_TYP_NUL, ECS_ELT_TYP_FAC_TRIA, ECS_ELT_TYP_FAC_QUAD, ECS_ELT_TYP_CEL_TETRA,
  ECS_ELT_TYP_CEL_PYRAM, ECS_ELT_TYP_CEL_PRISM, ECS_ELT_TYP_CEL_HEXA, ECS_ELT_TYP_FAC_POLY,
  ECS_ELT_TYP_CEL_POLY, ECS_ELT_TYP_FIN
}
 

Functions

void ecs_init_gestion_erreur (void)
 
void ecs_exit (int statut)
 
void ecs_warn (void)
 
void ecs_error (const char *file_name, const int line_num, const int sys_error_code, const char *format,...)
 
void ecs_print_padded_str (const char *str, int width)
 

Variables

char ecs_glob_build_date []
 
int ecs_glob_have_cgns
 
int ecs_glob_cgns_ver_maj
 
int ecs_glob_cgns_ver_min
 
int ecs_glob_cgns_ver_rel
 
int ecs_glob_have_med
 
const ecs_elt_typ_t ecs_glob_typ_elt [2][9]
 

Macro Definition Documentation

#define _ (   String)    gettext(String)
#define BEGIN_C_DECLS
#define ECS_ABS (   a)    ((a) < 0 ? -(a) : (a)) /* Absolute value */
#define ECS_FMT_AFF_REE_PARAM   "%.15E"
#define ECS_LNG_AFF_ENT   8
#define ECS_LNG_AFF_REE_MANTIS   11
#define ECS_LNG_AFF_REE_PRECIS   2
#define ECS_LNG_AFF_STR   43
#define ECS_MAX (   a,
 
)    ((a) < (b) ? (b) : (a)) /* Maximum */
#define ECS_MIN (   a,
 
)    ((a) > (b) ? (b) : (a)) /* Minimum */
#define ECS_PAS_NUL   0
#define ECS_PAS_UNITE   1
#define ECS_PATH_SEP   '/'
#define ECS_REAL_PRECISION   1.e-13
#define ECS_STR_SIZE   80
#define END_C_DECLS
#define gettext_noop (   String)    String
#define N_ (   String)    gettext_noop(String)
#define restrict

Typedef Documentation

typedef char ecs_byte_t
typedef double ecs_coord_t
typedef int ecs_int_t
typedef size_t ecs_size_t

Enumeration Type Documentation

Enumerator
ECS_ELT_TYP_NUL 
ECS_ELT_TYP_FAC_TRIA 
ECS_ELT_TYP_FAC_QUAD 
ECS_ELT_TYP_CEL_TETRA 
ECS_ELT_TYP_CEL_PYRAM 
ECS_ELT_TYP_CEL_PRISM 
ECS_ELT_TYP_CEL_HEXA 
ECS_ELT_TYP_FAC_POLY 
ECS_ELT_TYP_CEL_POLY 
ECS_ELT_TYP_FIN 
enum ecs_type_t
Enumerator
ECS_TYPE_char 
ECS_TYPE_ecs_coord_t 
ECS_TYPE_ecs_int_t 
ECS_TYPE_ecs_size_t 
ECS_TYPE_size_t 
ECS_TYPE_void 

Function Documentation

void ecs_error ( const char *  file_name,
const int  line_num,
const int  sys_error_code,
const char *  format,
  ... 
)

Here is the call graph for this function:

void ecs_exit ( int  statut)

Here is the call graph for this function:

void ecs_init_gestion_erreur ( void  )
void ecs_print_padded_str ( const char *  str,
int  width 
)
void ecs_warn ( void  )

Variable Documentation

char ecs_glob_build_date[]
int ecs_glob_cgns_ver_maj
int ecs_glob_cgns_ver_min
int ecs_glob_cgns_ver_rel
int ecs_glob_have_cgns
int ecs_glob_have_med
const ecs_elt_typ_t ecs_glob_typ_elt[2][9]