3 /*----------------------------------------------------------*/
7 /*----------------------------------------------------------*/
9 /* Description: handle .meshb file format I/O */
10 /* Author: Loic MARECHAL */
11 /* Creation date: feb 16 2007 */
12 /* Last modification: dec 09 2011 */
14 /*----------------------------------------------------------*/
17 /*----------------------------------------------------------*/
19 /*----------------------------------------------------------*/
21 #include "SMESH_DriverGMF.hxx"
23 #define GmfStrSiz 1024
24 #define GmfMaxTyp 1000
39 GmfVersionFormatted, \
53 GmfRequiredVertices, \
55 GmfRequiredTriangles, \
56 GmfRequiredQuadrilaterals, \
57 GmfTangentAtEdgeVertices, \
58 GmfNormalAtVertices, \
59 GmfNormalAtTriangleVertices, \
60 GmfNormalAtQuadrilateralVertices, \
61 GmfAngleOfCornerBound, \
65 GmfQuadrilateralsQ2, \
67 GmfSubDomainFromGeom, \
72 GmfExtraVerticesAtEdges, \
73 GmfExtraVerticesAtTriangles, \
74 GmfExtraVerticesAtQuadrilaterals, \
75 GmfExtraVerticesAtTetrahedra, \
76 GmfExtraVerticesAtPrisms, \
77 GmfExtraVerticesAtHexahedra, \
78 GmfVerticesOnGeometricVertices, \
79 GmfVerticesOnGeometricEdges, \
80 GmfVerticesOnGeometricTriangles, \
81 GmfVerticesOnGeometricQuadrilaterals, \
82 GmfEdgesOnGeometricEdges, \
93 GmfTrianglesOnGeometricTriangles, \
94 GmfTrianglesOnGeometricQuadrilaterals, \
95 GmfQuadrilateralsOnGeometricTriangles, \
96 GmfQuadrilateralsOnGeometricQuadrilaterals, \
99 GmfTangentAtVertices, \
103 GmfSolAtQuadrilaterals, \
104 GmfSolAtTetrahedra, \
110 GmfISolAtTriangles, \
111 GmfISolAtQuadrilaterals, \
112 GmfISolAtTetrahedra, \
114 GmfISolAtHexahedra, \
122 /*----------------------------------------------------------*/
123 /* External procedures */
124 /*----------------------------------------------------------*/
126 MESHDriverGMF_EXPORT extern int GmfOpenMesh(const char *, int, ...);
127 MESHDriverGMF_EXPORT extern int GmfCloseMesh(int);
128 MESHDriverGMF_EXPORT extern int GmfStatKwd(int, int, ...);
129 MESHDriverGMF_EXPORT extern int GmfGotoKwd(int, int);
130 MESHDriverGMF_EXPORT extern int GmfSetKwd(int, int, ...);
131 MESHDriverGMF_EXPORT extern void GmfGetLin(int, int, ...);
132 MESHDriverGMF_EXPORT extern void GmfSetLin(int, int, ...);
135 /*----------------------------------------------------------*/
137 /*----------------------------------------------------------*/
139 #if defined(F77_NO_UNDER_SCORE)
142 #define call(x) x ## _
146 /*----------------------------------------------------------*/
147 /* Transmesh private API */
148 /*----------------------------------------------------------*/
152 MESHDriverGMF_EXPORT extern char *GmfKwdFmt[ GmfMaxKwd + 1 ][4];
153 MESHDriverGMF_EXPORT extern int GmfCpyLin(int, int, int);