36#ifndef NEKTAR_SPATIALDOMAINS_INTERFACEINTERPOLATION_H
37#define NEKTAR_SPATIALDOMAINS_INTERFACEINTERPOLATION_H
58 for (
auto &comp : edge)
61 for (
auto &geom : comp.second->m_geomVec)
63 m_edge[geom->GetGlobalID()] = geom;
72 inline std::map<int, GeometrySharedPtr>
const &
GetEdge()
const
143 leftInterface->GetOppInterface() = rightInterface;
144 rightInterface->GetOppInterface() = leftInterface;
std::shared_ptr< InterfacePair > InterfacePairShPtr
std::shared_ptr< Interface > InterfaceShPtr
std::shared_ptr< Composite > CompositeSharedPtr
std::shared_ptr< Geometry > GeometrySharedPtr
std::map< int, CompositeSharedPtr > CompositeMap
A interface which is a single edge on a zone for handling non-conformality.
std::shared_ptr< Interface > m_oppInterface
Matching opposite interface of the interface pair.
virtual ~Interface()=default
Default destructor.
bool IsEmpty() const
Checks if the interface edge is empty (used for parallelisation)
std::shared_ptr< Interface > & GetOppInterface()
Returns the matching opposite interface from the interface pair.
bool GetSkipCoordCheck() const
Return the skip check flag for coordinate exchange in InterfaceMapDG.
std::map< int, GeometrySharedPtr > m_edge
Map of global ID to geometry of the interface edge.
Interface(int indx, const CompositeMap &edge, bool skipCoordCheck)
Constructor.
std::vector< unsigned int > m_compositeIDs
String from XML representation, describing which composites make up this interface.
const std::vector< unsigned int > & GetCompositeIDs() const
Returns IDs of composites making up the interface.
int & GetId()
Returns the interface ID.
std::map< int, GeometrySharedPtr > const & GetEdge() const
Returns map of global ID to geometry of the interface edge.
bool m_skipCoordCheck
Skip the coord found check in InterfaceMapDG.
GeometrySharedPtr const & GetEdge(int id)
Returns geometry of the interface edge with global ID.
const InterfaceShPtr & GetRightInterface() const
Return the 'right' interface from the interface pair.
InterfaceShPtr m_leftInterface
'Left' interface of the interface pair
InterfacePair(const InterfaceShPtr &leftInterface, const InterfaceShPtr &rightInterface)
Constructor.
InterfaceShPtr m_rightInterface
'Right' interface of the interface pair
const InterfaceShPtr & GetLeftInterface() const
Return the 'left' interface from the interface pair.