Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IosGmsh.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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 ARCANE_STD_INTERNAL_IOSGMSH_H
8#define ARCANE_STD_INTERNAL_IOSGMSH_H
9/*---------------------------------------------------------------------------*/
10/*---------------------------------------------------------------------------*/
11
12#define MSH_LIN_2 1 //1 2-node line.
13#define MSH_TRI_3 2 //2 3-node triangle.
14#define MSH_QUA_4 3 //3 4-node quadrangle.
15#define MSH_TET_4 4 //4 4-node tetrahedron.
16#define MSH_HEX_8 5 //5 8-node hexahedron.
17#define MSH_PRI_6 6 //6 6-node prism.
18#define MSH_PYR_5 7 //7 5-node pyramid.
19#define MSH_LIN_3 8 //8 3-node second order line (2 nodes associated with the vertices and 1 with the edge).
20#define MSH_TRI_6 9 //9 6-node second order triangle (3 nodes associated with the vertices and 3 with the edges).
21#define MSH_QUA_9 10 //10 9-node second order quadrangle (4 nodes associated with the vertices, 4 with the edges and 1 with the face).
22#define MSH_TET_10 11 //11 10-node second order tetrahedron (4 nodes associated with the vertices and 6 with the edges).
23#define MSH_HEX_27 12 //12 27-node second order hexahedron (8 nodes associated with the vertices, 12 with the edges, 6 with the faces and 1 with the volume).
24#define MSH_PRI_18 13 //13 18-node second order prism (6 nodes associated with the vertices, 9 with the edges and 3 with the quadrangular faces).
25#define MSH_PYR_14 14 //14 14-node second order pyramid (5 nodes associated with the vertices, 8 with the edges and 1 with the quadrangular face).
26#define MSH_PNT 15 //15 1-node point.
27#define MSH_QUA_8 16 //16 8-node second order quadrangle (4 nodes associated with the vertices and 4 with the edges).
28#define MSH_HEX_20 17 //17 20-node second order hexahedron (8 nodes associated with the vertices and 12 with the edges).
29#define MSH_PRI_15 18 //18 15-node second order prism (6 nodes associated with the vertices and 9 with the edges).
30#define MSH_PYR_13 19 //19 13-node second order pyramid (5 nodes associated with the vertices and 8 with the edges).
31#define MSH_TRI_9 20
32#define MSH_TRI_10 21
33#define MSH_TRI_12 22
34#define MSH_TRI_15 23
35#define MSH_TRI_15I 24
36#define MSH_TRI_21 25
37#define MSH_LIN_4 26
38#define MSH_LIN_5 27
39#define MSH_LIN_6 28
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44namespace Arcane
45{
46
47/*---------------------------------------------------------------------------*/
48/*---------------------------------------------------------------------------*/
49
51{
52 public:
53
54 virtual ~IMshMeshReader() = default;
55
56 public:
57
59 readMeshFromMshFile(IMesh* mesh, const String& file_name) = 0;
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65} // namespace Arcane
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
71
72/*---------------------------------------------------------------------------*/
73/*---------------------------------------------------------------------------*/
eReturnType
Types des codes de retour d'une lecture ou écriture.
Definition IMeshReader.h:42
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-