MED fichier: Référence du fichier med.h

MED fichier

- Documentation MED
- Guides d'utilisation
- Guides de référence

Structures de données | Macros | Définitions de type | Énumérations | Variables
Référence du fichier med.h
`#include <hdf5.h>`
`#include "med_proto.h"`
Graphe des dépendances par inclusion de med.h:

Aller au code source de ce fichier.

## Structures de données
struct | med_filter
| Filtre de sélection. Plus de détails...
struct | med_file_version
| Structure d'acceuil du numéro de version MED d'un fichier. Plus de détails...
struct | med_memfile
| Structure d'acceuil du buffer d'un fichier MED en mémoire. Plus de détails...

## Macros
#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 )
#define | HDF5_SELECT_BUG (const hsize_t **)
#define | H5F_LIBVER_18 1
#define | MED_MAJOR_NUM 4
#define | MED_MINOR_NUM 0
#define | MED_RELEASE_NUM 0
#define | MED_3_LATEST_MINOR 3
#define | MED_4_LATEST_MINOR 0
#define | MED_NUM_MAJEUR 4
#define | MED_NUM_MINEUR 0
#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 " "
#define | MED_PATHNAME_SIZE 255
#define | MED_MAX_CHFID_PATH MED_PATHNAME_SIZE
#define | MED_N_ENTITY_TYPES 6
#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
#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
#define | MED_POLYGON 400
#define | MED_POLYGON2 420
#define | MED_POLYHEDRON 500
#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
#define | 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
#define | MED_NO_DT -1
#define | MED_NO_IT -1
#define | MED_UNDEF_DT 0
#define | MED_ATT_NOT_FILLED -1
#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)) }
#define | MED_FILTER_INIT
#define | MED_NO_FILTER NULL
#define | MED_NO_FILTER_SIZE 0
#define | MED_NO_PROFILE_F " "
#define | MED_FILE_VERSION_INIT {0, 0, 0};
#define | MED_MEMFILE_INIT {NULL, 0, 1, NULL, 0, 0, NULL, 0, 0, MED_ACC_RDONLY}
#define | AFF_MEMFILE
#define | MED_PARTICLE_NAME "MED_PARTICLE"
#define | MED_BALL_NAME "MED_BALL"
#define | MED_BEAM_NAME "MED_BEAM"
#define | MED_PARTICLE_LABEL "MED_PARTICLE_LABEL"
#define | MED_BALL_DIAMETER "MED_BALL_DIAMETER"
#define | MED_BEAM_THICKNESS "MED_BEAM_THICKNESS"

## Définitions de type
typedef med_field_type | med_parameter_type
typedef int | med_geometry_type
typedef hsize_t | med_size
typedef hssize_t | med_ssize
typedef hid_t | med_idt
typedef herr_t | med_err
typedef double | med_float
typedef double | med_float64
typedef double | med_double
typedef float | med_float32
typedef int | med_int
typedef int32_t | med_int32
typedef int64_t | med_int64

## Énumérations
enum | med_switch_mode { MED_FULL_INTERLACE, MED_NO_INTERLACE, MED_UNDEF_INTERLACE =-1 }
enum | med_storage_mode { 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 }
enum | med_access_mode { MED_ACC_RDONLY, MED_ACC_RDWR, MED_ACC_RDEXT, MED_ACC_CREAT, MED_ACC_UNDEF }
enum | med_mesh_type { MED_UNSTRUCTURED_MESH, MED_STRUCTURED_MESH, MED_UNDEF_MESH_TYPE =-1 }
enum | med_grid_type { MED_CARTESIAN_GRID, MED_POLAR_GRID, MED_CURVILINEAR_GRID, MED_UNDEF_GRID_TYPE =-1 }
enum | med_entity_type { 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 }
enum | med_data_type { 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 }
enum | med_internal_type { MED_INTERNAL_FLOAT32 =4, MED_INTERNAL_FLOAT64 =6, 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 }
enum | med_field_type { 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 }
enum | med_attribute_type { MED_ATT_FLOAT64 =MED_INTERNAL_FLOAT64, MED_ATT_INT =MED_INTERNAL_INT, MED_ATT_NAME =MED_INTERNAL_NAME, MED_ATT_UNDEF =MED_INTERNAL_UNDEF }
enum | med_class { 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 }
enum | med_connectivity_mode { MED_NODAL, MED_DESCENDING, MED_UNDEF_CONNECTIVITY_MODE =-1, MED_NO_CMODE =-1 }
enum | med_axis_type { MED_CARTESIAN, MED_CYLINDRICAL, MED_SPHERICAL, MED_UNDEF_AXIS_TYPE =-1 }
enum | med_bool { MED_FALSE, MED_TRUE }
enum | med_sorting_type { MED_SORT_DTIT, MED_SORT_ITDT, MED_SORT_UNDEF =-1 }

## Variables
MEDC_EXPORT med_entity_type | MED_GET_ENTITY_TYPE [MED_N_ENTITY_TYPES+2]
MEDC_EXPORT const char *const | MED_GET_ENTITY_TYPENAME [MED_N_ENTITY_TYPES+2]
MEDC_EXPORT med_geometry_type | MED_GET_CELL_GEOMETRY_TYPE [MED_N_CELL_FIXED_GEO+2]
MEDC_EXPORT const char *const | MED_GET_CELL_GEOMETRY_TYPENAME [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_FACE_GEOMETRY_TYPENAME [MED_N_FACE_FIXED_GEO+2]
MEDC_EXPORT med_geometry_type | MED_GET_EDGE_GEOMETRY_TYPE [MED_N_EDGE_FIXED_GEO+2]
MEDC_EXPORT const char * | MED_GET_EDGE_GEOMETRY_TYPENAME [MED_N_EDGE_FIXED_GEO+2]
MEDC_EXPORT med_geometry_type | MED_GET_NODE_GEOMETRY_TYPE [MED_N_NODE_FIXED_GEO+2]
MEDC_EXPORT const char * | MED_GET_NODE_GEOMETRY_TYPENAME [MED_N_NODE_FIXED_GEO+2]