#include <med.h>
#include <med_config.h>
#include <med_utils.h>
#include <med_misc.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
Aller au code source de ce fichier.
Macros | |
#define | MED_LECTURE_MAILLAGE_SUPPORT_UNIQUEMENT 2 |
#define | MED_LECTURE_ENTETE_SEULEMENT 1 |
#define | USER_MODE MED_COMPACT_STMODE |
#define | xstr(s) str(s) |
#define | str(s) #s |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | MAXBANNERLEN 255 |
Définition de type | |
typedef void(* | _myfuncptr )(const void *) |
Fonctions | |
void | affd (const void *pva) |
void | affi (const void *pva) |
void | affs (const void *pva) |
_myfuncptr | MEDstructPrintFunction (med_attribute_type atttype) |
med_int | lecture_nombre_famille (med_idt fid, const char *const nommaa) |
void | lecture_famille_maillage (med_idt fid, const char *const nommaa, med_int nfam) |
med_int | lecture_nombre_equivalence (med_idt fid, const char *const nommaa) |
void | lecture_equivalence_maillage (med_idt fid, const char *const nommaa, med_int nequ) |
med_int | lecture_nombre_joint (med_idt fid, const char *const nommaa) |
void | lecture_joint_maillage (med_idt fid, const char *const nommaa, med_int njnt) |
med_int | lecture_nombre_noeuds_maillage_non_structure (const med_idt fid, const char *nommaa, const med_int numdt, const med_int numit) |
void | lecture_noeuds_maillage_non_structure (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int edim, const med_int nnoe, const med_switch_mode mode_coo, const char *const nomcoo, const char *const unicoo, const med_axis_type *const rep) |
med_int | lecture_nombre_mailles_standards (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_geometry_type typ_geo, const med_connectivity_mode typ_con, const int indice) |
med_int | lecture_nombre_et_type_mailles_elstruct (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const int indice, med_geometry_type *geotype, char *geotypename) |
void | lecture_mailles_elstruct (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int nmodels, const med_geometry_type *const geotype, const char *const geotypename, const med_int *const nmailles, const med_switch_mode mode_coo) |
void | lecture_mailles_standards (const med_idt fid, const char *nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int *const nmailles, const med_switch_mode mode_coo, const med_connectivity_mode typ_con) |
med_int | lecture_nombre_mailles_polygones (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_geometry_type polytype, const med_connectivity_mode typ_con) |
void | lecture_mailles_polygones (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_geometry_type polytype, const med_int nmpolygones, const med_switch_mode mode_coo, const med_connectivity_mode typ_con) |
med_int | lecture_nombre_mailles_polyedres (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_connectivity_mode typ_con) |
void | lecture_mailles_polyedres (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int npolyedres, const med_switch_mode mode_coo, const med_connectivity_mode typ_con) |
med_int | lecture_nombre_faces_standards (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_geometry_type typ_geo, const med_int indice) |
void | lecture_faces_standard (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int *const nfaces, const med_switch_mode mode_coo) |
med_int | lecture_nombre_faces_polygones (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit) |
void | lecture_faces_polygones (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int nfpolygones, const med_switch_mode mode_coo) |
med_int | lecture_nombre_aretes_standards (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_geometry_type typ_geo, const med_int indice) |
void | lecture_aretes_standards (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int *const naretes, const med_switch_mode mode_coo) |
void | lecture_maillage_non_structure (med_idt fid, const char *nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int edim, const med_switch_mode mode_coo, const med_connectivity_mode typ_con, const char *const nomcoo, const char *const unicoo, const med_axis_type *const rep, med_int *nmodels, med_geometry_type **geotype_elst, char **geotypename_elst, const int lecture_en_tete_seulement) |
void | lecture_caracteristiques_grille (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, med_int *nind, med_int *nnoe, med_int *nmai, med_grid_type *type) |
void | lecture_noeuds_maillage_structure (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int edim, const med_int *const nind, const med_int nnoe, const char *const comp, const char *const unit, const med_grid_type type, const med_switch_mode mode_coo) |
void | lecture_mailles_maillage_structure (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int nmai) |
void | lecture_maillage_structure (const med_idt fid, const char *const nommaa, const med_int numdt, const med_int numit, const med_int mdim, const med_int edim, const med_switch_mode mode_coo, const char *const comp, const char *const unit, const int lecture_en_tete_seulement) |
med_err | getFieldsOn (const med_idt fid, const char *const maillage, const med_int mnumdt, const med_int mnumit, const med_int nmodels, const med_geometry_type *const geotype_elst, const char *const geotypename_elst, const char *const nomcha, const char *const dtunit, const med_field_type typcha, const med_int ncomp, const char *const comp, const char *const unit, const med_entity_type entite, const med_switch_mode stockage, const med_int ncstp) |
void | lecture_resultats (const med_idt fid, const char *const maillage, const med_int mnumdt, const med_int mnumit, const med_switch_mode mode_coo, const med_int nmodels, const med_geometry_type *geotype_elst, const char *geotypename_elst, const int lecture_en_tete_seulement) |
void | lecture_parametres_scalaires (med_idt fid, int lecture_en_tete_seulement) |
void | lecture_profils (med_idt fid, int lecture_en_tete_seulement) |
void | lecture_modeles_elstruct (med_idt fid, int lecture_en_tete_seulement) |
void | lecture_fonctions_interpolation (med_idt fid, int lecture_en_tete_seulement) |
void | lecture_liens (med_idt fid, int lecture_en_tete_seulement) |
void | lecture_localisation (med_idt fid, const med_switch_mode mode_coo, int lecture_en_tete_seulement) |
med_idt | ouverture_fichier_MED (char *fichier) |
void | lecture_en_tete (med_idt fid, char *fichier) |
void | parametrage (med_switch_mode *mode_coo, med_connectivity_mode *typ_con) |
void | lecture_information_maillage (const med_idt fid, const int numero, char *nommaa, med_int *const mdim, med_int *const edim, med_mesh_type *const type_maillage, char *const maillage_description, med_int *const nstep, char *const dtunit, char *const nomcoo, char *const unicoo, med_axis_type *const rep) |
int | main (int argc, char **argv) |
Variables | |
med_entity_type | MED23MESH_GET_ENTITY_TYPE [MED_N_ENTITY_TYPES+2] |
const char *const | MED23MESH_GET_ENTITY_TYPENAME [MED_N_ENTITY_TYPES+2] |
med_geometry_type | MED23MESH_GET_CELL_GEOMETRY_TYPE [MED_N_CELL_FIXED_GEO+2] |
const char *const | MED23MESH_GET_CELL_GEOMETRY_TYPENAME [MED_N_CELL_FIXED_GEO+2] |
med_geometry_type | MED23MESH_GET_FACE_GEOMETRY_TYPE [MED_N_FACE_FIXED_GEO+2] |
const char *const | MED23MESH_GET_FACE_GEOMETRY_TYPENAME [MED_N_FACE_FIXED_GEO+2] |
med_geometry_type | MED23MESH_GET_EDGE_GEOMETRY_TYPE [MED_N_EDGE_FIXED_GEO+2] |
const char * | MED23MESH_GET_EDGE_GEOMETRY_TYPENAME [MED_N_EDGE_FIXED_GEO+2] |
med_geometry_type | MED23MESH_GET_NODE_GEOMETRY_TYPE [MED_N_NODE_FIXED_GEO+2] |
const char * | MED23MESH_GET_NODE_GEOMETRY_TYPENAME [MED_N_NODE_FIXED_GEO+2] |
med_entity_type | MED23FIELD_GET_ENTITY_TYPE [MED_N_ENTITY_TYPES+2] |
const char *const | MED23FIELD_GET_ENTITY_TYPENAME [MED_N_ENTITY_TYPES+2] |
med_geometry_type | MED23FIELD_GET_CELL_GEOMETRY_TYPE [MED_N_CELL_FIXED_GEO+2] |
const char *const | MED23FIELD_GET_CELL_GEOMETRY_TYPENAME [MED_N_CELL_FIXED_GEO+2] |
med_geometry_type | MED23FIELD_GET_FACE_GEOMETRY_TYPE [MED_N_FACE_FIXED_GEO+2] |
const char *const | MED23FIELD_GET_FACE_GEOMETRY_TYPENAME [MED_N_FACE_FIXED_GEO+2] |
med_geometry_type | MED23FIELD_GET_EDGE_GEOMETRY_TYPE [MED_N_EDGE_FIXED_GEO+2] |
const char * | MED23FIELD_GET_EDGE_GEOMETRY_TYPENAME [MED_N_EDGE_FIXED_GEO+2] |
med_geometry_type | MED23FIELD_GET_NODE_GEOMETRY_TYPE [MED_N_NODE_FIXED_GEO+2] |
const char * | MED23FIELD_GET_NODE_GEOMETRY_TYPENAME [MED_N_NODE_FIXED_GEO+2] |
int | structure = 0 |
const med_geometry_type *const | typmai = MED23MESH_GET_CELL_GEOMETRY_TYPE+1 |
const med_geometry_type *const | typfac = MED23MESH_GET_FACE_GEOMETRY_TYPE+1 |
const med_geometry_type *const | typare = MED23MESH_GET_EDGE_GEOMETRY_TYPE+1 |
const char *const * | nommai = MED23MESH_GET_CELL_GEOMETRY_TYPENAME+1 |
const char *const * | nomfac = MED23MESH_GET_FACE_GEOMETRY_TYPENAME+1 |
const char *const * | nomare = MED23MESH_GET_EDGE_GEOMETRY_TYPENAME+1 |