# Référence du fichier 2.3.6/med.h

`#include <hdf5.h>`
`#include "med_proto.h"`
Graphe des dépendances par inclusion de 2.3.6/med.h:

Aller au code source de ce fichier.

## Macros

#define | HDF5_VERSION (H5_VERS_MAJOR * 10000 + H5_VERS_MINOR * 100 + H5_VERS_RELEASE )
#define | HDF5_SELECT_BUG (const hsize_t **)
#define | MED_NUM_MAJEUR 2
#define | MED_NUM_MINEUR 3
#define | MED_NUM_RELEASE 6
#define | MED_NULL (void *) NULL
#define | MED_MAX_PARA 20
#define | MED_TAILLE_DESC 200
#define | MED_TAILLE_IDENT 8
#define | MED_TAILLE_NOM 32
#define | MED_TAILLE_LNOM 80
#define | MED_TAILLE_PNOM 16
#define | MED_PNOM_BLANC " "
#define | MED_NOM_BLANC " "
#define | MED_NBR_GEOMETRIE_MAILLE 15
#define | MED_NBR_GEOMETRIE_FACE 4
#define | MED_NBR_GEOMETRIE_ARETE 2
#define | MED_NOPG 1
#define | MED_NOGAUSS ""
#define | MED_NOGAUSSi MED_NOM_BLANC
#define | MED_GAUSS_ELNO "MED_GAUSS_ELNO"
#define | MED_NOPFL ""
#define | MED_NOPFLi MED_NOM_BLANC
#define | MED_NOLIEN ""
#define | MED_NOLIENi MED_NOM_BLANC
#define | MED_NOPF 0
#define | MED_NOPDT -1
#define | MED_NONOR -1
#define | MED_DIM1 1
#define | MED_ALL 0
#define | MED_NOREF ""
#define | MED_DEFAUT ""

## Définition de 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 int | med_int

## Énumérations

enum | med_mode_switch { MED_FULL_INTERLACE, MED_NO_INTERLACE, MED23V30_FULL_INTERLACE, MED23V30_NO_INTERLACE }
enum | med_mode_profil { MED_NO_PFLMOD, MED_GLOBAL, MED_COMPACT, MED_NO_PFLMOD, MED_GLOBAL, MED_COMPACT }
enum | med_lecture_profil { MED_PFL_NON_COMPACT, MED_PFL_COMPACT, MED_PFL_NON_COMPACT, MED_PFL_COMPACT }
enum | med_mode_acces { MED_LECTURE, MED_LECTURE_ECRITURE, MED_LECTURE_AJOUT, MED_CREATION, MED_UNDEF_MODE_ACCES, MED_LECTURE, MED_LECTURE_ECRITURE, MED_LECTURE_AJOUT, MED_CREATION, MED_UNDEF_MODE_ACCES }
enum | med_maillage { MED_NON_STRUCTURE, MED_STRUCTURE, MED_NON_STRUCTURE, MED_STRUCTURE }
enum | med_type_grille { MED_GRILLE_CARTESIENNE, MED_GRILLE_POLAIRE, MED_GRILLE_STANDARD, MED_GRILLE_CARTESIENNE, MED_GRILLE_POLAIRE, MED_GRILLE_STANDARD }
enum | med_entite_maillage { MED_MAILLE, MED_FACE, MED_ARETE, MED_NOEUD, MED_NOEUD_MAILLE, MED_MAILLE, MED_FACE, MED_ARETE, MED_NOEUD, MED_NOEUD_MAILLE }
enum | med_table { MED_COOR, MED_CONN, MED_NOM, MED_NUM, MED_FAM, MED_COOR_IND1, MED_COOR_IND2, MED_COOR_IND3, MED_COOR, MED_CONN, MED_NOM, MED_NUM, MED_FAM, MED_COOR_IND1, MED_COOR_IND2, MED_COOR_IND3 }
enum | med_type_champ { MED_FLOAT64 = 6, MED_INT32 = 24, MED_INT64 = 26, MED_INT = 28, MED23V30_FLOAT64 = 6, MED23V30_INT32 = 24, MED23V30_INT64 = 26, MED23V30_INT = 28 }
enum | med_type_donnee { MED_MAILLAGE, MED_CHAMP, MED_MAILLAGE, MED_CHAMP }

enum

med_geometrie_element {
MED_POINT1 = 1, MED_SEG2 = 102, MED_SEG3 = 103, MED_TRIA3 = 203,
MED_QUAD4 = 204, MED_TRIA6 = 206, MED_QUAD8 = 208, MED_TETRA4 = 304,
MED_PYRA5 = 305, MED_PENTA6 = 306, MED_HEXA8 = 308, MED_TETRA10 = 310,
MED_PYRA13 = 313, MED_PENTA15 = 315, MED_HEXA20 = 320, MED_POLYGONE = 400,
MED_POLYEDRE = 500, MED_NONE = 0, MED_SEG4 = 104, MED_TRIA7 = 207,
MED_QUAD9 = 209, MED_OCTA12 = 312, MED_HEXA27 = 327, MED23V30_POINT1 = 1,
MED23V30_SEG2 = 102, MED23V30_SEG3 = 103, MED23V30_TRIA3 = 203, MED23V30_QUAD4 = 204,
MED23V30_TRIA6 = 206, MED23V30_QUAD8 = 208, MED23V30_TETRA4 = 304, MED23V30_PYRA5 = 305,
MED23V30_PENTA6 = 306, MED23V30_HEXA8 = 308, MED23V30_TETRA10 = 310, MED23V30_PYRA13 = 313,
MED23V30_PENTA15 = 315, MED23V30_HEXA20 = 320, MED23V30_POLYGONE = 400, MED23V30_POLYEDRE = 500,
MED23V30_NONE = 0
}

enum | med_connectivite { MED_NOD, MED_DESC, MED_NOD, MED_DESC }
enum | med_repere { MED_CART, MED_CYL, MED_SPHER, MED_CART, MED_CYL, MED_SPHER }
enum | med_booleen { MED_FAUX, MED_VRAI, MED_FAUX, MED_VRAI }
enum | med_dim_famille { MED_GROUPE, MED_ATTR, MED_FAMILLE, MED_GROUPE, MED_ATTR, MED_FAMILLE }
enum | med_dim_champ { MED_COMP, MED_DTYPE, MED_COMP, MED_DTYPE }
enum | med_fich_info { MED_HDF_VERSION, MED_VERSION, MED_FICH_DES, MED_HDF_VERSION, MED_VERSION, MED_FICH_DES }

## Variables

MEDC_EXPORT char * | MED_ENTITE_MAILLAGE_AFF [5]
MEDC_EXPORT char * | MED_GEOMETRIE_MAILLE_AFF [MED_NBR_GEOMETRIE_MAILLE+2]
MEDC_EXPORT char * | MED_GEOMETRIE_FACE_AFF [MED_NBR_GEOMETRIE_FACE+1]
MEDC_EXPORT char * | MED_GEOMETRIE_ARETE_AFF [MED_NBR_GEOMETRIE_ARETE]
MEDC_EXPORT char * | MED_GEOMETRIE_NOEUD_AFF [1]