Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IosXdmf.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7#ifndef _XDMF_DEFINES_H_
8#define _XDMF_DEFINES_H_
9
10
11#define XDMF_MAX_ORDER 10
12
13// General Uniform Organization
14#define XDMF_STRUCTURED 0
15#define XDMF_UNSTRUCTURED 1
16
17// Topologies
18#define XDMF_NOTOPOLOGY 0x0
19#define XDMF_POLYVERTEX 0x1 // A Group of Points (Atoms)
20#define XDMF_POLYLINE 0x2 // Line Segments (Bonds)
21#define XDMF_POLYGON 0x3 // N Sided
22#define XDMF_TRI 0x4 // 3 Edge Polygon
23#define XDMF_QUAD 0x5 // 4 Edge Polygon
24#define XDMF_TET 0x6 // 4 Triangular Faces
25#define XDMF_PYRAMID 0x7 // 4 Triangles, QUADRILATERAL Base
26#define XDMF_WEDGE 0x8 // 2 Trianges, 2 QUADRILATERAL and QUADRILATERAL Base
27#define XDMF_HEX 0x9 // 6 QUADRILATERAL Faces
28#define XDMF_EDGE_3 0x0022 // 3 Node High Order Line
29#define XDMF_TRI_6 0x0024 // 6 Node High Order Triangle
30#define XDMF_QUAD_8 0x0025 // 8 Node High Order Quadrilateral
31#define XDMF_TET_10 0x0026 // 10 Node High Order Tetrahedron
32#define XDMF_PYRAMID_13 0x0027 // 13 Node High Order Pyramid
33#define XDMF_WEDGE_15 0x0028 // 15 Node High Order Wedge
34#define XDMF_HEX_20 0x0029 // 20 Node High Order Hexahedron
35
36#define XDMF_MIXED 0x0070 // A Mixture of Unstructured Base Topologies
37#define XDMF_2DSMESH 0x0100 // General ( Curved )
38#define XDMF_2DRECTMESH 0x0101 // Rectilinear
39#define XDMF_2DCORECTMESH 0x0102 // Co-Rectilinear
40#define XDMF_3DSMESH 0x1100 // Curvelinear Mesh
41#define XDMF_3DRECTMESH 0x1101 // VectorX, VectorY, VectorZ
42#define XDMF_3DCORECTMESH 0x1102 // Origin Dx, Dy, Dz
43
44#define XDMF_GEOMETRY_NONE 0
45#define XDMF_GEOMETRY_XYZ 1
46#define XDMF_GEOMETRY_XY 2
47#define XDMF_GEOMETRY_X_Y_Z 3
48#define XDMF_GEOMETRY_X_Y 4
49#define XDMF_GEOMETRY_VXVYVZ 5
50#define XDMF_GEOMETRY_ORIGIN_DXDYDZ 6
51
52
53#define XDMF_SUCCESS 1
54#define XDMF_FAIL -1
55
56#define XDMF_TRUE 1
57#define XDMF_FALSE 0
58
59#define XDMF_MAX_DIMENSION 10
60#define XDMF_MAX_STRING_LENGTH 1024
61
62
63#define XDMF_UNKNOWN_TYPE -1
64#define XDMF_INT8_TYPE 1
65#define XDMF_INT16_TYPE 6
66#define XDMF_INT32_TYPE 2
67#define XDMF_INT64_TYPE 3
68#define XDMF_FLOAT32_TYPE 4
69#define XDMF_FLOAT64_TYPE 5
70#define XDMF_UINT8_TYPE 7
71#define XDMF_UINT16_TYPE 8
72#define XDMF_UINT32_TYPE 9
73#define XDMF_COMPOUND_TYPE 0x10
74
75#endif