Arcane  v3.16.6.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
TiedNode.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* Noeud semi-conforme du maillage. */
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/*---------------------------------------------------------------------------*/
38class TiedNode
39{
40 public:
41 public:
42
43 TiedNode(Integer aindex, Node anode, Real2 iso_coordinates)
44 : m_index(aindex)
45 , m_node(anode)
46 , m_iso_coordinates(iso_coordinates)
47 {
48 }
49
50 TiedNode() = default;
51
52 public:
53
55 Integer index() const { return m_index; }
56
58 Node node() const { return m_node; }
59
62
63 private:
64
66 Integer m_index = NULL_ITEM_LOCAL_ID;
71};
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76} // namespace Arcane
77
78/*---------------------------------------------------------------------------*/
79/*---------------------------------------------------------------------------*/
80
81#endif
82
Noeud d'un maillage.
Definition Item.h:582
Classe gérant un vecteur de réel de dimension 2.
Definition Real2.h:121
Real2 m_iso_coordinates
Coordonnées iso-barycentriques du noeud.
Definition TiedNode.h:70
Integer index() const
Indice du noeud dans la liste des noeuds soudés de la face maitre.
Definition TiedNode.h:55
Node node() const
Noeud lié
Definition TiedNode.h:58
Node m_node
Noeud lié
Definition TiedNode.h:68
Real2 isoCoordinates() const
Coordonnées iso-barycentriques du noeud.
Definition TiedNode.h:61
Integer m_index
Indice du noeud dans la liste des noeuds soudés de la face maitre.
Definition TiedNode.h:66
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.