Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
ITiedInterface.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/* ITiedInterface.h (C) 2000-2025 */
9/* */
10/* Interface of a class managing semi-conforming mesh. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_ITIEDINTERFACE_H
13#define ARCANE_CORE_ITIEDINTERFACE_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/MultiArray2View.h"
19#include "arcane/core/TiedNode.h"
20#include "arcane/core/TiedFace.h"
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25namespace Arcane
26{
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
31typedef ConstMultiArray2View<TiedNode> TiedInterfaceNodeList;
32typedef ConstMultiArray2View<TiedFace> TiedInterfaceFaceList;
33
34/*---------------------------------------------------------------------------*/
35/*---------------------------------------------------------------------------*/
36
37/*!
38 * \ingroup Mesh
39 * \brief Interface of a class managing semi-conforming mesh.
40 */
42{
43 public:
44
45 virtual ~ITiedInterface() = default; //!< Releases resources
46
47 public:
48
49 /*!
50 * \brief Group containing the master faces.
51 *
52 * It is a group containing only the entities
53 * specific to this subdomain.
54 */
55 virtual FaceGroup masterInterface() const = 0;
56
57 //! Name of the group containing the master cells
58 virtual String masterInterfaceName() const = 0;
59
60 /*!
61 * \brief Group containing the slave faces.
62 *
63 * It is a group containing only the entities
64 * specific to this subdomain.
65 */
66 virtual FaceGroup slaveInterface() const = 0;
67
68 //! Name of the group containing the slave cells
69 virtual String slaveInterfaceName() const = 0;
70
71 //! List of information about the slave nodes of a master face
72 virtual TiedInterfaceNodeList tiedNodes() const = 0;
73
74 //! List of information about the slave faces of a master face
75 virtual TiedInterfaceFaceList tiedFaces() const = 0;
76};
77
78/*---------------------------------------------------------------------------*/
79/*---------------------------------------------------------------------------*/
80
81} // namespace Arcane
82
83/*---------------------------------------------------------------------------*/
84/*---------------------------------------------------------------------------*/
85
86#endif
Declarations of Arcane's general types.
Constant view on a MultiArray2.
Interface of a class managing semi-conforming mesh.
virtual String slaveInterfaceName() const =0
Name of the group containing the slave cells.
virtual TiedInterfaceFaceList tiedFaces() const =0
List of information about the slave faces of a master face.
virtual FaceGroup masterInterface() const =0
Group containing the master faces.
virtual FaceGroup slaveInterface() const =0
Group containing the slave faces.
virtual TiedInterfaceNodeList tiedNodes() const =0
List of information about the slave nodes of a master face.
virtual String masterInterfaceName() const =0
Name of the group containing the master cells.
virtual ~ITiedInterface()=default
Releases resources.
ItemGroupT< Face > FaceGroup
Group of faces.
Definition ItemTypes.h:179
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --