MED fichier: Fichier source de med.h

MED fichier

med.h
Aller à la documentation de ce fichier.
1 /* -*- mode:C; coding:utf-8 -*- */
2 /* This file is part of MED.
3 *
4 * COPYRIGHT (C) 1999 - 2023 EDF R&D, CEA/DEN
5 * MED is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * MED is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with MED. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef MED_H
20 #define MED_H
21
22 #include <hdf5.h>
23 #ifdef HAVE_STDINT_H
24 #include <stdint.h> // Use the C99 official header
25 #endif
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 /* This is the minimum hdf version med must have */
32 #define HDF_VERSION_REF "5-1.12.0"
33 #define HDF_VERSION_MAJOR_REF 1
34 #define HDF_VERSION_MINOR_REF 12
35 #define HDF_VERSION_RELEASE_REF 0
36 #define HDF_VERSION_NUM_REF (HDF_VERSION_MAJOR_REF * 10000 + HDF_VERSION_MINOR_REF * 100 + HDF_VERSION_RELEASE_REF )
37
38 #define HDF5_VERSION (H5_VERS_MAJOR * 10000 + H5_VERS_MINOR * 100 + H5_VERS_RELEASE )
39
40 #if HDF5_VERSION < 10607
41 /*TODO : A enlever après MAJ complète api hdf5-1.8 */
42 #define HDF5_SELECT_BUG (const hsize_t **)
43 #else
44 #define HDF5_SELECT_BUG
45 #endif
46
47 /*Le symbole H5F_LIBVER_18 n'existe pas dans hdf5-1.8.4 (uniquement à partir de la version 1.8.6)
48 Pour rester dans le modèle interne hdf introduit en 1.8 quelque soit les futurs modèles internes hdf
49 on impose le modèle 1.8 et non le LATEST (cf _MEDfileCreate).
50 La valeur utilisée est celle définie dans les version >= 1.8.6 (cf H5Fpublic.h) */
51 #ifndef H5F_LIBVER_18
52
53 #define H5F_LIBVER_18 1
54 #endif
55
56 /*En anglais*/
57 #define MED_MAJOR_NUM 5
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 1
62 #define MED_40_LATEST_RELEASE @MED_40_LATEST_RELEASE@
63 #define MED_5_LATEST_MINOR 0
64 #define MED_50_LATEST_RELEASE 0
65
66 /*En franglais*/
67 #define MED_NUM_MAJEUR 5
68 #define MED_NUM_MINEUR 0
69 #define MED_NUM_RELEASE 0
70
71 #define STR(x) #x
72 #define _MED_VERSION(x,y,z) STR(x) "." STR(y) "." STR(z)
73 #define MED_VERSION_STR _MED_VERSION(MED_NUM_MAJEUR,MED_NUM_MINEUR,MED_NUM_RELEASE)
74
75
76
77 #define MED_NULL (void *) NULL
78 #define MED_MAX_PARA 20
79
81 #define MED_COMMENT_SIZE 200
82 #define MED_IDENT_SIZE 8
83 #define MED_NAME_SIZE 64
84 #define MED_SNAME_SIZE 16
85 #define MED_LNAME_SIZE 80
86
87 #define MED_SNAME_BLANK " "
88 #define MED_NAME_BLANK " "
89 /* 0123456789012345678901234567890123456789012345678901234567890123*/
90
91 #define MED_PATHNAME_SIZE 255
92 #define MED_MAX_CHFID_PATH MED_PATHNAME_SIZE
97 /* 2.3v3.0 ok*/
98 typedef enum {MED_FULL_INTERLACE,
100 MED_NO_INTERLACE,
102 MED_UNDEF_INTERLACE=-1
103 } med_switch_mode;
104
105
109 /* 2.3v3.0 ok*/
110 typedef enum { MED_UNDEF_STMODE,
111 MED_GLOBAL_STMODE,
112 MED_COMPACT_STMODE,
113 MED_GLOBAL_PFLMODE=MED_GLOBAL_STMODE,
114 MED_COMPACT_PFLMODE=MED_COMPACT_STMODE,
115 MED_UNDEF_PFLMODE=MED_UNDEF_STMODE
116 } med_storage_mode;
117
118
122 typedef enum {MED_ACC_RDONLY,
123 MED_ACC_RDWR,
124 MED_ACC_RDEXT,
125 MED_ACC_CREAT,
126 MED_ACC_UNDEF
127 } med_access_mode;
128
132 /*2.3v3.0 ok*/
133 typedef enum {MED_UNSTRUCTURED_MESH, MED_STRUCTURED_MESH, MED_UNDEF_MESH_TYPE=-1} med_mesh_type;
134
138 /* 2.3v3.0 ok*/
139 typedef enum {MED_CARTESIAN_GRID,
140 MED_POLAR_GRID,
141 MED_CURVILINEAR_GRID,
142 MED_UNDEF_GRID_TYPE=-1} med_grid_type;
143
144 /* 2.3v3.0 ok*/
145 typedef enum {MED_CELL, MED_DESCENDING_FACE, MED_DESCENDING_EDGE, MED_NODE,
146 MED_NODE_ELEMENT, MED_STRUCT_ELEMENT, MED_ALL_ENTITY_TYPE,
147 MED_UNDEF_ENTITY_TYPE=-1 } med_entity_type;
148 #define MED_N_ENTITY_TYPES 6
149
150 /* 2.3v3.0 ok*/
151 typedef enum {MED_COORDINATE, MED_CONNECTIVITY, MED_NAME, MED_NUMBER, MED_FAMILY_NUMBER,
152 MED_COORDINATE_AXIS1, MED_COORDINATE_AXIS2, MED_COORDINATE_AXIS3,
153 MED_INDEX_FACE, MED_INDEX_NODE, MED_GLOBAL_NUMBER,
154 MED_VARIABLE_ATTRIBUTE, MED_COORDINATE_TRSF,MED_UNDEF_DATATYPE=-1} med_data_type;
155
156 /* 2.3v3.0 ok*/
158 typedef enum {MED_INTERNAL_FLOAT32=4, MED_INTERNAL_FLOAT64=6,
159 MED_INTERNAL_INT8=20,
160 MED_INTERNAL_INT32=24 , MED_INTERNAL_INT64=26, MED_INTERNAL_INT=28,
161 MED_INTERNAL_NAME=30 , MED_INTERNAL_SNAME=32,
162 MED_INTERNAL_LNAME=34 , MED_INTERNAL_IDENT=38,
163 MED_INTERNAL_CHAR=40 , MED_INTERNAL_UNDEF =0 } med_internal_type;
165 /*TODO: Réécrire les routines _MEDatt avec med_internal_type au lieu de med_field_type */
166
167 typedef enum {MED_DOUBLE=MED_INTERNAL_FLOAT64,
168 MED_FLOAT64=MED_INTERNAL_FLOAT64,
169 MED_FLOAT32=MED_INTERNAL_FLOAT32,
170 MED_INT32=MED_INTERNAL_INT32,
171 MED_INT64=MED_INTERNAL_INT64,
172 MED_INT=MED_INTERNAL_INT
173 } med_field_type;
174
175 typedef enum {MED_ATT_FLOAT64=MED_INTERNAL_FLOAT64,
176 MED_ATT_INT=MED_INTERNAL_INT,
177 MED_ATT_NAME=MED_INTERNAL_NAME,
178 MED_ATT_UNDEF=MED_INTERNAL_UNDEF } med_attribute_type;
179
180 typedef med_field_type med_parameter_type;
181
182 #define MED_ATT_FLOAT64_ctype med_float
183 #define MED_ATT_INT_ctype med_int
184 #define MED_ATT_NAME_ctype char
185 #define MED_ATT_UNDEF_ctype unknown_ctype
187 #define MED_CTYPE(medatttype) medatttype##_ctype
188
189 /* 2.3v3.0 ok : med_type_donnee*/
190 typedef enum {MED_MESH, MED_FIELD, MED_LIBRARY, MED_FILE,
191 MED_MESH_SUPPORT,MED_ELSTRUCT, MED_FAMILY,MED_EQUIVALENCE, MED_GROUP, MED_JOINT,
192 MED_LOCALIZATION, MED_PROFILE, MED_FILTER, MED_INTERPOLATION, MED_NUMERICAL_DATA,
193 MED_LINK, MED_CLASS_UNDEF=-1, MED_CLASS_ALL=-2 } med_class;
194
195
196 typedef int med_geometry_type;
197
198 /* Mailles dont la géométrie à une connectivité fixe*/
199
200 #define MED_POINT1 001
201
202 #define MED_SEG2 102
203 #define MED_SEG3 103
204 #define MED_SEG4 104
205 #define MED_TRIA3 203
206 #define MED_QUAD4 204
207 #define MED_TRIA6 206
208 #define MED_TRIA7 207
209 #define MED_QUAD8 208
210 #define MED_QUAD9 209
211
212 #define MED_TETRA4 304
213 #define MED_PYRA5 305
214 #define MED_PENTA6 306
215 #define MED_HEXA8 308
216 #define MED_TETRA10 310
217 #define MED_OCTA12 312
218 #define MED_PYRA13 313
219 #define MED_PENTA15 315
220 #define MED_PENTA18 318
221 #define MED_HEXA20 320
222 #define MED_HEXA27 327
223
224 /* Mailles dont la géométrie à une connectivité variable*/
225 #define MED_POLYGON 400
226 #define MED_POLYGON2 420
227 #define MED_POLYHEDRON 500
228
229 /* Mailles dont la géométrie est dynamique (découverte du modèle dans le fichier) */
230 #define MED_STRUCT_GEO_INTERNAL 600
231 #define MED_STRUCT_GEO_SUP_INTERNAL 700
232
233 #define MED_NONE 0
234 #define MED_NO_GEOTYPE MED_NONE
235 #define MED_UNDEF_GEOTYPE MED_NONE
236 #define MED_UNDEF_GEOMETRY_TYPE MED_NONE
237 #define MED_ALL_GEOTYPE -1
238 #define MED_GEO_ALL MED_ALL_GEOTYPE
239
240 #define MED_N_CELL_GEO 25
241 #define MED_N_CELL_FIXED_GEO 24
242 #define MED_N_CELL_GEO_FIXED_CON 21
244 #define MED_N_FACE_GEO 8
245 #define MED_N_FACE_FIXED_GEO 8
246 #define MED_N_FACE_GEO_FIXED_CON 6
247
248 #define MED_N_EDGE_TYPES 3
249 #define MED_N_EDGE_FIXED_GEO 3
250 #define MED_N_EDGE_GEO_FIXED_CON 3
251
252 #define MED_N_NODE_GEO 1
253 #define MED_N_NODE_FIXED_GEO 1
254 #define MED_N_NODE_GEO_FIXED_CON 1
255
256 /*2.3v3.0 ok*/
257 typedef enum {MED_NODAL, MED_DESCENDING, MED_UNDEF_CONNECTIVITY_MODE=-1, MED_NO_CMODE=-1} med_connectivity_mode;
258
259 /*2.3v3.0 ok*/
260 typedef enum {MED_CARTESIAN, MED_CYLINDRICAL, MED_SPHERICAL, MED_UNDEF_AXIS_TYPE=-1} med_axis_type;
261
262 typedef enum {MED_FALSE, MED_TRUE} med_bool ;
263
264 #define MED_GAUSS_ELNO "MED_GAUSS_ELNO"
267 #define MED_IPOINT_ELNO MED_GAUSS_ELNO
268
269
270 #define MED_NO_NAME ""
272 #define MED_NO_MESHNAME ""
273 #define MED_NO_MESH ""
275 #define MED_NO_MESH_SUPPORT ""
277 #define MED_NO_LOCALIZATION ""
279 #define MED_NO_INTERPOLATION ""
281 #define MED_NO_IPOINT_INTERNAL 1
283 #define MED_NO_PROFILE ""
288 #define MED_NO_GROUP ""
290 #define MED_ALLENTITIES_PROFILE MED_NO_PROFILE
294 #define MED_NO_PROFILE_INTERNAL "MED_NO_PROFILE_INTERNAL"
295 #define MED_SAME_PROFILE_INTERNAL "MED_SAME_PROFILE_INTERNAL"
297 #define MED_ALL_CONSTITUENT 0
301 #define MED_UNDEF_SIZE 0
302 #define MED_NO_PROFILE_SIZE 0
304 typedef enum {MED_SORT_DTIT,MED_SORT_ITDT,MED_SORT_UNDEF=-1 } med_sorting_type;
313 #define MED_ALL_DT -2
314 #define MED_ALL_IT -2
315 #define MED_NO_DT -1
316 #define MED_NO_IT -1
317 #define MED_UNDEF_DT 0
319 #define MED_ATT_NOT_FILLED -1
320
321
322 /* correspondance des types avec HDF 5 */
323
324 typedef hsize_t med_size;
325 typedef hssize_t med_ssize;
326 typedef hid_t med_idt;
327 typedef herr_t med_err;
329 /* types elementaires */
330
331 typedef double med_float;
332 typedef double med_float64;
333 typedef double med_double;
334 typedef float med_float32;
335
336 /*La ligne suivante est déterminée à l'étape de configuration*/
337 typedef int med_int;
338 typedef int32_t med_int32;
339 typedef int64_t med_int64;
341 #define INIT2X( x ) x, x,
342 #define INIT4X( x ) x, x, x, x
343 #define INIT10X( x ) x, x, x, x, x, x, x, x, x, x
344 #define MED_MAX_FILTER_SPACES 4100
345 #define MED_MAX_FILTER_SPACES_INIT {INIT4X(INIT10X(INIT10X(INIT10X(0)))), INIT10X(INIT10X(0)) }
346
350 typedef struct {
351 /*PRIVATE attributes*/
352 med_int nspaces;
353 med_idt memspace[MED_MAX_FILTER_SPACES];
354 med_idt diskspace[MED_MAX_FILTER_SPACES];
355 /*PUBLIC IN attributes*/
356 med_int nentity;
357 med_int nvaluesperentity;
358 med_int nconstituentpervalue;
359 med_int constituentselect;
360 med_switch_mode switchmode;
361 med_int filterarraysize;
362 med_size* filterarray23v30;
363 med_int profilearraysize;/*PRIVATE attribute en IN et OUT positionnée dans MEDfilterCr*/
364 med_storage_mode storagemode;
365 char profilename[MED_NAME_SIZE+1];
366 } med_filter;
367
368
369 #define MED_FILTER_INIT { 0, MED_MAX_FILTER_SPACES_INIT, MED_MAX_FILTER_SPACES_INIT ,0,0,0,0,\
370 MED_UNDEF_INTERLACE,MED_NO_FILTER_SIZE, NULL , \
371 MED_NO_PROFILE_SIZE,MED_UNDEF_PFLMODE,MED_NO_PROFILE }
372
373 #define MED_NO_FILTER NULL
374 #define MED_NO_FILTER_SIZE 0
375 #define MED_NO_PROFILE_F " "
376
380 typedef struct {
381 med_int majeur; med_int mineur; med_int release;
382 } med_file_version;
383 #define MED_FILE_VERSION_INIT {0, 0, 0};
384
388 typedef struct {
389 void *app_image_ptr;
390 size_t app_image_size;
391 int ref_count;
393 void *fapl_image_ptr;
394 size_t fapl_image_size;
395 int fapl_ref_count;
396 void *vfd_image_ptr;
397 size_t vfd_image_size;
398 int vfd_ref_count;
399 med_access_mode flags;
400 } med_memfile ;
401
402 #define MED_MEMFILE_INIT {NULL, 0, 1, NULL, 0, 0, NULL, 0, 0, MED_ACC_RDONLY}
403
405 #define AFF_MEMFILE \
406 XSCRUTE(memfile->app_image_ptr);\
407 ISCRUTE_long(memfile->app_image_size);\
408 ISCRUTE_int(memfile->ref_count);\
409 XSCRUTE(memfile->fapl_image_ptr);\
410 ISCRUTE_long(memfile->fapl_image_size);\
411 ISCRUTE_int(memfile->fapl_ref_count);\
412 XSCRUTE(memfile->vfd_image_ptr);\
413 ISCRUTE_long(memfile->vfd_image_size);\
414 ISCRUTE_int(memfile->vfd_ref_count);\
415 ISCRUTE_int(memfile->flags);
416
417
418 #include "med_proto.h"
419
420 /*En cas de modifications/ajouts de type d'entité/géométrique mettre à jour les itérateurs suivants : */
421
422 extern MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2];
423 extern MEDC_EXPORT const char * const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2];
424 extern MEDC_EXPORT med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2];
425 extern MEDC_EXPORT const char * const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2];
426 extern MEDC_EXPORT med_geometry_type MED_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2];
427 extern MEDC_EXPORT const char * const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2];
428 extern MEDC_EXPORT med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2];
429 extern MEDC_EXPORT const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2];
430 extern MEDC_EXPORT med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2];
431 extern MEDC_EXPORT const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2];
432 extern MEDC_EXPORT const med_geometry_type * const MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE[MED_N_ENTITY_TYPES+2];
433 #define MED_GET_GEOMETRY_TYPE_IT_FROM_ENTITY_TYPE_IT MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE
434 extern MEDC_EXPORT const int MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT[MED_N_ENTITY_TYPES+2];
435
436
437 /* Itérateurs sur les types d'entité et types géométriques */
438 extern MEDC_EXPORT int MEDgetEntityTypeIt (med_entity_type entitytype);
439 extern MEDC_EXPORT int MEDgetCellGeometryTypeIt (med_geometry_type geotype );
440 extern MEDC_EXPORT int MEDgetFaceGeometryTypeIt (med_geometry_type geotype );
441 extern MEDC_EXPORT int MEDgetEdgeGeometryTypeIt (med_geometry_type geotype );
442 extern MEDC_EXPORT int MEDgetNodeGeometryTypeIt (med_geometry_type geotype );
443 extern MEDC_EXPORT int MEDgetEntityGeometryTypeIt (med_entity_type entitytype, med_geometry_type geotype);
444
445 extern MEDC_EXPORT const char * const MEDgetGeometryTypeName (med_geometry_type geotype );
446 extern MEDC_EXPORT const char * const MEDgetEntityTypeName (med_entity_type entitytype);
447
448 /* Predefined names for struct elements */
449 #define MED_PARTICLE_NAME "MED_PARTICLE"
450 #define MED_BALL_NAME "MED_BALL"
451 #define MED_BEAM_NAME "MED_BEAM"
452
453 /* Predefined attributes names for struct elements */
454 #define MED_PARTICLE_LABEL "MED_PARTICLE_LABEL"
455 #define MED_BALL_DIAMETER "MED_BALL_DIAMETER"
456 #define MED_BEAM_THICKNESS "MED_BEAM_THICKNESS"
457
458 #ifdef __cplusplus
459 }
460 #endif
461
462 #endif /* MED_H */
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MED_ACC_RDONLY
Definition: med.h:122
MEDgetEntityGeometryTypeIt
MEDC_EXPORT int MEDgetEntityGeometryTypeIt(med_entity_type entitytype, med_geometry_type geotype)
Definition: MEDiterators.c:272
MED_ATT_INT
Definition: med.h:176
MED_INDEX_FACE
Definition: med.h:153
MED_GET_ENTITY_TYPE
MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
Definition: MEDiterators.c:25
med_grid_type
med_grid_type
Definition: med.h:139
MED_MAX_FILTER_SPACES
#define MED_MAX_FILTER_SPACES
Definition: med.h:351
MEDgetCellGeometryTypeIt
MEDC_EXPORT int MEDgetCellGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:210
MED_INTERNAL_FLOAT32
Definition: med.h:158
MED_UNDEF_STMODE
Definition: med.h:110
MED_INTERNAL_INT8
Definition: med.h:159
MED_UNSTRUCTURED_MESH
Definition: med.h:133
MED_INTERNAL_SNAME
Definition: med.h:161
med_geometry_type
int med_geometry_type
Definition: med.h:196
MED_ATT_NAME
Definition: med.h:177
MED_COORDINATE_AXIS1
Definition: med.h:152
med_memfile
Structure d'acceuil du buffer d'un fichier MED en mémoire.
Definition: med.h:395
MED_TRUE
Definition: med.h:262
med_int64
int64_t med_int64
Definition: med.h:346
MED_COMPACT_STMODE
Definition: med.h:112
med_double
double med_double
Definition: med.h:340
med_size
hsize_t med_size
Definition: med.h:331
MED_NO_INTERLACE
Definition: med.h:100
MED_ELSTRUCT
Definition: med.h:191
MED_DOUBLE
Definition: med.h:167
med_idt
hid_t med_idt
Definition: med.h:333
MED_GET_NODE_GEOMETRY_TYPE
MEDC_EXPORT med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]
Definition: MEDiterators.c:156
MED_FALSE
Definition: med.h:262
MED_UNDEF_DATATYPE
Definition: med.h:154
MED_UNDEF_MESH_TYPE
Definition: med.h:133
MED_FILTER
Definition: med.h:192
MED_SPHERICAL
Definition: med.h:260
MED_LINK
Definition: med.h:193
MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT
const MEDC_EXPORT int MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT[MED_N_ENTITY_TYPES+2]
Definition: MEDiterators.c:182
MED_ATT_FLOAT64
Definition: med.h:175
MED_FILE
Definition: med.h:190
MED_MESH_SUPPORT
Definition: med.h:191
med_err
herr_t med_err
Definition: med.h:334
MED_GLOBAL_STMODE
Definition: med.h:111
MED_UNDEF_INTERLACE
Definition: med.h:102
MED_DESCENDING_EDGE
Definition: med.h:145
MED_FAMILY_NUMBER
Definition: med.h:151
MED_N_NODE_FIXED_GEO
#define MED_N_NODE_FIXED_GEO
Definition: med.h:253
MED_UNDEF_CONNECTIVITY_MODE
Definition: med.h:257
MED_ACC_RDWR
Definition: med.h:123
MEDgetGeometryTypeName
const MEDC_EXPORT char *const MEDgetGeometryTypeName(med_geometry_type geotype)
Definition: MEDiterators.c:296
med_entity_type
med_entity_type
Definition: med.h:145
MED_INDEX_NODE
Definition: med.h:153
MED_STRUCTURED_MESH
Definition: med.h:133
MED_MESH
Definition: med.h:190
med_file_version
Structure d'acceuil du numéro de version MED d'un fichier.
Definition: med.h:387
MED_CYLINDRICAL
Definition: med.h:260
MED_UNDEF_ENTITY_TYPE
Definition: med.h:147
MED_LIBRARY
Definition: med.h:190
MED_GET_ENTITY_TYPENAME
const MEDC_EXPORT char *const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]
Definition: MEDiterators.c:36
med_internal_type
med_internal_type
Definition: med.h:158
MED_NAME
Definition: med.h:151
MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE
const MEDC_EXPORT med_geometry_type *const MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
Definition: MEDiterators.c:171
herr_t
int herr_t
Definition: H5public_extract.h:27
MED_VARIABLE_ATTRIBUTE
Definition: med.h:154
MED_INTERNAL_LNAME
Definition: med.h:162
MED_INTERPOLATION
Definition: med.h:192
hid_t
int64_t hid_t
Definition: H5public_extract.h:28
MED_FULL_INTERLACE
Definition: med.h:98
MED_ALL_ENTITY_TYPE
Definition: med.h:146
med_int
int med_int
Definition: med.h:344
MEDgetFaceGeometryTypeIt
MEDC_EXPORT int MEDgetFaceGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:242
MED_CURVILINEAR_GRID
Definition: med.h:141
MED_GET_CELL_GEOMETRY_TYPENAME
const MEDC_EXPORT char *const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]
Definition: MEDiterators.c:84
MED_STRUCT_ELEMENT
Definition: med.h:146
MED_FIELD
Definition: med.h:190
med_field_type
med_field_type
Definition: med.h:167
MED_UNDEF_PFLMODE
Definition: med.h:115
MED_COORDINATE_TRSF
Definition: med.h:154
med_filter
Filtre de sélection.
Definition: med.h:357
med_attribute_type
med_attribute_type
Definition: med.h:175
med_float32
float med_float32
Definition: med.h:341
MED_POLAR_GRID
Definition: med.h:140
med_bool
med_bool
Definition: med.h:262
MED_COORDINATE_AXIS2
Definition: med.h:152
MED_GET_EDGE_GEOMETRY_TYPENAME
const MEDC_EXPORT char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]
Definition: MEDiterators.c:148
MED_INTERNAL_INT64
Definition: med.h:160
MED_UNDEF_AXIS_TYPE
Definition: med.h:260
MED_JOINT
Definition: med.h:191
med_float
double med_float
Definition: med.h:338
MED_COORDINATE
Definition: med.h:151
MED_NO_CMODE
Definition: med.h:257
MED_ACC_UNDEF
Definition: med.h:126
MED_GLOBAL_PFLMODE
Definition: med.h:113
MED_CLASS_ALL
Definition: med.h:193
MED_PROFILE
Definition: med.h:192
med_access_mode
med_access_mode
Definition: med.h:122
MED_INTERNAL_UNDEF
Definition: med.h:163
MED_NUMBER
Definition: med.h:151
med_ssize
hssize_t med_ssize
Definition: med.h:332
MED_ACC_RDEXT
Definition: med.h:124
MED_N_FACE_FIXED_GEO
#define MED_N_FACE_FIXED_GEO
Definition: med.h:245
MED_FLOAT32
Definition: med.h:169
MED_INTERNAL_INT32
Definition: med.h:160
MED_CARTESIAN_GRID
Definition: med.h:139
MED_INT32
Definition: med.h:170
med_class
med_class
Definition: med.h:190
MED_N_CELL_FIXED_GEO
#define MED_N_CELL_FIXED_GEO
Definition: med.h:241
MED_LOCALIZATION
Definition: med.h:192
MED_INT
Definition: med.h:172
med_mesh_type
med_mesh_type
Definition: med.h:133
MED_N_ENTITY_TYPES
#define MED_N_ENTITY_TYPES
Definition: med.h:148
MED_FLOAT64
Definition: med.h:168
MED_INTERNAL_CHAR
Definition: med.h:163
MEDgetNodeGeometryTypeIt
MEDC_EXPORT int MEDgetNodeGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:266
MED_CELL
Definition: med.h:145
MED_ATT_UNDEF
Definition: med.h:178
MED_GET_FACE_GEOMETRY_TYPENAME
const MEDC_EXPORT char *const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]
Definition: MEDiterators.c:127
MED_NAME_SIZE
#define MED_NAME_SIZE
Definition: med.h:83
MED_FAMILY
Definition: med.h:191
med_data_type
med_data_type
Definition: med.h:151
MED_COORDINATE_AXIS3
Definition: med.h:152
MED_INTERNAL_IDENT
Definition: med.h:162
med_switch_mode
med_switch_mode
Definition: med.h:98
MED_NODE_ELEMENT
Definition: med.h:146
MED_CLASS_UNDEF
Definition: med.h:193
MED_N_EDGE_FIXED_GEO
#define MED_N_EDGE_FIXED_GEO
Definition: med.h:249
MED_INT64
Definition: med.h:171
MED_EQUIVALENCE
Definition: med.h:191
med_proto.h
MED_CARTESIAN
Definition: med.h:260
MED_NODE
Definition: med.h:145
MEDgetEntityTypeIt
MEDC_EXPORT int MEDgetEntityTypeIt(med_entity_type entitytype)
Definition: MEDiterators.c:196
MED_GET_EDGE_GEOMETRY_TYPE
MEDC_EXPORT med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]
Definition: MEDiterators.c:140
MED_INTERNAL_FLOAT64
Definition: med.h:158
med_axis_type
med_axis_type
Definition: med.h:260
med_parameter_type
med_field_type med_parameter_type
Definition: med.h:180
MED_GET_FACE_GEOMETRY_TYPE
MEDC_EXPORT med_geometry_type MED_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]
Definition: MEDiterators.c:114
MED_CONNECTIVITY
Definition: med.h:151
MED_INTERNAL_NAME
Definition: med.h:161
MED_DESCENDING
Definition: med.h:257
med_storage_mode
med_storage_mode
Definition: med.h:110
med_int32
int32_t med_int32
Definition: med.h:345
MEDgetEdgeGeometryTypeIt
MEDC_EXPORT int MEDgetEdgeGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:257
MED_INTERNAL_INT
Definition: med.h:160
MED_GROUP
Definition: med.h:191
MED_NUMERICAL_DATA
Definition: med.h:192
MEDgetEntityTypeName
const MEDC_EXPORT char *const MEDgetEntityTypeName(med_entity_type entitytype)
Definition: MEDiterators.c:284
MED_GLOBAL_NUMBER
Definition: med.h:153
MED_GET_CELL_GEOMETRY_TYPE
MEDC_EXPORT med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]
Definition: MEDiterators.c:55
med_float64
double med_float64
Definition: med.h:339
MED_ACC_CREAT
Definition: med.h:125
MED_UNDEF_GRID_TYPE
Definition: med.h:142
MED_NODAL
Definition: med.h:257
MED_GET_NODE_GEOMETRY_TYPENAME
const MEDC_EXPORT char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]
Definition: MEDiterators.c:162
MED_COMPACT_PFLMODE
Definition: med.h:114
med_connectivity_mode
med_connectivity_mode
Definition: med.h:257
MED_DESCENDING_FACE
Definition: med.h:145
hsize_t
unsigned long long hsize_t
Definition: H5public_extract.h:29