5. System#

This category includes macros related to the operating system and the architecture of the machine. Macros preceded by (*) are automatically activated in aster_depend.h depending on the configuration stage or platform.

The aim is for them all to be determined at the configuration.

() _ STRLEN_AT_END: used for C-Fortran calls, indicates that the length of the character string should be reported after the arguments and not just after the string argument.

() GNU_LINUX: indicates that we will use _ GNU_SOURCE =1 later (in signal management) _ =1 to access non-standard functions POSIX.

  • _ NAN_BULL: Define a particular value for the « undefined real », R8 UNDdans envima.c.

Types determined during configuration, redefined for practical and readability reasons:

() STRING_SIZE: type of the size of character strings in C.

() ASTERINTEGER4: C type corresponding to the integer fortran integer (kind=4).

() ASTERINTEGER: C type corresponding to the Fortran integer.

() ASTERREAL4: C type corresponding to the real fortran integer (kind=4).

() ASTERDOUBLE: size of the fortran real type (kind=8).

() ASTERC_FORTRAN_REAL8: C type corresponding to the real fortran integer (kind=8).

  • REAL_NB_CHIFFRES_SIGNIFICATIFS: number of significant figures for the real ones.

  • INTEGER_NB_CHIFFRES_SIGNIFICATIFS: number of significant figures for integers.

  • OPT_TAILLE_BLOC_MULT_FRONT: optimal block size for the multi-front solver.

  • _ USE_STDCALL: says if __stdcall is used to call Fortran functions from C, for Windows.