12#ifndef ARCANE_MESH_TIEDINTERFACE_H
13#define ARCANE_MESH_TIEDINTERFACE_H
17#include "arcane/utils/MultiArray2.h"
18#include "arcane/utils/TraceAccessor.h"
20#include "arcane/core/ITiedInterface.h"
22#include "arcane/core/IMeshPartitionConstraint.h"
24#include "arcane/core/VariableTypes.h"
26#include "arcane/mesh/MeshGlobal.h"
53 virtual void fillTiedInfos(
Face face,
78 virtual void setInitialRepartition(
bool is_initial) = 0;
84 virtual ~TiedInterface();
90 virtual TiedInterfaceNodeList
tiedNodes()
const;
91 virtual TiedInterfaceFaceList
tiedFaces()
const;
100 virtual void build(
const FaceGroup& interface,
bool is_structured);
108 const String& master_interface_name,
109 const String& slave_interface_name);
119 static bool isDebug()
132 static bool m_is_debug;
137 String m_master_interface_name;
138 String m_slave_interface_name;
143 Real m_planar_tolerance;
145 void _checkValid(
bool is_print);
Declarations of types on entities.
Constant view of an array of type T.
Interface of an entity family.
Interface of a mesh partitioning constraint.
Interface of a class managing semi-conforming mesh.
Unicode character string.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
Multi-sized 2D array with value semantics.
virtual FaceGroup slaveInterface() const
Group containing the slave faces.
virtual String slaveInterfaceName() const
Name of the group containing the slave cells.
static PartitionConstraintBase * createConstraint(IMesh *mesh, ConstArrayView< FaceGroup > slave_interfaces)
Creates information for the tied interface slave_interface/.
virtual void setPlanarTolerance(Real tol)
Defines the relative acceptance threshold for a point projected onto a candidate face.
virtual String masterInterfaceName() const
Name of the group containing the master cells.
virtual void build(const FaceGroup &interface, bool is_structured)
Builds the tied interface on the group interface.
virtual TiedInterfaceFaceList tiedFaces() const
List of information about the slave faces of a master face.
virtual FaceGroup masterInterface() const
Group containing the master faces.
virtual TiedInterfaceNodeList tiedNodes() const
List of information about the slave nodes of a master face.
ItemGroupT< Face > FaceGroup
Group of faces.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
ArrayView< Int32 > Int32ArrayView
C equivalent of a 1D array of 32-bit integers.
double Real
Type representing a real number.
ArrayView< Real2 > Real2ArrayView
C equivalent of a 1D array of Real2.
ConstArrayView< Integer > IntegerConstArrayView
C equivalent of a 1D array of integers.