MED23fieldIterators.c
Aller à la documentation de ce fichier.
/* This file is part of MED.
*
* COPYRIGHT (C) 1999 - 2021 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/>.
*/
#include <med.h>
#include <med_config.h>
med_entity_type MED23FIELD_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]={
MED_UNDEF_ENTITY_TYPE,
MED_CELL,
MED_DESCENDING_FACE,
MED_DESCENDING_EDGE,
MED_NODE,
MED_NODE_ELEMENT,
MED_STRUCT_ELEMENT,
MED_UNDEF_ENTITY_TYPE
};
const char * const MED23FIELD_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]={
"MED_UNDEF_ENTITY_TYPE",
"MED_MAILLE",
"MED_FACE",
"MED_ARETE",
"MED_NOEUD",
"MED_NOEUD_MAILLE",
"MED_STRUCT_ELEMENT",
"MED_UNDEF_ENTITY_TYPE"
};
med_geometry_type MED23FIELD_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]={
MED_NO_GEOTYPE,
MED_POINT1,
MED_SEG2,
MED_SEG3,
MED_TRIA3,
MED_QUAD4,
MED_TRIA6,
MED_QUAD8,
MED_TETRA4,
MED_PYRA5,
MED_PENTA6,
MED_HEXA8,
MED_TETRA10,
MED_PYRA13,
MED_PENTA15,
MED_PENTA18,
MED_HEXA20,
MED_SEG4,
MED_TRIA7,
MED_QUAD9,
MED_OCTA12,
MED_HEXA27,
MED_POLYGON,
MED_POLYGON2,
MED_POLYHEDRON,
MED_NO_GEOTYPE
};
const char * const MED23FIELD_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]={
"(AUCUN)",
"MED_POINT1",
"MED_SEG2",
"MED_SEG3",
"MED_TRIA3",
"MED_QUAD4",
"MED_TRIA6",
"MED_QUAD8",
"MED_TETRA4",
"MED_PYRA5",
"MED_PENTA6",
"MED_HEXA8",
"MED_TETRA10",
"MED_PYRA13",
"MED_PENTA15",
"MED_PENTA18",
"MED_HEXA20",
"MED_SEG4",
"MED_TRIA7",
"MED_QUAD9",
"MED_OCTA12",
"MED_HEXA27",
"MED_POLYGONE",
"MED_POLYGONE2",
"MED_POLYEDRE",
"(AUCUN)"
};
med_geometry_type MED23FIELD_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]={
MED_NO_GEOTYPE,
MED_TRIA3,
MED_TRIA6,
MED_QUAD4,
MED_QUAD8,
MED_TRIA7,
MED_QUAD9,
MED_POLYGON,
MED_POLYGON2,
MED_NO_GEOTYPE
};
const char * const MED23FIELD_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]={
"(AUCUN)",
"MED_TRIA3",
"MED_TRIA6",
"MED_QUAD4",
"MED_QUAD8",
"MED_TRIA7",
"MED_QUAD9",
"MED_POLYGONE",
"MED_POLYGONE2",
"(AUCUN)"
};
med_geometry_type MED23FIELD_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]={
MED_NO_GEOTYPE,
MED_SEG2,
MED_SEG3,
MED_SEG4,
MED_NO_GEOTYPE
};
const char * MED23FIELD_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]={
"(AUCUN)",
"MED_SEG2",
"MED_SEG3",
"MED_SEG4",
"(AUCUN)"
};
med_geometry_type MED23FIELD_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]={
MED_NO_GEOTYPE,
MED_NO_GEOTYPE,
MED_NO_GEOTYPE
};
const char * MED23FIELD_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]={
"(AUCUN)",
"(AUCUN)",
"(AUCUN)"
};
MED23FIELD_GET_ENTITY_TYPE
med_entity_type MED23FIELD_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
Definition: MED23fieldIterators.c:22
MED_TRIA3
#define MED_TRIA3
Definition: med.h:203
med_geometry_type
int med_geometry_type
Definition: med.h:194
MED_PYRA13
#define MED_PYRA13
Definition: med.h:216
MED_OCTA12
#define MED_OCTA12
Definition: med.h:215
MED_QUAD8
#define MED_QUAD8
Definition: med.h:207
MED_NO_GEOTYPE
#define MED_NO_GEOTYPE
Definition: med.h:232
MED_DESCENDING_FACE
Definition: med.h:143
MED_PENTA6
#define MED_PENTA6
Definition: med.h:212
MED_SEG2
#define MED_SEG2
Definition: med.h:200
MED_TETRA10
#define MED_TETRA10
Definition: med.h:214
MED23FIELD_GET_ENTITY_TYPENAME
const char *const MED23FIELD_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]
Definition: MED23fieldIterators.c:33
MED_STRUCT_ELEMENT
Definition: med.h:144
MED_N_NODE_FIXED_GEO
#define MED_N_NODE_FIXED_GEO
Definition: med.h:251
med_entity_type
med_entity_type
Definition: med.h:143
MED23FIELD_GET_FACE_GEOMETRY_TYPE
med_geometry_type MED23FIELD_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]
Definition: MED23fieldIterators.c:103
MED_SEG4
#define MED_SEG4
Definition: med.h:202
MED23FIELD_GET_EDGE_GEOMETRY_TYPENAME
const char * MED23FIELD_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]
Definition: MED23fieldIterators.c:137
MED_CELL
Definition: med.h:143
MED_PENTA15
#define MED_PENTA15
Definition: med.h:217
MED_TRIA7
#define MED_TRIA7
Definition: med.h:206
MED23FIELD_GET_FACE_GEOMETRY_TYPENAME
const char *const MED23FIELD_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]
Definition: MED23fieldIterators.c:116
med.h
MED_POLYGON2
#define MED_POLYGON2
Definition: med.h:224
MED_HEXA8
#define MED_HEXA8
Definition: med.h:213
MED_PYRA5
#define MED_PYRA5
Definition: med.h:211
MED23FIELD_GET_NODE_GEOMETRY_TYPENAME
const char * MED23FIELD_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]
Definition: MED23fieldIterators.c:151
MED_POINT1
#define MED_POINT1
Definition: med.h:198
MED_QUAD9
#define MED_QUAD9
Definition: med.h:208
MED23FIELD_GET_CELL_GEOMETRY_TYPENAME
const char *const MED23FIELD_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]
Definition: MED23fieldIterators.c:73
MED_NODE
Definition: med.h:143
MED_N_FACE_FIXED_GEO
#define MED_N_FACE_FIXED_GEO
Definition: med.h:243
MED_N_CELL_FIXED_GEO
#define MED_N_CELL_FIXED_GEO
Definition: med.h:239
MED_TETRA4
#define MED_TETRA4
Definition: med.h:210
MED23FIELD_GET_EDGE_GEOMETRY_TYPE
med_geometry_type MED23FIELD_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]
Definition: MED23fieldIterators.c:129
MED_HEXA27
#define MED_HEXA27
Definition: med.h:220
MED_N_ENTITY_TYPES
#define MED_N_ENTITY_TYPES
Definition: med.h:146
MED23FIELD_GET_NODE_GEOMETRY_TYPE
med_geometry_type MED23FIELD_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]
Definition: MED23fieldIterators.c:145
MED_PENTA18
#define MED_PENTA18
Definition: med.h:218
MED_UNDEF_ENTITY_TYPE
Definition: med.h:145
MED_N_EDGE_FIXED_GEO
#define MED_N_EDGE_FIXED_GEO
Definition: med.h:247
med_config.h
MED_SEG3
#define MED_SEG3
Definition: med.h:201
MED_HEXA20
#define MED_HEXA20
Definition: med.h:219
MED_POLYHEDRON
#define MED_POLYHEDRON
Definition: med.h:225
MED_QUAD4
#define MED_QUAD4
Definition: med.h:204
MED_TRIA6
#define MED_TRIA6
Definition: med.h:205
MED23FIELD_GET_CELL_GEOMETRY_TYPE
med_geometry_type MED23FIELD_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]
Definition: MED23fieldIterators.c:44
MED_POLYGON
#define MED_POLYGON
Definition: med.h:223
MED_NODE_ELEMENT
Definition: med.h:144
MED_DESCENDING_EDGE
Definition: med.h:143