MED fichier: Fichier source de MED23meshIterators.c

MED fichier

MED23meshIterators.c
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2023 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 MED23MESH_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 MED23MESH_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 MED23MESH_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_TRIA6,
51 MED_QUAD4,
52 MED_QUAD8,
53 MED_TETRA4,
54 MED_TETRA10,
55 MED_HEXA8,
56 MED_HEXA20,
57 MED_PENTA6,
58 MED_PENTA15,
59 MED_PENTA18,
60 MED_PYRA5,
61 MED_PYRA13,
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 MED23MESH_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_TRIA6",
80 "MED_QUAD4",
81 "MED_QUAD8",
82 "MED_TETRA4",
83 "MED_TETRA10",
84 "MED_HEXA8",
85 "MED_HEXA20",
86 "MED_PENTA6",
87 "MED_PENTA15",
88 "MED_PENTA18",
89 "MED_PYRA5",
90 "MED_PYRA13",
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 MED23MESH_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 MED23MESH_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 MED23MESH_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 * MED23MESH_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 MED23MESH_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 * MED23MESH_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]={
152 "(AUCUN)",
153 "(AUCUN)",
154 "(AUCUN)"
155 };
156
MED_TRIA3
#define MED_TRIA3
Definition: med.h:205
med_geometry_type
int med_geometry_type
Definition: med.h:196
MED_QUAD8
#define MED_QUAD8
Definition: med.h:209
MED_PYRA13
#define MED_PYRA13
Definition: med.h:218
MED_OCTA12
#define MED_OCTA12
Definition: med.h:217
MED_NO_GEOTYPE
#define MED_NO_GEOTYPE
Definition: med.h:234
MED23MESH_GET_CELL_GEOMETRY_TYPENAME
const char *const MED23MESH_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]
Definition: MED23meshIterators.c:73
MED_PENTA6
#define MED_PENTA6
Definition: med.h:214
MED_SEG2
#define MED_SEG2
Definition: med.h:202
MED_TETRA10
#define MED_TETRA10
Definition: med.h:216
MED_DESCENDING_EDGE
Definition: med.h:145
MED_N_NODE_FIXED_GEO
#define MED_N_NODE_FIXED_GEO
Definition: med.h:253
med_entity_type
med_entity_type
Definition: med.h:145
MED_UNDEF_ENTITY_TYPE
Definition: med.h:147
MED_SEG4
#define MED_SEG4
Definition: med.h:204
MED23MESH_GET_NODE_GEOMETRY_TYPE
med_geometry_type MED23MESH_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]
Definition: MED23meshIterators.c:145
MED23MESH_GET_EDGE_GEOMETRY_TYPENAME
const char * MED23MESH_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]
Definition: MED23meshIterators.c:137
MED23MESH_GET_FACE_GEOMETRY_TYPE
med_geometry_type MED23MESH_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]
Definition: MED23meshIterators.c:103
MED23MESH_GET_ENTITY_TYPE
med_entity_type MED23MESH_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]
Definition: MED23meshIterators.c:22
MED_STRUCT_ELEMENT
Definition: med.h:146
MED_PENTA15
#define MED_PENTA15
Definition: med.h:219
MED_TRIA7
#define MED_TRIA7
Definition: med.h:208
med_config.h
MED_POLYGON2
#define MED_POLYGON2
Definition: med.h:226
MED_HEXA8
#define MED_HEXA8
Definition: med.h:215
MED_PYRA5
#define MED_PYRA5
Definition: med.h:213
MED_POINT1
#define MED_POINT1
Definition: med.h:200
MED_QUAD9
#define MED_QUAD9
Definition: med.h:210
MED_N_FACE_FIXED_GEO
#define MED_N_FACE_FIXED_GEO
Definition: med.h:245
MED_N_CELL_FIXED_GEO
#define MED_N_CELL_FIXED_GEO
Definition: med.h:241
MED23MESH_GET_CELL_GEOMETRY_TYPE
med_geometry_type MED23MESH_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]
Definition: MED23meshIterators.c:44
MED_HEXA27
#define MED_HEXA27
Definition: med.h:222
MED_N_ENTITY_TYPES
#define MED_N_ENTITY_TYPES
Definition: med.h:148
MED_TETRA4
#define MED_TETRA4
Definition: med.h:212
MED23MESH_GET_ENTITY_TYPENAME
const char *const MED23MESH_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]
Definition: MED23meshIterators.c:33
MED_CELL
Definition: med.h:145
MED23MESH_GET_FACE_GEOMETRY_TYPENAME
const char *const MED23MESH_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]
Definition: MED23meshIterators.c:116
MED_NODE_ELEMENT
Definition: med.h:146
MED_PENTA18
#define MED_PENTA18
Definition: med.h:220
MED_N_EDGE_FIXED_GEO
#define MED_N_EDGE_FIXED_GEO
Definition: med.h:249
MED_NODE
Definition: med.h:145
MED_SEG3
#define MED_SEG3
Definition: med.h:203
med.h
MED23MESH_GET_EDGE_GEOMETRY_TYPE
med_geometry_type MED23MESH_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]
Definition: MED23meshIterators.c:129
MED_HEXA20
#define MED_HEXA20
Definition: med.h:221
MED_POLYHEDRON
#define MED_POLYHEDRON
Definition: med.h:227
MED_QUAD4
#define MED_QUAD4
Definition: med.h:206
MED_TRIA6
#define MED_TRIA6
Definition: med.h:207
MED23MESH_GET_NODE_GEOMETRY_TYPENAME
const char * MED23MESH_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]
Definition: MED23meshIterators.c:151
MED_POLYGON
#define MED_POLYGON
Definition: med.h:225
MED_DESCENDING_FACE
Definition: med.h:145