Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ItemStaticInfo.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/*---------------------------------------------------------------------------*/
8/* ItemStaticInfo.h (C) 2000-2014 */
9/* */
10/* Informations statiques sur les entités. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_GEOMETRIC_ITEMSTATICINFO_H
13#define ARCANE_GEOMETRIC_ITEMSTATICINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ArcaneTypes.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
28#ifndef __ARCANE_HAS_WEDGE_MESH_ELEMENT__
29#define __ARCANE_HAS_WEDGE_MESH_ELEMENT__
30#endif
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
36{
37 public:
38
39#ifdef __ARCANE_HAS_WEDGE_MESH_ELEMENT__
40
41 static const Int32 __MAX_CELL2_EDGE = 6;
42
43
45 static const Int32 __MAX_CELL_NODE = 12; // 8
46
48 static const Int32 __MAX_FACE_NODE = 6; // 4
49
51 static const Int32 __MAX_CELL_FACE = 8; // 6
52
54 static const Int32 __MAX_CELL_EDGE = 18; // 12
55#else
56
57 static const Int32 __MAX_CELL2_EDGE = 4;
58
60 static const Int32 __MAX_CELL_NODE = 8;
61
63 static const Int32 __MAX_FACE_NODE = 4;
64
66 static const Int32 __MAX_CELL_FACE = 6;
67
69 static const Int32 __MAX_CELL_EDGE = 12;
70#endif
71
73 static const Integer NB_TYPE = NB_BASIC_ITEM_TYPE;
74
76 static const Integer MAX_CELL_NODE = __MAX_CELL_NODE;
77
79 static const Integer MAX_FACE_NODE = __MAX_FACE_NODE;
80
82 static const Integer MAX_CELL_FACE = __MAX_CELL_FACE;
83
85 static const Integer MAX_CELL_EDGE = __MAX_CELL_EDGE;
86};
87
88/*---------------------------------------------------------------------------*/
89/*---------------------------------------------------------------------------*/
90
91ARCANE_END_NAMESPACE
92
93/*---------------------------------------------------------------------------*/
94/*---------------------------------------------------------------------------*/
95
96#endif