32 #define HDF_VERSION_REF 5-1.8.11
33 #define HDF_VERSION_MAJOR_REF 1
34 #define HDF_VERSION_MINOR_REF 8
35 #define HDF_VERSION_RELEASE_REF 11
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 3
58 #define MED_MINOR_NUM 3
59 #define MED_RELEASE_NUM 1
61 #define MED_NUM_MAJEUR 3
62 #define MED_NUM_MINEUR 3
63 #define MED_NUM_RELEASE 1
66 #define _MED_VERSION(x,y,z) STR(x) "." STR(y) "." STR(z)
67 #define MED_VERSION_STR _MED_VERSION(MED_NUM_MAJEUR,MED_NUM_MINEUR,MED_NUM_RELEASE)
71 #define MED_NULL (void *) NULL
72 #define MED_MAX_PARA 20
75 #define MED_COMMENT_SIZE 200
76 #define MED_IDENT_SIZE 8
77 #define MED_NAME_SIZE 64
78 #define MED_SNAME_SIZE 16
79 #define MED_LNAME_SIZE 80
81 #define MED_SNAME_BLANK " "
82 #define MED_NAME_BLANK " "
85 #define MED_PATHNAME_SIZE 255
86 #define MED_MAX_CHFID_PATH MED_PATHNAME_SIZE
142 #define MED_N_ENTITY_TYPES 6
175 #define MED_ATT_FLOAT64_ctype med_float
176 #define MED_ATT_INT_ctype med_int
177 #define MED_ATT_NAME_ctype char
178 #define MED_ATT_UNDEF_ctype unknown_ctype
180 #define MED_CTYPE(medatttype) medatttype##_ctype
193 #define MED_POINT1 001
198 #define MED_TRIA3 203
199 #define MED_QUAD4 204
200 #define MED_TRIA6 206
201 #define MED_TRIA7 207
202 #define MED_QUAD8 208
203 #define MED_QUAD9 209
205 #define MED_TETRA4 304
206 #define MED_PYRA5 305
207 #define MED_PENTA6 306
208 #define MED_HEXA8 308
209 #define MED_TETRA10 310
210 #define MED_OCTA12 312
211 #define MED_PYRA13 313
212 #define MED_PENTA15 315
213 #define MED_PENTA18 318
214 #define MED_HEXA20 320
215 #define MED_HEXA27 327
218 #define MED_POLYGON 400
219 #define MED_POLYGON2 420
220 #define MED_POLYHEDRON 500
223 #define MED_STRUCT_GEO_INTERNAL 600
224 #define MED_STRUCT_GEO_SUP_INTERNAL 700
227 #define MED_NO_GEOTYPE MED_NONE
228 #define MED_UNDEF_GEOTYPE MED_NONE
229 #define MED_UNDEF_GEOMETRY_TYPE MED_NONE
230 #define MED_ALL_GEOTYPE -1
231 #define MED_GEO_ALL MED_ALL_GEOTYPE
233 #define MED_N_CELL_GEO 25
234 #define MED_N_CELL_FIXED_GEO 24
235 #define MED_N_CELL_GEO_FIXED_CON 21
237 #define MED_N_FACE_GEO 8
238 #define MED_N_FACE_FIXED_GEO 8
239 #define MED_N_FACE_GEO_FIXED_CON 6
241 #define MED_N_EDGE_TYPES 3
242 #define MED_N_EDGE_FIXED_GEO 3
243 #define MED_N_EDGE_GEO_FIXED_CON 3
245 #define MED_N_NODE_GEO 1
246 #define MED_N_NODE_FIXED_GEO 1
247 #define MED_N_NODE_GEO_FIXED_CON 1
257 #define MED_GAUSS_ELNO "MED_GAUSS_ELNO"
260 #define MED_IPOINT_ELNO MED_GAUSS_ELNO
263 #define MED_NO_NAME ""
265 #define MED_NO_MESHNAME ""
266 #define MED_NO_MESH ""
268 #define MED_NO_MESH_SUPPORT ""
270 #define MED_NO_LOCALIZATION ""
272 #define MED_NO_INTERPOLATION ""
274 #define MED_NO_IPOINT_INTERNAL 1
276 #define MED_NO_PROFILE ""
281 #define MED_NO_GROUP ""
283 #define MED_ALLENTITIES_PROFILE MED_NO_PROFILE
287 #define MED_NO_PROFILE_INTERNAL "MED_NO_PROFILE_INTERNAL"
288 #define MED_SAME_PROFILE_INTERNAL "MED_SAME_PROFILE_INTERNAL"
290 #define MED_ALL_CONSTITUENT 0
294 #define MED_UNDEF_SIZE 0
295 #define MED_NO_PROFILE_SIZE 0
297 typedef enum {MED_SORT_DTIT,MED_SORT_ITDT,MED_SORT_UNDEF=-1 } med_sorting_type;
308 #define MED_UNDEF_DT 0
310 #define MED_ATT_NOT_FILLED -1
332 #define INIT2X( x ) x, x,
333 #define INIT4X( x ) x, x, x, x
334 #define INIT10X( x ) x, x, x, x, x, x, x, x, x, x
335 #define MED_MAX_FILTER_SPACES 4100
336 #define MED_MAX_FILTER_SPACES_INIT {INIT4X(INIT10X(INIT10X(INIT10X(0)))), INIT10X(INIT10X(0)) }
348 med_int nvaluesperentity;
349 med_int nconstituentpervalue;
350 med_int constituentselect;
352 med_int filterarraysize;
353 med_size* filterarray23v30;
354 med_int profilearraysize;
360 #define MED_FILTER_INIT { 0, MED_MAX_FILTER_SPACES_INIT, MED_MAX_FILTER_SPACES_INIT ,0,0,0,0,\
361 MED_UNDEF_INTERLACE,MED_NO_FILTER_SIZE, NULL , \
362 MED_NO_PROFILE_SIZE,MED_UNDEF_PFLMODE,MED_NO_PROFILE }
364 #define MED_NO_FILTER NULL
365 #define MED_NO_FILTER_SIZE 0
366 #define MED_NO_PROFILE_F " "
372 med_int majeur; med_int mineur; med_int release;
374 #define MED_FILE_VERSION_INIT {0, 0, 0};
381 size_t app_image_size;
384 void *fapl_image_ptr;
385 size_t fapl_image_size;
388 size_t vfd_image_size;
393 #define MED_MEMFILE_INIT {NULL, 0, 1, NULL, 0, 0, NULL, 0, 0, MED_ACC_RDONLY}
396 #define AFF_MEMFILE \
397 XSCRUTE(memfile->app_image_ptr);\
398 ISCRUTE_long(memfile->app_image_size);\
399 ISCRUTE_int(memfile->ref_count);\
400 XSCRUTE(memfile->fapl_image_ptr);\
401 ISCRUTE_long(memfile->fapl_image_size);\
402 ISCRUTE_int(memfile->fapl_ref_count);\
403 XSCRUTE(memfile->vfd_image_ptr);\
404 ISCRUTE_long(memfile->vfd_image_size);\
405 ISCRUTE_int(memfile->vfd_ref_count);\
406 ISCRUTE_int(memfile->flags);
425 #define MED_PARTICLE_NAME "MED_PARTICLE"
426 #define MED_BALL_NAME "MED_BALL"
427 #define MED_BEAM_NAME "MED_BEAM"
430 #define MED_PARTICLE_LABEL "MED_PARTICLE_LABEL"
431 #define MED_BALL_DIAMETER "MED_BALL_DIAMETER"
432 #define MED_BEAM_THICKNESS "MED_BEAM_THICKNESS"
Structure d'acceuil du buffer d'un fichier MED en mémoire.
#define MED_N_ENTITY_TYPES
#define MED_N_FACE_FIXED_GEO
#define MED_N_CELL_FIXED_GEO
MEDC_EXPORT const char *const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]
#define MED_MAX_FILTER_SPACES
MEDC_EXPORT med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_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]
unsigned long long hsize_t
#define MED_N_EDGE_FIXED_GEO
MEDC_EXPORT med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]
MEDC_EXPORT const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]
MEDC_EXPORT med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]
#define MED_N_NODE_FIXED_GEO
Structure d'acceuil du numéro de version MED d'un fichier.
MEDC_EXPORT const char *const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]
med_field_type med_parameter_type
MEDC_EXPORT const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]
MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]