Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
CartesianItemDirectionInfo.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/* CellDirectionMng.cc (C) 2000-2022 */
9/* */
10/* Information about the entities in front of and behind an entity. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CARTESIANMESH_CARTESIANITEMDIRECTIONINFO_H
13#define ARCANE_CARTESIANMESH_CARTESIANITEMDIRECTIONINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane::impl
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
33class ARCANE_CARTESIANMESH_EXPORT CartesianItemDirectionInfo
34{
35 public:
36
37 friend class Arcane::FaceDirectionMng;
38 friend class Arcane::CellDirectionMng;
39 friend class Arcane::CartesianMeshImpl;
40 friend class Arcane::CartesianMeshPatch;
41
42 public:
43
44 CartesianItemDirectionInfo() = default;
45
46 private:
47
48 CartesianItemDirectionInfo(ItemLocalId next_id, ItemLocalId prev_id)
49 : m_next_lid(next_id)
50 , m_previous_lid(prev_id)
51 {}
52
53 private:
54
59};
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64} // namespace Arcane::impl
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69#endif
Declarations of Arcane's general types.
Specific information for a Cartesian mesh.
Information by direction for each type of mesh entity.
Info about the cells in a specific X, Y, or Z direction of a structured mesh.
Info on the faces of a specific direction X, Y, or Z of a structured mesh.
Index of an Item in a variable.
Definition ItemLocalId.h:42
ItemLocalId m_next_lid
entity after the current entity in the direction
ItemLocalId m_previous_lid
entity before the current entity in the direction