Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
ItemStaticInfo.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/*---------------------------------------------------------------------------*/
8/* ItemStaticInfo.h (C) 2000-2026 */
9/* */
10/* Static information about entities. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_GEOMETRIC_ITEMSTATICINFO_H
13#define ARCANE_GEOMETRIC_ITEMSTATICINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28//! Support for 7 and 8-faced prisms.
29#ifndef __ARCANE_HAS_WEDGE_MESH_ELEMENT__
30#define __ARCANE_HAS_WEDGE_MESH_ELEMENT__
31#endif
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
35
37{
38 public:
39
40#ifdef __ARCANE_HAS_WEDGE_MESH_ELEMENT__
41
42 static const Int32 __MAX_CELL2_EDGE = 6;
43
44 //! Maximum number of nodes per cell
45 static const Int32 __MAX_CELL_NODE = 12; // 8
46
47 //! Maximum number of vertices per face
48 static const Int32 __MAX_FACE_NODE = 6; // 4
49
50 //! Maximum number of faces per cell
51 static const Int32 __MAX_CELL_FACE = 8; // 6
52
53 //! Maximum number of edges per cell
54 static const Int32 __MAX_CELL_EDGE = 18; // 12
55#else
56
57 static const Int32 __MAX_CELL2_EDGE = 4;
58
59 //! Maximum number of nodes per cell
60 static const Int32 __MAX_CELL_NODE = 8;
61
62 //! Maximum number of vertices per face
63 static const Int32 __MAX_FACE_NODE = 4;
64
65 //! Maximum number of faces per cell
66 static const Int32 __MAX_CELL_FACE = 6;
67
68 //! Maximum number of edges per cell
69 static const Int32 __MAX_CELL_EDGE = 12;
70#endif
71
72 //! Number of element types
73 static const Integer NB_TYPE = NB_BASIC_ITEM_TYPE;
74
75 //! Maximum number of nodes per cell
77
78 //! Maximum number of vertices per face
80
81 //! Maximum number of faces per cell
83
84 //! Maximum number of edges per cell
86};
87
88/*---------------------------------------------------------------------------*/
89/*---------------------------------------------------------------------------*/
90
91} // namespace Arcane
92
93/*---------------------------------------------------------------------------*/
94/*---------------------------------------------------------------------------*/
95
96#endif
Declarations of Arcane's general types.
static const Integer MAX_CELL_FACE
Maximum number of faces per cell.
static const Int32 __MAX_CELL_FACE
Maximum number of faces per cell.
static const Integer MAX_CELL_EDGE
Maximum number of edges per cell.
static const Integer MAX_CELL_NODE
Maximum number of nodes per cell.
static const Integer NB_TYPE
Number of element types.
static const Int32 __MAX_CELL_EDGE
Maximum number of edges per cell.
static const Integer MAX_FACE_NODE
Maximum number of vertices per face.
static const Int32 __MAX_FACE_NODE
Maximum number of vertices per face.
static const Int32 __MAX_CELL_NODE
Maximum number of nodes per cell.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
std::int32_t Int32
Signed integer type of 32 bits.