32 #define HDF_VERSION_REF 5-1.10.2 33 #define HDF_VERSION_MAJOR_REF 1 34 #define HDF_VERSION_MINOR_REF 10 35 #define HDF_VERSION_RELEASE_REF 2 36 #define HDF_VERSION_NUM_REF (HDF_VERSION_MAJOR_REF * 10000 + HDF_VERSION_MINOR_REF * 100 + HDF_VERSION_RELEASE_REF ) 38 #define HDF5_VERSION (H5_VERS_MAJOR * 10000 + H5_VERS_MINOR * 100 + H5_VERS_RELEASE ) 40 #if HDF5_VERSION < 10607 42 #define HDF5_SELECT_BUG (const hsize_t **) 44 #define HDF5_SELECT_BUG 53 #define H5F_LIBVER_18 1 57 #define MED_MAJOR_NUM 4 58 #define MED_MINOR_NUM 0 59 #define MED_RELEASE_NUM 0 60 #define MED_3_LATEST_MINOR 3 61 #define MED_4_LATEST_MINOR 0 63 #define MED_NUM_MAJEUR 4 64 #define MED_NUM_MINEUR 0 65 #define MED_NUM_RELEASE 0 68 #define _MED_VERSION(x,y,z) STR(x) "." STR(y) "." STR(z) 69 #define MED_VERSION_STR _MED_VERSION(MED_NUM_MAJEUR,MED_NUM_MINEUR,MED_NUM_RELEASE) 73 #define MED_NULL (void *) NULL 74 #define MED_MAX_PARA 20 77 #define MED_COMMENT_SIZE 200 78 #define MED_IDENT_SIZE 8 79 #define MED_NAME_SIZE 64 80 #define MED_SNAME_SIZE 16 81 #define MED_LNAME_SIZE 80 83 #define MED_SNAME_BLANK " " 84 #define MED_NAME_BLANK " " 87 #define MED_PATHNAME_SIZE 255 88 #define MED_MAX_CHFID_PATH MED_PATHNAME_SIZE 144 #define MED_N_ENTITY_TYPES 6 177 #define MED_ATT_FLOAT64_ctype med_float 178 #define MED_ATT_INT_ctype med_int 179 #define MED_ATT_NAME_ctype char 180 #define MED_ATT_UNDEF_ctype unknown_ctype 182 #define MED_CTYPE(medatttype) medatttype##_ctype 195 #define MED_POINT1 001 200 #define MED_TRIA3 203 201 #define MED_QUAD4 204 202 #define MED_TRIA6 206 203 #define MED_TRIA7 207 204 #define MED_QUAD8 208 205 #define MED_QUAD9 209 207 #define MED_TETRA4 304 208 #define MED_PYRA5 305 209 #define MED_PENTA6 306 210 #define MED_HEXA8 308 211 #define MED_TETRA10 310 212 #define MED_OCTA12 312 213 #define MED_PYRA13 313 214 #define MED_PENTA15 315 215 #define MED_PENTA18 318 216 #define MED_HEXA20 320 217 #define MED_HEXA27 327 220 #define MED_POLYGON 400 221 #define MED_POLYGON2 420 222 #define MED_POLYHEDRON 500 225 #define MED_STRUCT_GEO_INTERNAL 600 226 #define MED_STRUCT_GEO_SUP_INTERNAL 700 229 #define MED_NO_GEOTYPE MED_NONE 230 #define MED_UNDEF_GEOTYPE MED_NONE 231 #define MED_UNDEF_GEOMETRY_TYPE MED_NONE 232 #define MED_ALL_GEOTYPE -1 233 #define MED_GEO_ALL MED_ALL_GEOTYPE 235 #define MED_N_CELL_GEO 25 236 #define MED_N_CELL_FIXED_GEO 24 237 #define MED_N_CELL_GEO_FIXED_CON 21 239 #define MED_N_FACE_GEO 8 240 #define MED_N_FACE_FIXED_GEO 8 241 #define MED_N_FACE_GEO_FIXED_CON 6 243 #define MED_N_EDGE_TYPES 3 244 #define MED_N_EDGE_FIXED_GEO 3 245 #define MED_N_EDGE_GEO_FIXED_CON 3 247 #define MED_N_NODE_GEO 1 248 #define MED_N_NODE_FIXED_GEO 1 249 #define MED_N_NODE_GEO_FIXED_CON 1 259 #define MED_GAUSS_ELNO "MED_GAUSS_ELNO" 262 #define MED_IPOINT_ELNO MED_GAUSS_ELNO 265 #define MED_NO_NAME "" 267 #define MED_NO_MESHNAME "" 268 #define MED_NO_MESH "" 270 #define MED_NO_MESH_SUPPORT "" 272 #define MED_NO_LOCALIZATION "" 274 #define MED_NO_INTERPOLATION "" 276 #define MED_NO_IPOINT_INTERNAL 1 278 #define MED_NO_PROFILE "" 283 #define MED_NO_GROUP "" 285 #define MED_ALLENTITIES_PROFILE MED_NO_PROFILE 289 #define MED_NO_PROFILE_INTERNAL "MED_NO_PROFILE_INTERNAL" 290 #define MED_SAME_PROFILE_INTERNAL "MED_SAME_PROFILE_INTERNAL" 292 #define MED_ALL_CONSTITUENT 0 296 #define MED_UNDEF_SIZE 0 297 #define MED_NO_PROFILE_SIZE 0 299 typedef enum {MED_SORT_DTIT,MED_SORT_ITDT,MED_SORT_UNDEF=-1 } med_sorting_type; 310 #define MED_UNDEF_DT 0 312 #define MED_ATT_NOT_FILLED -1 334 #define INIT2X( x ) x, x, 335 #define INIT4X( x ) x, x, x, x 336 #define INIT10X( x ) x, x, x, x, x, x, x, x, x, x 337 #define MED_MAX_FILTER_SPACES 4100 338 #define MED_MAX_FILTER_SPACES_INIT {INIT4X(INIT10X(INIT10X(INIT10X(0)))), INIT10X(INIT10X(0)) } 350 med_int nvaluesperentity;
351 med_int nconstituentpervalue;
352 med_int constituentselect;
354 med_int filterarraysize;
355 med_size* filterarray23v30;
356 med_int profilearraysize;
357 med_storage_mode storagemode;
362 #define MED_FILTER_INIT { 0, MED_MAX_FILTER_SPACES_INIT, MED_MAX_FILTER_SPACES_INIT ,0,0,0,0,\ 363 MED_UNDEF_INTERLACE,MED_NO_FILTER_SIZE, NULL , \ 364 MED_NO_PROFILE_SIZE,MED_UNDEF_PFLMODE,MED_NO_PROFILE } 366 #define MED_NO_FILTER NULL 367 #define MED_NO_FILTER_SIZE 0 368 #define MED_NO_PROFILE_F " " 374 med_int majeur; med_int mineur; med_int release;
376 #define MED_FILE_VERSION_INIT {0, 0, 0}; 383 size_t app_image_size;
386 void *fapl_image_ptr;
387 size_t fapl_image_size;
390 size_t vfd_image_size;
392 med_access_mode flags;
395 #define MED_MEMFILE_INIT {NULL, 0, 1, NULL, 0, 0, NULL, 0, 0, MED_ACC_RDONLY} 398 #define AFF_MEMFILE \ 399 XSCRUTE(memfile->app_image_ptr);\ 400 ISCRUTE_long(memfile->app_image_size);\ 401 ISCRUTE_int(memfile->ref_count);\ 402 XSCRUTE(memfile->fapl_image_ptr);\ 403 ISCRUTE_long(memfile->fapl_image_size);\ 404 ISCRUTE_int(memfile->fapl_ref_count);\ 405 XSCRUTE(memfile->vfd_image_ptr);\ 406 ISCRUTE_long(memfile->vfd_image_size);\ 407 ISCRUTE_int(memfile->vfd_ref_count);\ 408 ISCRUTE_int(memfile->flags); 427 #define MED_PARTICLE_NAME "MED_PARTICLE" 428 #define MED_BALL_NAME "MED_BALL" 429 #define MED_BEAM_NAME "MED_BEAM" 432 #define MED_PARTICLE_LABEL "MED_PARTICLE_LABEL" 433 #define MED_BALL_DIAMETER "MED_BALL_DIAMETER" 434 #define MED_BEAM_THICKNESS "MED_BEAM_THICKNESS"
#define MED_MAX_FILTER_SPACES
MEDC_EXPORT med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]
MEDC_EXPORT med_geometry_type MED_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]
MEDC_EXPORT const char *const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]
MEDC_EXPORT med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]
MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
#define MED_N_CELL_FIXED_GEO
#define MED_N_NODE_FIXED_GEO
#define MED_N_FACE_FIXED_GEO
med_field_type med_parameter_type
MEDC_EXPORT med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]
Structure d'acceuil du numéro de version MED d'un fichier.
Structure d'acceuil du buffer d'un fichier MED en mémoire.
MEDC_EXPORT const char *const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]
#define MED_N_ENTITY_TYPES
MEDC_EXPORT const char *const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]
MEDC_EXPORT const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]
MEDC_EXPORT const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]
#define MED_N_EDGE_FIXED_GEO