med.h
Aller à la documentation de ce fichier.
/* -*- mode:C; coding:utf-8 -*- */
/* This file is part of MED.
*
* COPYRIGHT (C) 1999 - 2020 EDF R&D, CEA/DEN
* MED is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MED is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with MED. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MED_H
#define MED_H
#include <hdf5.h>
#ifdef HAVE_STDINT_H
#include <stdint.h> // Use the C99 official header
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* This is the minimum hdf version med must have */
#define HDF_VERSION_REF "5-1.10.2"
#define HDF_VERSION_MAJOR_REF 1
#define HDF_VERSION_MINOR_REF 10
#define HDF_VERSION_RELEASE_REF 2
#define HDF_VERSION_NUM_REF (HDF_VERSION_MAJOR_REF * 10000 + HDF_VERSION_MINOR_REF * 100 + HDF_VERSION_RELEASE_REF )
#define HDF5_VERSION (H5_VERS_MAJOR * 10000 + H5_VERS_MINOR * 100 + H5_VERS_RELEASE )
#if HDF5_VERSION < 10607
/*TODO : A enlever après MAJ complète api hdf5-1.8 */
#define HDF5_SELECT_BUG (const hsize_t **)
#else
#define HDF5_SELECT_BUG
#endif
/*Le symbole H5F_LIBVER_18 n'existe pas dans hdf5-1.8.4 (uniquement à partir de la version 1.8.6)
Pour rester dans le modèle interne hdf introduit en 1.8 quelque soit les futurs modèles internes hdf
on impose le modèle 1.8 et non le LATEST (cf _MEDfileCreate).
La valeur utilisée est celle définie dans les version >= 1.8.6 (cf H5Fpublic.h) */
#ifndef H5F_LIBVER_18
#define H5F_LIBVER_18 1
#endif
/*En anglais*/
#define MED_MAJOR_NUM 4
#define MED_MINOR_NUM 1
#define MED_RELEASE_NUM 0
#define MED_3_LATEST_MINOR 3
#define MED_4_LATEST_MINOR 1
#define MED_40_LATEST_RELEASE 1
/*En franglais*/
#define MED_NUM_MAJEUR 4
#define MED_NUM_MINEUR 1
#define MED_NUM_RELEASE 0
#define STR(x) #x
#define _MED_VERSION(x,y,z) STR(x) "." STR(y) "." STR(z)
#define MED_VERSION_STR _MED_VERSION(MED_NUM_MAJEUR,MED_NUM_MINEUR,MED_NUM_RELEASE)
#define MED_NULL (void *) NULL
#define MED_MAX_PARA 20
#define MED_COMMENT_SIZE 200
#define MED_IDENT_SIZE 8
#define MED_NAME_SIZE 64
#define MED_SNAME_SIZE 16
#define MED_LNAME_SIZE 80
#define MED_SNAME_BLANK " "
#define MED_NAME_BLANK " "
/* 0123456789012345678901234567890123456789012345678901234567890123*/
#define MED_PATHNAME_SIZE 255
#define MED_MAX_CHFID_PATH MED_PATHNAME_SIZE
/* 2.3v3.0 ok*/
typedef enum {MED_FULL_INTERLACE,
MED_NO_INTERLACE,
MED_UNDEF_INTERLACE=-1
} med_switch_mode;
/* 2.3v3.0 ok*/
typedef enum { MED_UNDEF_STMODE,
MED_GLOBAL_STMODE,
MED_COMPACT_STMODE,
MED_GLOBAL_PFLMODE=MED_GLOBAL_STMODE,
MED_COMPACT_PFLMODE=MED_COMPACT_STMODE,
MED_UNDEF_PFLMODE=MED_UNDEF_STMODE
} med_storage_mode;
typedef enum {MED_ACC_RDONLY,
MED_ACC_RDWR,
MED_ACC_RDEXT,
MED_ACC_CREAT,
MED_ACC_UNDEF
} med_access_mode;
/*2.3v3.0 ok*/
typedef enum {MED_UNSTRUCTURED_MESH, MED_STRUCTURED_MESH, MED_UNDEF_MESH_TYPE=-1} med_mesh_type;
/* 2.3v3.0 ok*/
typedef enum {MED_CARTESIAN_GRID,
MED_POLAR_GRID,
MED_CURVILINEAR_GRID,
MED_UNDEF_GRID_TYPE=-1} med_grid_type;
/* 2.3v3.0 ok*/
typedef enum {MED_CELL, MED_DESCENDING_FACE, MED_DESCENDING_EDGE, MED_NODE,
MED_NODE_ELEMENT, MED_STRUCT_ELEMENT, MED_ALL_ENTITY_TYPE,
MED_UNDEF_ENTITY_TYPE=-1 } med_entity_type;
#define MED_N_ENTITY_TYPES 6
/* 2.3v3.0 ok*/
typedef enum {MED_COORDINATE, MED_CONNECTIVITY, MED_NAME, MED_NUMBER, MED_FAMILY_NUMBER,
MED_COORDINATE_AXIS1, MED_COORDINATE_AXIS2, MED_COORDINATE_AXIS3,
MED_INDEX_FACE, MED_INDEX_NODE, MED_GLOBAL_NUMBER,
MED_VARIABLE_ATTRIBUTE, MED_COORDINATE_TRSF,MED_UNDEF_DATATYPE=-1} med_data_type;
/* 2.3v3.0 ok*/
typedef enum {MED_INTERNAL_FLOAT32=4, MED_INTERNAL_FLOAT64=6,
MED_INTERNAL_INT8=20,
MED_INTERNAL_INT32=24 , MED_INTERNAL_INT64=26, MED_INTERNAL_INT=28,
MED_INTERNAL_NAME=30 , MED_INTERNAL_SNAME=32,
MED_INTERNAL_LNAME=34 , MED_INTERNAL_IDENT=38,
MED_INTERNAL_CHAR=40 , MED_INTERNAL_UNDEF =0 } med_internal_type;
/*TODO: Réécrire les routines _MEDatt avec med_internal_type au lieu de med_field_type */
typedef enum {MED_DOUBLE=MED_INTERNAL_FLOAT64,
MED_FLOAT64=MED_INTERNAL_FLOAT64,
MED_FLOAT32=MED_INTERNAL_FLOAT32,
MED_INT32=MED_INTERNAL_INT32,
MED_INT64=MED_INTERNAL_INT64,
MED_INT=MED_INTERNAL_INT
} med_field_type;
typedef enum {MED_ATT_FLOAT64=MED_INTERNAL_FLOAT64,
MED_ATT_INT=MED_INTERNAL_INT,
MED_ATT_NAME=MED_INTERNAL_NAME,
MED_ATT_UNDEF=MED_INTERNAL_UNDEF } med_attribute_type;
typedef med_field_type med_parameter_type;
#define MED_ATT_FLOAT64_ctype med_float
#define MED_ATT_INT_ctype med_int
#define MED_ATT_NAME_ctype char
#define MED_ATT_UNDEF_ctype unknown_ctype
#define MED_CTYPE(medatttype) medatttype##_ctype
/* 2.3v3.0 ok : med_type_donnee*/
typedef enum {MED_MESH, MED_FIELD, MED_LIBRARY, MED_FILE,
MED_MESH_SUPPORT,MED_ELSTRUCT, MED_FAMILY,MED_EQUIVALENCE, MED_GROUP, MED_JOINT,
MED_LOCALIZATION, MED_PROFILE, MED_FILTER, MED_INTERPOLATION, MED_NUMERICAL_DATA,
MED_LINK, MED_CLASS_UNDEF=-1, MED_CLASS_ALL=-2 } med_class;
typedef int med_geometry_type;
/* Mailles dont la géométrie à une connectivité fixe*/
#define MED_POINT1 001
#define MED_SEG2 102
#define MED_SEG3 103
#define MED_SEG4 104
#define MED_TRIA3 203
#define MED_QUAD4 204
#define MED_TRIA6 206
#define MED_TRIA7 207
#define MED_QUAD8 208
#define MED_QUAD9 209
#define MED_TETRA4 304
#define MED_PYRA5 305
#define MED_PENTA6 306
#define MED_HEXA8 308
#define MED_TETRA10 310
#define MED_OCTA12 312
#define MED_PYRA13 313
#define MED_PENTA15 315
#define MED_PENTA18 318
#define MED_HEXA20 320
#define MED_HEXA27 327
/* Mailles dont la géométrie à une connectivité variable*/
#define MED_POLYGON 400
#define MED_POLYGON2 420
#define MED_POLYHEDRON 500
/* Mailles dont la géométrie est dynamique (découverte du modèle dans le fichier) */
#define MED_STRUCT_GEO_INTERNAL 600
#define MED_STRUCT_GEO_SUP_INTERNAL 700
#define MED_NONE 0
#define MED_NO_GEOTYPE MED_NONE
#define MED_UNDEF_GEOTYPE MED_NONE
#define MED_UNDEF_GEOMETRY_TYPE MED_NONE
#define MED_ALL_GEOTYPE -1
#define MED_GEO_ALL MED_ALL_GEOTYPE
#define MED_N_CELL_GEO 25
#define MED_N_CELL_FIXED_GEO 24
#define MED_N_CELL_GEO_FIXED_CON 21
#define MED_N_FACE_GEO 8
#define MED_N_FACE_FIXED_GEO 8
#define MED_N_FACE_GEO_FIXED_CON 6
#define MED_N_EDGE_TYPES 3
#define MED_N_EDGE_FIXED_GEO 3
#define MED_N_EDGE_GEO_FIXED_CON 3
#define MED_N_NODE_GEO 1
#define MED_N_NODE_FIXED_GEO 1
#define MED_N_NODE_GEO_FIXED_CON 1
/*2.3v3.0 ok*/
typedef enum {MED_NODAL, MED_DESCENDING, MED_UNDEF_CONNECTIVITY_MODE=-1, MED_NO_CMODE=-1} med_connectivity_mode;
/*2.3v3.0 ok*/
typedef enum {MED_CARTESIAN, MED_CYLINDRICAL, MED_SPHERICAL, MED_UNDEF_AXIS_TYPE=-1} med_axis_type;
typedef enum {MED_FALSE, MED_TRUE} med_bool ;
#define MED_GAUSS_ELNO "MED_GAUSS_ELNO"
#define MED_IPOINT_ELNO MED_GAUSS_ELNO
#define MED_NO_NAME ""
#define MED_NO_MESHNAME ""
#define MED_NO_MESH ""
#define MED_NO_MESH_SUPPORT ""
#define MED_NO_LOCALIZATION ""
#define MED_NO_INTERPOLATION ""
#define MED_NO_IPOINT_INTERNAL 1
#define MED_NO_PROFILE ""
#define MED_NO_GROUP ""
#define MED_ALLENTITIES_PROFILE MED_NO_PROFILE
#define MED_NO_PROFILE_INTERNAL "MED_NO_PROFILE_INTERNAL"
#define MED_SAME_PROFILE_INTERNAL "MED_SAME_PROFILE_INTERNAL"
#define MED_ALL_CONSTITUENT 0
#define MED_UNDEF_SIZE 0
#define MED_NO_PROFILE_SIZE 0
typedef enum {MED_SORT_DTIT,MED_SORT_ITDT,MED_SORT_UNDEF=-1 } med_sorting_type;
#define MED_ALL_DT -2
#define MED_ALL_IT -2
#define MED_NO_DT -1
#define MED_NO_IT -1
#define MED_UNDEF_DT 0
#define MED_ATT_NOT_FILLED -1
/* correspondance des types avec HDF 5 */
typedef hsize_t med_size;
typedef hssize_t med_ssize;
typedef hid_t med_idt;
typedef herr_t med_err;
/* types elementaires */
typedef double med_float;
typedef double med_float64;
typedef double med_double;
typedef float med_float32;
/*La ligne suivante est déterminée à l'étape de configuration*/
typedef int med_int;
typedef int32_t med_int32;
typedef int64_t med_int64;
#define INIT2X( x ) x, x,
#define INIT4X( x ) x, x, x, x
#define INIT10X( x ) x, x, x, x, x, x, x, x, x, x
#define MED_MAX_FILTER_SPACES 4100
#define MED_MAX_FILTER_SPACES_INIT {INIT4X(INIT10X(INIT10X(INIT10X(0)))), INIT10X(INIT10X(0)) }
\brief Filtre de sélection.
*/
typedef struct {
/*PRIVATE attributes*/
med_int nspaces;
med_idt memspace[MED_MAX_FILTER_SPACES];
med_idt diskspace[MED_MAX_FILTER_SPACES];
/*PUBLIC IN attributes*/
med_int nentity;
med_int nvaluesperentity;
med_int nconstituentpervalue;
med_int constituentselect;
med_switch_mode switchmode;
med_int filterarraysize;
med_size* filterarray23v30;
med_int profilearraysize;/*PRIVATE attribute en IN et OUT positionnée dans MEDfilterCr*/
med_storage_mode storagemode;
char profilename[MED_NAME_SIZE+1];
} med_filter;
#define MED_FILTER_INIT { 0, MED_MAX_FILTER_SPACES_INIT, MED_MAX_FILTER_SPACES_INIT ,0,0,0,0,\
MED_UNDEF_INTERLACE,MED_NO_FILTER_SIZE, NULL , \
MED_NO_PROFILE_SIZE,MED_UNDEF_PFLMODE,MED_NO_PROFILE }
#define MED_NO_FILTER NULL
#define MED_NO_FILTER_SIZE 0
#define MED_NO_PROFILE_F " "
\brief Structure d'acceuil du numéro de version MED d'un fichier.
*/
typedef struct {
med_int majeur; med_int mineur; med_int release;
} med_file_version;
#define MED_FILE_VERSION_INIT {0, 0, 0};
\brief Structure d'acceuil du buffer d'un fichier MED en mémoire.
*/
typedef struct {
void *app_image_ptr;
size_t app_image_size;
int ref_count;
void *fapl_image_ptr;
size_t fapl_image_size;
int fapl_ref_count;
void *vfd_image_ptr;
size_t vfd_image_size;
int vfd_ref_count;
med_access_mode flags;
} med_memfile ;
#define MED_MEMFILE_INIT {NULL, 0, 1, NULL, 0, 0, NULL, 0, 0, MED_ACC_RDONLY}
#define AFF_MEMFILE \
XSCRUTE(memfile->app_image_ptr);\
ISCRUTE_long(memfile->app_image_size);\
ISCRUTE_int(memfile->ref_count);\
XSCRUTE(memfile->fapl_image_ptr);\
ISCRUTE_long(memfile->fapl_image_size);\
ISCRUTE_int(memfile->fapl_ref_count);\
XSCRUTE(memfile->vfd_image_ptr);\
ISCRUTE_long(memfile->vfd_image_size);\
ISCRUTE_int(memfile->vfd_ref_count);\
ISCRUTE_int(memfile->flags);
#include "med_proto.h"
/*En cas de modifications/ajouts de type d'entité/géométrique mettre à jour les itérateurs suivants : */
extern MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2];
extern MEDC_EXPORT const char * const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2];
extern MEDC_EXPORT med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2];
extern MEDC_EXPORT const char * const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2];
extern MEDC_EXPORT med_geometry_type MED_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2];
extern MEDC_EXPORT const char * const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2];
extern MEDC_EXPORT med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2];
extern MEDC_EXPORT const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2];
extern MEDC_EXPORT med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2];
extern MEDC_EXPORT const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2];
extern MEDC_EXPORT const med_geometry_type * const MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE[MED_N_ENTITY_TYPES+2];
#define MED_GET_GEOMETRY_TYPE_IT_FROM_ENTITY_TYPE_IT MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE
extern MEDC_EXPORT const int MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT[MED_N_ENTITY_TYPES+2];
/* Itérateurs sur les types d'entité et types géométriques */
extern MEDC_EXPORT int MEDgetEntityTypeIt (med_entity_type entitytype);
extern MEDC_EXPORT int MEDgetCellGeometryTypeIt (med_geometry_type geotype );
extern MEDC_EXPORT int MEDgetFaceGeometryTypeIt (med_geometry_type geotype );
extern MEDC_EXPORT int MEDgetEdgeGeometryTypeIt (med_geometry_type geotype );
extern MEDC_EXPORT int MEDgetNodeGeometryTypeIt (med_geometry_type geotype );
extern MEDC_EXPORT int MEDgetEntityGeometryTypeIt (med_entity_type entitytype, med_geometry_type geotype);
/**/
extern MEDC_EXPORT const char * const MEDgetGeometryTypeName (med_geometry_type geotype );
extern MEDC_EXPORT const char * const MEDgetEntityTypeName (med_entity_type entitytype);
/* Predefined names for struct elements */
#define MED_PARTICLE_NAME "MED_PARTICLE"
#define MED_BALL_NAME "MED_BALL"
#define MED_BEAM_NAME "MED_BEAM"
/* Predefined attributes names for struct elements */
#define MED_PARTICLE_LABEL "MED_PARTICLE_LABEL"
#define MED_BALL_DIAMETER "MED_BALL_DIAMETER"
#define MED_BEAM_THICKNESS "MED_BEAM_THICKNESS"
#ifdef __cplusplus
}
#endif
#endif /* MED_H */
hid_t
int64_t hid_t
Definition H5public_extract.h:28
herr_t
int herr_t
Definition H5public_extract.h:27
hsize_t
uint64_t hsize_t
Definition H5public_extract.h:29
MEDC_EXPORT
#define MEDC_EXPORT
Definition medC_win_dll.h:29
MED_GET_ENTITY_TYPE
MEDC_EXPORT med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
Definition MEDiterators.c:25
MED_NAME_SIZE
#define MED_NAME_SIZE
Definition med.h:81
med_switch_mode
med_switch_mode
Definition med.h:96
MED_NO_INTERLACE
@ MED_NO_INTERLACE
Definition med.h:98
MED_UNDEF_INTERLACE
@ MED_UNDEF_INTERLACE
Definition med.h:100
MED_FULL_INTERLACE
@ MED_FULL_INTERLACE
Definition med.h:96
MEDgetEntityTypeIt
MEDC_EXPORT int MEDgetEntityTypeIt(med_entity_type entitytype)
Definition MEDiterators.c:196
med_geometry_type
int med_geometry_type
Definition med.h:194
med_bool
med_bool
Definition med.h:260
MED_FALSE
@ MED_FALSE
Definition med.h:260
MED_TRUE
@ MED_TRUE
Definition med.h:260
med_data_type
med_data_type
Definition med.h:149
MED_NUMBER
@ MED_NUMBER
Definition med.h:149
MED_INDEX_FACE
@ MED_INDEX_FACE
Definition med.h:151
MED_COORDINATE_AXIS1
@ MED_COORDINATE_AXIS1
Definition med.h:150
MED_COORDINATE_AXIS2
@ MED_COORDINATE_AXIS2
Definition med.h:150
MED_COORDINATE_TRSF
@ MED_COORDINATE_TRSF
Definition med.h:152
MED_GLOBAL_NUMBER
@ MED_GLOBAL_NUMBER
Definition med.h:151
MED_VARIABLE_ATTRIBUTE
@ MED_VARIABLE_ATTRIBUTE
Definition med.h:152
MED_UNDEF_DATATYPE
@ MED_UNDEF_DATATYPE
Definition med.h:152
MED_CONNECTIVITY
@ MED_CONNECTIVITY
Definition med.h:149
MED_NAME
@ MED_NAME
Definition med.h:149
MED_COORDINATE
@ MED_COORDINATE
Definition med.h:149
MED_COORDINATE_AXIS3
@ MED_COORDINATE_AXIS3
Definition med.h:150
MED_INDEX_NODE
@ MED_INDEX_NODE
Definition med.h:151
MED_FAMILY_NUMBER
@ MED_FAMILY_NUMBER
Definition med.h:149
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_GET_ENTITY_TYPENAME
MEDC_EXPORT const char *const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]
Definition MEDiterators.c:36
med_double
double med_double
Definition med.h:329
med_storage_mode
med_storage_mode
Definition med.h:108
MED_UNDEF_STMODE
@ MED_UNDEF_STMODE
Definition med.h:108
MED_UNDEF_PFLMODE
@ MED_UNDEF_PFLMODE
Definition med.h:113
MED_COMPACT_PFLMODE
@ MED_COMPACT_PFLMODE
Definition med.h:112
MED_GLOBAL_PFLMODE
@ MED_GLOBAL_PFLMODE
Definition med.h:111
MED_GLOBAL_STMODE
@ MED_GLOBAL_STMODE
Definition med.h:109
MED_COMPACT_STMODE
@ MED_COMPACT_STMODE
Definition med.h:110
MED_MAX_FILTER_SPACES
#define MED_MAX_FILTER_SPACES
Definition med.h:340
MEDgetNodeGeometryTypeIt
MEDC_EXPORT int MEDgetNodeGeometryTypeIt(med_geometry_type geotype)
Definition MEDiterators.c:266
med_grid_type
med_grid_type
Definition med.h:137
MED_CARTESIAN_GRID
@ MED_CARTESIAN_GRID
Definition med.h:137
MED_UNDEF_GRID_TYPE
@ MED_UNDEF_GRID_TYPE
Definition med.h:140
MED_POLAR_GRID
@ MED_POLAR_GRID
Definition med.h:138
MED_CURVILINEAR_GRID
@ MED_CURVILINEAR_GRID
Definition med.h:139
med_int32
int32_t med_int32
Definition med.h:334
MEDgetEntityGeometryTypeIt
MEDC_EXPORT int MEDgetEntityGeometryTypeIt(med_entity_type entitytype, med_geometry_type geotype)
Definition MEDiterators.c:272
med_parameter_type
med_field_type med_parameter_type
Definition med.h:178
med_field_type
med_field_type
Definition med.h:165
MED_INT
@ MED_INT
Definition med.h:170
MED_INT64
@ MED_INT64
Definition med.h:169
MED_INT32
@ MED_INT32
Definition med.h:168
MED_FLOAT64
@ MED_FLOAT64
Definition med.h:166
MED_FLOAT32
@ MED_FLOAT32
Definition med.h:167
MED_DOUBLE
@ MED_DOUBLE
Definition med.h:165
med_axis_type
med_axis_type
Definition med.h:258
MED_CARTESIAN
@ MED_CARTESIAN
Definition med.h:258
MED_SPHERICAL
@ MED_SPHERICAL
Definition med.h:258
MED_UNDEF_AXIS_TYPE
@ MED_UNDEF_AXIS_TYPE
Definition med.h:258
MED_CYLINDRICAL
@ MED_CYLINDRICAL
Definition med.h:258
MED_GET_CELL_GEOMETRY_TYPENAME
MEDC_EXPORT const char *const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]
Definition MEDiterators.c:84
med_sorting_type
med_sorting_type
Definition med.h:300
MED_SORT_ITDT
@ MED_SORT_ITDT
Definition med.h:300
MED_SORT_UNDEF
@ MED_SORT_UNDEF
Definition med.h:300
MED_SORT_DTIT
@ MED_SORT_DTIT
Definition med.h:300
med_class
med_class
Definition med.h:188
MED_NUMERICAL_DATA
@ MED_NUMERICAL_DATA
Definition med.h:190
MED_INTERPOLATION
@ MED_INTERPOLATION
Definition med.h:190
MED_FIELD
@ MED_FIELD
Definition med.h:188
MED_FAMILY
@ MED_FAMILY
Definition med.h:189
MED_ELSTRUCT
@ MED_ELSTRUCT
Definition med.h:189
MED_LINK
@ MED_LINK
Definition med.h:191
MED_PROFILE
@ MED_PROFILE
Definition med.h:190
MED_CLASS_UNDEF
@ MED_CLASS_UNDEF
Definition med.h:191
MED_LOCALIZATION
@ MED_LOCALIZATION
Definition med.h:190
MED_EQUIVALENCE
@ MED_EQUIVALENCE
Definition med.h:189
MED_FILE
@ MED_FILE
Definition med.h:188
MED_MESH
@ MED_MESH
Definition med.h:188
MED_JOINT
@ MED_JOINT
Definition med.h:189
MED_FILTER
@ MED_FILTER
Definition med.h:190
MED_GROUP
@ MED_GROUP
Definition med.h:189
MED_MESH_SUPPORT
@ MED_MESH_SUPPORT
Definition med.h:189
MED_LIBRARY
@ MED_LIBRARY
Definition med.h:188
MED_CLASS_ALL
@ MED_CLASS_ALL
Definition med.h:191
MED_GET_FACE_GEOMETRY_TYPENAME
MEDC_EXPORT const char *const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]
Definition MEDiterators.c:127
med_float64
double med_float64
Definition med.h:328
MED_GET_NODE_GEOMETRY_TYPENAME
MEDC_EXPORT const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]
Definition MEDiterators.c:162
med_mesh_type
med_mesh_type
Definition med.h:131
MED_UNSTRUCTURED_MESH
@ MED_UNSTRUCTURED_MESH
Definition med.h:131
MED_UNDEF_MESH_TYPE
@ MED_UNDEF_MESH_TYPE
Definition med.h:131
MED_STRUCTURED_MESH
@ MED_STRUCTURED_MESH
Definition med.h:131
MEDgetFaceGeometryTypeIt
MEDC_EXPORT int MEDgetFaceGeometryTypeIt(med_geometry_type geotype)
Definition MEDiterators.c:242
med_int
int med_int
Definition med.h:333
MED_N_NODE_FIXED_GEO
#define MED_N_NODE_FIXED_GEO
Definition med.h:251
med_ssize
hssize_t med_ssize
Definition med.h:321
med_internal_type
med_internal_type
Definition med.h:156
MED_INTERNAL_INT64
@ MED_INTERNAL_INT64
Definition med.h:158
MED_INTERNAL_INT
@ MED_INTERNAL_INT
Definition med.h:158
MED_INTERNAL_INT32
@ MED_INTERNAL_INT32
Definition med.h:158
MED_INTERNAL_INT8
@ MED_INTERNAL_INT8
Definition med.h:157
MED_INTERNAL_NAME
@ MED_INTERNAL_NAME
Definition med.h:159
MED_INTERNAL_IDENT
@ MED_INTERNAL_IDENT
Definition med.h:160
MED_INTERNAL_SNAME
@ MED_INTERNAL_SNAME
Definition med.h:159
MED_INTERNAL_FLOAT32
@ MED_INTERNAL_FLOAT32
Definition med.h:156
MED_INTERNAL_FLOAT64
@ MED_INTERNAL_FLOAT64
Definition med.h:156
MED_INTERNAL_UNDEF
@ MED_INTERNAL_UNDEF
Definition med.h:161
MED_INTERNAL_LNAME
@ MED_INTERNAL_LNAME
Definition med.h:160
MED_INTERNAL_CHAR
@ MED_INTERNAL_CHAR
Definition med.h:161
MED_N_ENTITY_TYPES
#define MED_N_ENTITY_TYPES
Definition med.h:146
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_entity_type
med_entity_type
Definition med.h:143
MED_NODE
@ MED_NODE
Definition med.h:143
MED_UNDEF_ENTITY_TYPE
@ MED_UNDEF_ENTITY_TYPE
Definition med.h:145
MED_CELL
@ MED_CELL
Definition med.h:143
MED_NODE_ELEMENT
@ MED_NODE_ELEMENT
Definition med.h:144
MED_DESCENDING_FACE
@ MED_DESCENDING_FACE
Definition med.h:143
MED_ALL_ENTITY_TYPE
@ MED_ALL_ENTITY_TYPE
Definition med.h:144
MED_STRUCT_ELEMENT
@ MED_STRUCT_ELEMENT
Definition med.h:144
MED_DESCENDING_EDGE
@ MED_DESCENDING_EDGE
Definition med.h:143
MEDgetEdgeGeometryTypeIt
MEDC_EXPORT int MEDgetEdgeGeometryTypeIt(med_geometry_type geotype)
Definition MEDiterators.c:257
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_N_FACE_FIXED_GEO
#define MED_N_FACE_FIXED_GEO
Definition med.h:243
med_float
double med_float
Definition med.h:327
med_attribute_type
med_attribute_type
Definition med.h:173
MED_ATT_UNDEF
@ MED_ATT_UNDEF
Definition med.h:176
MED_ATT_FLOAT64
@ MED_ATT_FLOAT64
Definition med.h:173
MED_ATT_INT
@ MED_ATT_INT
Definition med.h:174
MED_ATT_NAME
@ MED_ATT_NAME
Definition med.h:175
MEDgetGeometryTypeName
MEDC_EXPORT const char *const MEDgetGeometryTypeName(med_geometry_type geotype)
Definition MEDiterators.c:296
med_size
hsize_t med_size
Definition med.h:320
MED_N_EDGE_FIXED_GEO
#define MED_N_EDGE_FIXED_GEO
Definition med.h:247
MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE
MEDC_EXPORT const med_geometry_type *const MED_GET_CELL_GEOMETRY_TYPE_FROM_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
Definition MEDiterators.c:171
med_err
herr_t med_err
Definition med.h:323
MED_N_CELL_FIXED_GEO
#define MED_N_CELL_FIXED_GEO
Definition med.h:239
MEDgetEntityTypeName
MEDC_EXPORT const char *const MEDgetEntityTypeName(med_entity_type entitytype)
Definition MEDiterators.c:284
med_float32
float med_float32
Definition med.h:330
med_access_mode
med_access_mode
Definition med.h:120
MED_ACC_RDEXT
@ MED_ACC_RDEXT
Definition med.h:122
MED_ACC_UNDEF
@ MED_ACC_UNDEF
Definition med.h:124
MED_ACC_RDONLY
@ MED_ACC_RDONLY
Definition med.h:120
MED_ACC_CREAT
@ MED_ACC_CREAT
Definition med.h:123
MED_ACC_RDWR
@ MED_ACC_RDWR
Definition med.h:121
MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT
MEDC_EXPORT const int MED_GET_N_FIXED_GEO_FOR_ENTITY_TYPE_IT[MED_N_ENTITY_TYPES+2]
Definition MEDiterators.c:182
med_int64
int64_t med_int64
Definition med.h:335
MED_GET_EDGE_GEOMETRY_TYPENAME
MEDC_EXPORT const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]
Definition MEDiterators.c:148
MEDgetCellGeometryTypeIt
MEDC_EXPORT int MEDgetCellGeometryTypeIt(med_geometry_type geotype)
Definition MEDiterators.c:210
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_idt
hid_t med_idt
Definition med.h:322
med_connectivity_mode
med_connectivity_mode
Definition med.h:255
MED_NO_CMODE
@ MED_NO_CMODE
Definition med.h:255
MED_NODAL
@ MED_NODAL
Definition med.h:255
MED_DESCENDING
@ MED_DESCENDING
Definition med.h:255
MED_UNDEF_CONNECTIVITY_MODE
@ MED_UNDEF_CONNECTIVITY_MODE
Definition med.h:255
med_proto.h
med_file_version
Structure d'acceuil du numéro de version MED d'un fichier.
Definition med.h:376
med_filter::profilename
char profilename[MED_NAME_SIZE+1]
Definition med.h:361
med_filter::nentity
med_int nentity
Definition med.h:352
med_filter::filterarray23v30
med_size * filterarray23v30
Definition med.h:358
med_filter::storagemode
med_storage_mode storagemode
Definition med.h:360
med_filter::nspaces
med_int nspaces
Definition med.h:348
med_filter::nconstituentpervalue
med_int nconstituentpervalue
Definition med.h:354
med_filter::filterarraysize
med_int filterarraysize
Definition med.h:357
med_filter::switchmode
med_switch_mode switchmode
Definition med.h:356
med_filter::memspace
med_idt memspace[MED_MAX_FILTER_SPACES]
Definition med.h:349
med_filter::constituentselect
med_int constituentselect
Definition med.h:355
med_filter::nvaluesperentity
med_int nvaluesperentity
Definition med.h:353
med_filter::profilearraysize
med_int profilearraysize
Definition med.h:359
med_filter::diskspace
med_idt diskspace[MED_MAX_FILTER_SPACES]
Definition med.h:350
med_filter
Filtre de sélection.
Definition med.h:346
med_memfile::vfd_image_ptr
void * vfd_image_ptr
Definition med.h:392
med_memfile::flags
med_access_mode flags
Definition med.h:395
med_memfile::ref_count
int ref_count
Definition med.h:387
med_memfile::fapl_image_size
size_t fapl_image_size
Definition med.h:390
med_memfile::fapl_image_ptr
void * fapl_image_ptr
Definition med.h:389
med_memfile::vfd_image_size
size_t vfd_image_size
Definition med.h:393
med_memfile::fapl_ref_count
int fapl_ref_count
Definition med.h:391
med_memfile::vfd_ref_count
int vfd_ref_count
Definition med.h:394
med_memfile::app_image_ptr
void * app_image_ptr
Definition med.h:385
med_memfile::app_image_size
size_t app_image_size
Definition med.h:386
med_memfile
Structure d'acceuil du buffer d'un fichier MED en mémoire.
Definition med.h:384