MED fichier

MED23fieldIterators.c
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 EDF R&D, CEA/DEN
4 * MED is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * MED is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with MED. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18
19 #include <med.h>
20 #include <med_config.h>
21
22 med_entity_type MED23FIELD_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]={
23 MED_UNDEF_ENTITY_TYPE,
24 MED_CELL,
25 MED_DESCENDING_FACE,
26 MED_DESCENDING_EDGE,
27 MED_NODE,
28 MED_NODE_ELEMENT,
29 MED_STRUCT_ELEMENT,
30 MED_UNDEF_ENTITY_TYPE
31 };
32
33 const char * const MED23FIELD_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]={
34 "MED_UNDEF_ENTITY_TYPE",
35 "MED_MAILLE",
36 "MED_FACE",
37 "MED_ARETE",
38 "MED_NOEUD",
39 "MED_NOEUD_MAILLE",
40 "MED_STRUCT_ELEMENT",
41 "MED_UNDEF_ENTITY_TYPE"
42 };
43
44 med_geometry_type MED23FIELD_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]={
45 MED_NO_GEOTYPE,
46 MED_POINT1,
47 MED_SEG2,
48 MED_SEG3,
49 MED_TRIA3,
50 MED_QUAD4,
51 MED_TRIA6,
52 MED_QUAD8,
53 MED_TETRA4,
54 MED_PYRA5,
55 MED_PENTA6,
56 MED_HEXA8,
57 MED_TETRA10,
58 MED_PYRA13,
59 MED_PENTA15,
60 MED_PENTA18,
61 MED_HEXA20,
62 MED_SEG4,
63 MED_TRIA7,
64 MED_QUAD9,
65 MED_OCTA12,
66 MED_HEXA27,
67 MED_POLYGON,
68 MED_POLYGON2,
69 MED_POLYHEDRON,
70 MED_NO_GEOTYPE
71 };
72
73 const char * const MED23FIELD_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]={
74 "(AUCUN)",
75 "MED_POINT1",
76 "MED_SEG2",
77 "MED_SEG3",
78 "MED_TRIA3",
79 "MED_QUAD4",
80 "MED_TRIA6",
81 "MED_QUAD8",
82 "MED_TETRA4",
83 "MED_PYRA5",
84 "MED_PENTA6",
85 "MED_HEXA8",
86 "MED_TETRA10",
87 "MED_PYRA13",
88 "MED_PENTA15",
89 "MED_PENTA18",
90 "MED_HEXA20",
91 "MED_SEG4",
92 "MED_TRIA7",
93 "MED_QUAD9",
94 "MED_OCTA12",
95 "MED_HEXA27",
96 "MED_POLYGONE",
97 "MED_POLYGONE2",
98 "MED_POLYEDRE",
99 "(AUCUN)"
100 };
101
102
103 med_geometry_type MED23FIELD_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]={
104 MED_NO_GEOTYPE,
105 MED_TRIA3,
106 MED_TRIA6,
107 MED_QUAD4,
108 MED_QUAD8,
109 MED_TRIA7,
110 MED_QUAD9,
111 MED_POLYGON,
112 MED_POLYGON2,
113 MED_NO_GEOTYPE
114 };
115
116 const char * const MED23FIELD_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]={
117 "(AUCUN)",
118 "MED_TRIA3",
119 "MED_TRIA6",
120 "MED_QUAD4",
121 "MED_QUAD8",
122 "MED_TRIA7",
123 "MED_QUAD9",
124 "MED_POLYGONE",
125 "MED_POLYGONE2",
126 "(AUCUN)"
127 };
128
129 med_geometry_type MED23FIELD_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]={
130 MED_NO_GEOTYPE,
131 MED_SEG2,
132 MED_SEG3,
133 MED_SEG4,
134 MED_NO_GEOTYPE
135 };
136
137 const char * MED23FIELD_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]={
138 "(AUCUN)",
139 "MED_SEG2",
140 "MED_SEG3",
141 "MED_SEG4",
142 "(AUCUN)"
143 };
144
145 med_geometry_type MED23FIELD_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]={
146 MED_NO_GEOTYPE,
147 MED_NO_GEOTYPE,
148 MED_NO_GEOTYPE
149 };
150
151 const char * MED23FIELD_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]={
152 "(AUCUN)",
153 "(AUCUN)",
154 "(AUCUN)"
155 };
156
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