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 - 2021 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.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 )
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 4
58 #define MED_MINOR_NUM 1
59 #define MED_RELEASE_NUM 1
60 #define MED_3_LATEST_MINOR 3
61 #define MED_4_LATEST_MINOR 1
62 #define MED_40_LATEST_RELEASE 1
63
64 /*En franglais*/
65 #define MED_NUM_MAJEUR 4
66 #define MED_NUM_MINEUR 1
67 #define MED_NUM_RELEASE 1
68
69 #define STR(x) #x
70 #define _MED_VERSION(x,y,z) STR(x) "." STR(y) "." STR(z)
71 #define MED_VERSION_STR _MED_VERSION(MED_NUM_MAJEUR,MED_NUM_MINEUR,MED_NUM_RELEASE)
72
73
74
75 #define MED_NULL (void *) NULL
76 #define MED_MAX_PARA 20
77
79 #define MED_COMMENT_SIZE 200
80 #define MED_IDENT_SIZE 8
81 #define MED_NAME_SIZE 64
82 #define MED_SNAME_SIZE 16
83 #define MED_LNAME_SIZE 80
84
85 #define MED_SNAME_BLANK " "
86 #define MED_NAME_BLANK " "
87 /* 0123456789012345678901234567890123456789012345678901234567890123*/
88
89 #define MED_PATHNAME_SIZE 255
90 #define MED_MAX_CHFID_PATH MED_PATHNAME_SIZE
95 /* 2.3v3.0 ok*/
96 typedef enum {MED_FULL_INTERLACE,
98 MED_NO_INTERLACE,
100 MED_UNDEF_INTERLACE=-1
101 } med_switch_mode;
102
103
107 /* 2.3v3.0 ok*/
108 typedef enum { MED_UNDEF_STMODE,
109 MED_GLOBAL_STMODE,
110 MED_COMPACT_STMODE,
111 MED_GLOBAL_PFLMODE=MED_GLOBAL_STMODE,
112 MED_COMPACT_PFLMODE=MED_COMPACT_STMODE,
113 MED_UNDEF_PFLMODE=MED_UNDEF_STMODE
114 } med_storage_mode;
115
116
120 typedef enum {MED_ACC_RDONLY,
121 MED_ACC_RDWR,
122 MED_ACC_RDEXT,
123 MED_ACC_CREAT,
124 MED_ACC_UNDEF
125 } med_access_mode;
126
130 /*2.3v3.0 ok*/
131 typedef enum {MED_UNSTRUCTURED_MESH, MED_STRUCTURED_MESH, MED_UNDEF_MESH_TYPE=-1} med_mesh_type;
132
136 /* 2.3v3.0 ok*/
137 typedef enum {MED_CARTESIAN_GRID,
138 MED_POLAR_GRID,
139 MED_CURVILINEAR_GRID,
140 MED_UNDEF_GRID_TYPE=-1} med_grid_type;
141
142 /* 2.3v3.0 ok*/
143 typedef enum {MED_CELL, MED_DESCENDING_FACE, MED_DESCENDING_EDGE, MED_NODE,
144 MED_NODE_ELEMENT, MED_STRUCT_ELEMENT, MED_ALL_ENTITY_TYPE,
145 MED_UNDEF_ENTITY_TYPE=-1 } med_entity_type;
146 #define MED_N_ENTITY_TYPES 6
147
148 /* 2.3v3.0 ok*/
149 typedef enum {MED_COORDINATE, MED_CONNECTIVITY, MED_NAME, MED_NUMBER, MED_FAMILY_NUMBER,
150 MED_COORDINATE_AXIS1, MED_COORDINATE_AXIS2, MED_COORDINATE_AXIS3,
151 MED_INDEX_FACE, MED_INDEX_NODE, MED_GLOBAL_NUMBER,
152 MED_VARIABLE_ATTRIBUTE, MED_COORDINATE_TRSF,MED_UNDEF_DATATYPE=-1} med_data_type;
153
154 /* 2.3v3.0 ok*/
156 typedef enum {MED_INTERNAL_FLOAT32=4, MED_INTERNAL_FLOAT64=6,
157 MED_INTERNAL_INT8=20,
158 MED_INTERNAL_INT32=24 , MED_INTERNAL_INT64=26, MED_INTERNAL_INT=28,
159 MED_INTERNAL_NAME=30 , MED_INTERNAL_SNAME=32,
160 MED_INTERNAL_LNAME=34 , MED_INTERNAL_IDENT=38,
161 MED_INTERNAL_CHAR=40 , MED_INTERNAL_UNDEF =0 } med_internal_type;
163 /*TODO: Réécrire les routines _MEDatt avec med_internal_type au lieu de med_field_type */
164
165 typedef enum {MED_DOUBLE=MED_INTERNAL_FLOAT64,
166 MED_FLOAT64=MED_INTERNAL_FLOAT64,
167 MED_FLOAT32=MED_INTERNAL_FLOAT32,
168 MED_INT32=MED_INTERNAL_INT32,
169 MED_INT64=MED_INTERNAL_INT64,
170 MED_INT=MED_INTERNAL_INT
171 } med_field_type;
172
173 typedef enum {MED_ATT_FLOAT64=MED_INTERNAL_FLOAT64,
174 MED_ATT_INT=MED_INTERNAL_INT,
175 MED_ATT_NAME=MED_INTERNAL_NAME,
176 MED_ATT_UNDEF=MED_INTERNAL_UNDEF } med_attribute_type;
177
178 typedef med_field_type med_parameter_type;
179
180 #define MED_ATT_FLOAT64_ctype med_float
181 #define MED_ATT_INT_ctype med_int
182 #define MED_ATT_NAME_ctype char
183 #define MED_ATT_UNDEF_ctype unknown_ctype
185 #define MED_CTYPE(medatttype) medatttype##_ctype
186
187 /* 2.3v3.0 ok : med_type_donnee*/
188 typedef enum {MED_MESH, MED_FIELD, MED_LIBRARY, MED_FILE,
189 MED_MESH_SUPPORT,MED_ELSTRUCT, MED_FAMILY,MED_EQUIVALENCE, MED_GROUP, MED_JOINT,
190 MED_LOCALIZATION, MED_PROFILE, MED_FILTER, MED_INTERPOLATION, MED_NUMERICAL_DATA,
191 MED_LINK, MED_CLASS_UNDEF=-1, MED_CLASS_ALL=-2 } med_class;
192
193
194 typedef int med_geometry_type;
195
196 /* Mailles dont la géométrie à une connectivité fixe*/
197
198 #define MED_POINT1 001
199
200 #define MED_SEG2 102
201 #define MED_SEG3 103
202 #define MED_SEG4 104
203 #define MED_TRIA3 203
204 #define MED_QUAD4 204
205 #define MED_TRIA6 206
206 #define MED_TRIA7 207
207 #define MED_QUAD8 208
208 #define MED_QUAD9 209
209
210 #define MED_TETRA4 304
211 #define MED_PYRA5 305
212 #define MED_PENTA6 306
213 #define MED_HEXA8 308
214 #define MED_TETRA10 310
215 #define MED_OCTA12 312
216 #define MED_PYRA13 313
217 #define MED_PENTA15 315
218 #define MED_PENTA18 318
219 #define MED_HEXA20 320
220 #define MED_HEXA27 327
221
222 /* Mailles dont la géométrie à une connectivité variable*/
223 #define MED_POLYGON 400
224 #define MED_POLYGON2 420
225 #define MED_POLYHEDRON 500
226
227 /* Mailles dont la géométrie est dynamique (découverte du modèle dans le fichier) */
228 #define MED_STRUCT_GEO_INTERNAL 600
229 #define MED_STRUCT_GEO_SUP_INTERNAL 700
230
231 #define MED_NONE 0
232 #define MED_NO_GEOTYPE MED_NONE
233 #define MED_UNDEF_GEOTYPE MED_NONE
234 #define MED_UNDEF_GEOMETRY_TYPE MED_NONE
235 #define MED_ALL_GEOTYPE -1
236 #define MED_GEO_ALL MED_ALL_GEOTYPE
237
238 #define MED_N_CELL_GEO 25
239 #define MED_N_CELL_FIXED_GEO 24
240 #define MED_N_CELL_GEO_FIXED_CON 21
242 #define MED_N_FACE_GEO 8
243 #define MED_N_FACE_FIXED_GEO 8
244 #define MED_N_FACE_GEO_FIXED_CON 6
245
246 #define MED_N_EDGE_TYPES 3
247 #define MED_N_EDGE_FIXED_GEO 3
248 #define MED_N_EDGE_GEO_FIXED_CON 3
249
250 #define MED_N_NODE_GEO 1
251 #define MED_N_NODE_FIXED_GEO 1
252 #define MED_N_NODE_GEO_FIXED_CON 1
253
254 /*2.3v3.0 ok*/
255 typedef enum {MED_NODAL, MED_DESCENDING, MED_UNDEF_CONNECTIVITY_MODE=-1, MED_NO_CMODE=-1} med_connectivity_mode;
256
257 /*2.3v3.0 ok*/
258 typedef enum {MED_CARTESIAN, MED_CYLINDRICAL, MED_SPHERICAL, MED_UNDEF_AXIS_TYPE=-1} med_axis_type;
259
260 typedef enum {MED_FALSE, MED_TRUE} med_bool ;
261
262 #define MED_GAUSS_ELNO "MED_GAUSS_ELNO"
265 #define MED_IPOINT_ELNO MED_GAUSS_ELNO
266
267
268 #define MED_NO_NAME ""
270 #define MED_NO_MESHNAME ""
271 #define MED_NO_MESH ""
273 #define MED_NO_MESH_SUPPORT ""
275 #define MED_NO_LOCALIZATION ""
277 #define MED_NO_INTERPOLATION ""
279 #define MED_NO_IPOINT_INTERNAL 1
281 #define MED_NO_PROFILE ""
286 #define MED_NO_GROUP ""
288 #define MED_ALLENTITIES_PROFILE MED_NO_PROFILE
292 #define MED_NO_PROFILE_INTERNAL "MED_NO_PROFILE_INTERNAL"
293 #define MED_SAME_PROFILE_INTERNAL "MED_SAME_PROFILE_INTERNAL"
295 #define MED_ALL_CONSTITUENT 0
299 #define MED_UNDEF_SIZE 0
300 #define MED_NO_PROFILE_SIZE 0
302 typedef enum {MED_SORT_DTIT,MED_SORT_ITDT,MED_SORT_UNDEF=-1 } med_sorting_type;
311 #define MED_ALL_DT -2
312 #define MED_ALL_IT -2
313 #define MED_NO_DT -1
314 #define MED_NO_IT -1
315 #define MED_UNDEF_DT 0
317 #define MED_ATT_NOT_FILLED -1
318
319
320 /* correspondance des types avec HDF 5 */
321
322 typedef hsize_t med_size;
323 typedef hssize_t med_ssize;
324 typedef hid_t med_idt;
325 typedef herr_t med_err;
327 /* types elementaires */
328
329 typedef double med_float;
330 typedef double med_float64;
331 typedef double med_double;
332 typedef float med_float32;
333
334 /*La ligne suivante est déterminée à l'étape de configuration*/
335 typedef int med_int;
336 typedef int32_t med_int32;
337 typedef int64_t med_int64;
339 #define INIT2X( x ) x, x,
340 #define INIT4X( x ) x, x, x, x
341 #define INIT10X( x ) x, x, x, x, x, x, x, x, x, x
342 #define MED_MAX_FILTER_SPACES 4100
343 #define MED_MAX_FILTER_SPACES_INIT {INIT4X(INIT10X(INIT10X(INIT10X(0)))), INIT10X(INIT10X(0)) }
344
348 typedef struct {
349 /*PRIVATE attributes*/
350 med_int nspaces;
351 med_idt memspace[MED_MAX_FILTER_SPACES];
352 med_idt diskspace[MED_MAX_FILTER_SPACES];
353 /*PUBLIC IN attributes*/
354 med_int nentity;
355 med_int nvaluesperentity;
356 med_int nconstituentpervalue;
357 med_int constituentselect;
358 med_switch_mode switchmode;
359 med_int filterarraysize;
360 med_size* filterarray23v30;
361 med_int profilearraysize;/*PRIVATE attribute en IN et OUT positionnée dans MEDfilterCr*/
362 med_storage_mode storagemode;
363 char profilename[MED_NAME_SIZE+1];
364 } med_filter;
365
366
367 #define MED_FILTER_INIT { 0, MED_MAX_FILTER_SPACES_INIT, MED_MAX_FILTER_SPACES_INIT ,0,0,0,0,\
368 MED_UNDEF_INTERLACE,MED_NO_FILTER_SIZE, NULL , \
369 MED_NO_PROFILE_SIZE,MED_UNDEF_PFLMODE,MED_NO_PROFILE }
370
371 #define MED_NO_FILTER NULL
372 #define MED_NO_FILTER_SIZE 0
373 #define MED_NO_PROFILE_F " "
374
378 typedef struct {
379 med_int majeur; med_int mineur; med_int release;
380 } med_file_version;
381 #define MED_FILE_VERSION_INIT {0, 0, 0};
382
386 typedef struct {
387 void *app_image_ptr;
388 size_t app_image_size;
389 int ref_count;
391 void *fapl_image_ptr;
392 size_t fapl_image_size;
393 int fapl_ref_count;
394 void *vfd_image_ptr;
395 size_t vfd_image_size;
396 int vfd_ref_count;
397 med_access_mode flags;
398 } med_memfile ;
399
400 #define MED_MEMFILE_INIT {NULL, 0, 1, NULL, 0, 0, NULL, 0, 0, MED_ACC_RDONLY}
401
403 #define AFF_MEMFILE \
404 XSCRUTE(memfile->app_image_ptr);\
405 ISCRUTE_long(memfile->app_image_size);\
406 ISCRUTE_int(memfile->ref_count);\
407 XSCRUTE(memfile->fapl_image_ptr);\
408 ISCRUTE_long(memfile->fapl_image_size);\
409 ISCRUTE_int(memfile->fapl_ref_count);\
410 XSCRUTE(memfile->vfd_image_ptr);\
411 ISCRUTE_long(memfile->vfd_image_size);\
412 ISCRUTE_int(memfile->vfd_ref_count);\
413 ISCRUTE_int(memfile->flags);
414
415
416 #include "med_proto.h"
417
418 /*En cas de modifications/ajouts de type d'entité/géométrique mettre à jour les itérateurs suivants : */
419
420 extern MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2];
421 extern MEDC_EXPORT const char * const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2];
422 extern MEDC_EXPORT med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2];
423 extern MEDC_EXPORT const char * const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2];
424 extern MEDC_EXPORT med_geometry_type MED_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2];
425 extern MEDC_EXPORT const char * const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2];
426 extern MEDC_EXPORT med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2];
427 extern MEDC_EXPORT const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2];
428 extern MEDC_EXPORT med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2];
429 extern MEDC_EXPORT const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2];
430 extern MEDC_EXPORT const med_geometry_type * const MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE[MED_N_ENTITY_TYPES+2];
431 #define MED_GET_GEOMETRY_TYPE_IT_FROM_ENTITY_TYPE_IT MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE
432 extern MEDC_EXPORT const int MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT[MED_N_ENTITY_TYPES+2];
433
434
435 /* Itérateurs sur les types d'entité et types géométriques */
436 extern MEDC_EXPORT int MEDgetEntityTypeIt (med_entity_type entitytype);
437 extern MEDC_EXPORT int MEDgetCellGeometryTypeIt (med_geometry_type geotype );
438 extern MEDC_EXPORT int MEDgetFaceGeometryTypeIt (med_geometry_type geotype );
439 extern MEDC_EXPORT int MEDgetEdgeGeometryTypeIt (med_geometry_type geotype );
440 extern MEDC_EXPORT int MEDgetNodeGeometryTypeIt (med_geometry_type geotype );
441 extern MEDC_EXPORT int MEDgetEntityGeometryTypeIt (med_entity_type entitytype, med_geometry_type geotype);
442
443 extern MEDC_EXPORT const char * const MEDgetGeometryTypeName (med_geometry_type geotype );
444 extern MEDC_EXPORT const char * const MEDgetEntityTypeName (med_entity_type entitytype);
445
446 /* Predefined names for struct elements */
447 #define MED_PARTICLE_NAME "MED_PARTICLE"
448 #define MED_BALL_NAME "MED_BALL"
449 #define MED_BEAM_NAME "MED_BEAM"
450
451 /* Predefined attributes names for struct elements */
452 #define MED_PARTICLE_LABEL "MED_PARTICLE_LABEL"
453 #define MED_BALL_DIAMETER "MED_BALL_DIAMETER"
454 #define MED_BEAM_THICKNESS "MED_BEAM_THICKNESS"
455
456 #ifdef __cplusplus
457 }
458 #endif
459
460 #endif /* MED_H */
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MED_CARTESIAN
Definition: med.h:258
MED_FULL_INTERLACE
Definition: med.h:96
MED_INTERNAL_INT64
Definition: med.h:158
MED_FIELD
Definition: med.h:188
MEDgetEntityGeometryTypeIt
MEDC_EXPORT int MEDgetEntityGeometryTypeIt(med_entity_type entitytype, med_geometry_type geotype)
Definition: MEDiterators.c:272
MED_MAX_FILTER_SPACES
#define MED_MAX_FILTER_SPACES
Definition: med.h:349
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:137
med_filter
Filtre de sélection.
Definition: med.h:355
MEDgetCellGeometryTypeIt
MEDC_EXPORT int MEDgetCellGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:210
med_geometry_type
int med_geometry_type
Definition: med.h:194
med_int64
int64_t med_int64
Definition: med.h:344
MED_COORDINATE_AXIS2
Definition: med.h:150
MED_NODAL
Definition: med.h:255
med_double
double med_double
Definition: med.h:338
MED_DESCENDING_FACE
Definition: med.h:143
med_size
hsize_t med_size
Definition: med.h:329
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_idt
hid_t med_idt
Definition: med.h:331
MED_FLOAT32
Definition: med.h:167
MED_CARTESIAN_GRID
Definition: med.h:137
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_ACC_RDONLY
Definition: med.h:120
MED_INTERNAL_NAME
Definition: med.h:159
MED_UNDEF_STMODE
Definition: med.h:108
MED_STRUCT_ELEMENT
Definition: med.h:144
med_err
herr_t med_err
Definition: med.h:332
MED_UNDEF_PFLMODE
Definition: med.h:113
herr_t
int herr_t
Definition: H5public_extract.h:27
MED_N_NODE_FIXED_GEO
#define MED_N_NODE_FIXED_GEO
Definition: med.h:251
MED_NUMERICAL_DATA
Definition: med.h:190
MEDgetGeometryTypeName
const MEDC_EXPORT char *const MEDgetGeometryTypeName(med_geometry_type geotype)
Definition: MEDiterators.c:296
MED_TRUE
Definition: med.h:260
med_entity_type
med_entity_type
Definition: med.h:143
MED_NO_CMODE
Definition: med.h:255
MED_LOCALIZATION
Definition: med.h:190
MED_CLASS_ALL
Definition: med.h:191
MED_PROFILE
Definition: med.h:190
MED_INT64
Definition: med.h:169
MED_GET_ENTITY_TYPENAME
const MEDC_EXPORT char *const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]
Definition: MEDiterators.c:36
MED_FALSE
Definition: med.h:260
med_internal_type
med_internal_type
Definition: med.h:156
hid_t
int64_t hid_t
Definition: H5public_extract.h:28
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
MED_INTERNAL_FLOAT64
Definition: med.h:156
MED_CELL
Definition: med.h:143
med_file_version
Structure d'acceuil du numéro de version MED d'un fichier.
Definition: med.h:385
MED_ATT_FLOAT64
Definition: med.h:173
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_INT32
Definition: med.h:168
med_int
int med_int
Definition: med.h:342
MEDgetFaceGeometryTypeIt
MEDC_EXPORT int MEDgetFaceGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:242
med_field_type
med_field_type
Definition: med.h:165
MED_DOUBLE
Definition: med.h:165
MED_INT
Definition: med.h:170
MED_UNDEF_DATATYPE
Definition: med.h:152
MED_DESCENDING
Definition: med.h:255
MED_ACC_RDWR
Definition: med.h:121
MED_NUMBER
Definition: med.h:149
med_attribute_type
med_attribute_type
Definition: med.h:173
med_float32
float med_float32
Definition: med.h:339
MED_FAMILY
Definition: med.h:189
med_bool
med_bool
Definition: med.h:260
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_CLASS_UNDEF
Definition: med.h:191
MED_GLOBAL_NUMBER
Definition: med.h:151
MED_EQUIVALENCE
Definition: med.h:189
MED_MESH_SUPPORT
Definition: med.h:189
MED_UNDEF_GRID_TYPE
Definition: med.h:140
MED_FAMILY_NUMBER
Definition: med.h:149
MED_INTERNAL_FLOAT32
Definition: med.h:156
med_float
double med_float
Definition: med.h:336
MED_SPHERICAL
Definition: med.h:258
MED_COMPACT_PFLMODE
Definition: med.h:112
MED_LINK
Definition: med.h:191
MED_INTERNAL_INT8
Definition: med.h:157
MED_GROUP
Definition: med.h:189
med_access_mode
med_access_mode
Definition: med.h:120
MED_CONNECTIVITY
Definition: med.h:149
MED_INDEX_FACE
Definition: med.h:151
med_ssize
hssize_t med_ssize
Definition: med.h:330
MED_UNDEF_INTERLACE
Definition: med.h:100
MED_NODE
Definition: med.h:143
MED_INTERNAL_LNAME
Definition: med.h:160
MED_INTERPOLATION
Definition: med.h:190
MED_N_FACE_FIXED_GEO
#define MED_N_FACE_FIXED_GEO
Definition: med.h:243
MED_MESH
Definition: med.h:188
med_class
med_class
Definition: med.h:188
MED_INTERNAL_INT
Definition: med.h:158
MED_CYLINDRICAL
Definition: med.h:258
MED_N_CELL_FIXED_GEO
#define MED_N_CELL_FIXED_GEO
Definition: med.h:239
MED_ATT_NAME
Definition: med.h:175
med_mesh_type
med_mesh_type
Definition: med.h:131
MED_N_ENTITY_TYPES
#define MED_N_ENTITY_TYPES
Definition: med.h:146
MEDgetNodeGeometryTypeIt
MEDC_EXPORT int MEDgetNodeGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:266
MED_ACC_CREAT
Definition: med.h:123
MED_ATT_INT
Definition: med.h:174
MED_GLOBAL_STMODE
Definition: med.h:109
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_switch_mode
med_switch_mode
Definition: med.h:96
MED_INDEX_NODE
Definition: med.h:151
MED_NAME_SIZE
#define MED_NAME_SIZE
Definition: med.h:81
med_data_type
med_data_type
Definition: med.h:149
MED_UNSTRUCTURED_MESH
Definition: med.h:131
MED_UNDEF_ENTITY_TYPE
Definition: med.h:145
MED_N_EDGE_FIXED_GEO
#define MED_N_EDGE_FIXED_GEO
Definition: med.h:247
MED_ACC_RDEXT
Definition: med.h:122
med_memfile
Structure d'acceuil du buffer d'un fichier MED en mémoire.
Definition: med.h:393
MED_COORDINATE_TRSF
Definition: med.h:152
MED_JOINT
Definition: med.h:189
MED_COMPACT_STMODE
Definition: med.h:110
MEDgetEntityTypeIt
MEDC_EXPORT int MEDgetEntityTypeIt(med_entity_type entitytype)
Definition: MEDiterators.c:196
MED_NO_INTERLACE
Definition: med.h:98
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_parameter_type
med_field_type med_parameter_type
Definition: med.h:178
med_axis_type
med_axis_type
Definition: med.h:258
MED_UNDEF_MESH_TYPE
Definition: med.h:131
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_STRUCTURED_MESH
Definition: med.h:131
MED_ALL_ENTITY_TYPE
Definition: med.h:144
MED_FLOAT64
Definition: med.h:166
MED_CURVILINEAR_GRID
Definition: med.h:139
MED_INTERNAL_CHAR
Definition: med.h:161
MED_ATT_UNDEF
Definition: med.h:176
med_storage_mode
med_storage_mode
Definition: med.h:108
med_int32
int32_t med_int32
Definition: med.h:343
MED_COORDINATE_AXIS3
Definition: med.h:150
MED_VARIABLE_ATTRIBUTE
Definition: med.h:152
MED_FILE
Definition: med.h:188
MEDgetEdgeGeometryTypeIt
MEDC_EXPORT int MEDgetEdgeGeometryTypeIt(med_geometry_type geotype)
Definition: MEDiterators.c:257
MED_COORDINATE
Definition: med.h:149
MED_INTERNAL_INT32
Definition: med.h:158
MED_ELSTRUCT
Definition: med.h:189
MED_GLOBAL_PFLMODE
Definition: med.h:111
MED_FILTER
Definition: med.h:190
MED_UNDEF_CONNECTIVITY_MODE
Definition: med.h:255
MED_INTERNAL_UNDEF
Definition: med.h:161
MEDgetEntityTypeName
const MEDC_EXPORT char *const MEDgetEntityTypeName(med_entity_type entitytype)
Definition: MEDiterators.c:284
MED_INTERNAL_SNAME
Definition: med.h:159
med_float64
double med_float64
Definition: med.h:337
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_proto.h
MED_UNDEF_AXIS_TYPE
Definition: med.h:258
MED_LIBRARY
Definition: med.h:188
MED_COORDINATE_AXIS1
Definition: med.h:150
MED_NAME
Definition: med.h:149
hsize_t
unsigned long long hsize_t
Definition: H5public_extract.h:29
MED_INTERNAL_IDENT
Definition: med.h:160
med_connectivity_mode
med_connectivity_mode
Definition: med.h:255
MED_NODE_ELEMENT
Definition: med.h:144
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_POLAR_GRID
Definition: med.h:138
MED_ACC_UNDEF
Definition: med.h:124
MED_DESCENDING_EDGE
Definition: med.h:143