Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
TiedNode.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/* TiedNode.h (C) 2000-2025 */
9/* */
10/* Semi-conformal mesh node. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_TIEDNODE_H
13#define ARCANE_CORE_TIEDNODE_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/Real2.h"
18#include "arcane/core/Item.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
39class TiedNode
40{
41 public:
42 public:
43
44 TiedNode(Integer aindex, Node anode, Real2 iso_coordinates)
45 : m_index(aindex)
46 , m_node(anode)
47 , m_iso_coordinates(iso_coordinates)
48 {
49 }
50
51 TiedNode() = default;
52
53 public:
54
56 Integer index() const { return m_index; }
57
59 Node node() const { return m_node; }
60
63
64 private:
65
67 Integer m_index = NULL_ITEM_LOCAL_ID;
72};
73
74/*---------------------------------------------------------------------------*/
75/*---------------------------------------------------------------------------*/
76
77} // namespace Arcane
78
79/*---------------------------------------------------------------------------*/
80/*---------------------------------------------------------------------------*/
81
82#endif
Node of a mesh.
Definition Item.h:598
Class managing a 2-dimensional real vector.
Definition Real2.h:122
Real2 m_iso_coordinates
Iso-barycentric coordinates of the node.
Definition TiedNode.h:71
Integer index() const
Index of the node in the master face's tied nodes list.
Definition TiedNode.h:56
Node node() const
Tied node.
Definition TiedNode.h:59
Node m_node
Tied node.
Definition TiedNode.h:69
Real2 isoCoordinates() const
Iso-barycentric coordinates of the node.
Definition TiedNode.h:62
Integer m_index
Index of the node in the master face's tied nodes list.
Definition TiedNode.h:67
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.