Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
CartesianTypes.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/* CartesianTypes.h (C) 2000-2021 */
9/* */
10/* Types pour les maillage cartésiens. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CARTESIANMESH_CARTESIANTYPES_H
13#define ARCANE_CARTESIANMESH_CARTESIANTYPES_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
18
19#include <array>
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane::CartesianMesh::V2
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
33using LocalIdType3 = Arcane::LocalIdType[3];
34
35using UniqueIdType3 = Arcane::UniqueIdType[3];
36
37using LocalIdType4 = Arcane::LocalIdType[4];
38
39using IdxType = std::array<Arcane::Int64, 3>;
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
47enum eMeshSide
48{
50 MS_previous = 0,
52 MS_next = 1,
54 MS_max = 2,
56 MS_invalid = (-1)
57};
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62} // namespace Arcane::CartesianMesh::V2
63
64/*---------------------------------------------------------------------------*/
65/*---------------------------------------------------------------------------*/
66
67#endif
Int32 LocalIdType
Type des entiers utilisés pour stocker les identifiants locaux des entités.
Int64 UniqueIdType
Type des entiers utilisés pour stocker les identifiants uniques (globaux) des entités.