36 #ifndef NEKTAR_SPATIALDOMAINS_INTERFACEINTERPOLATION_H
37 #define NEKTAR_SPATIALDOMAINS_INTERFACEINTERPOLATION_H
44 namespace SpatialDomains
59 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
126 leftInterface->GetOppInterface() = rightInterface;
127 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
The above copyright notice and this permission notice shall be included.
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.
std::shared_ptr< Interface > & GetOppInterface()
Returns the matching opposite interface from the interface pair.
virtual ~Interface()=default
Default destructor.
bool IsEmpty() const
Checks if the interface edge is empty (used for parallelisation)
std::map< int, GeometrySharedPtr > m_edge
Map of global ID to geometry of the interface edge.
std::map< int, GeometrySharedPtr > const & GetEdge() const
Returns map of global ID to geometry of the interface edge.
Interface(int indx, const CompositeMap &edge)
Constructor.
GeometrySharedPtr const & GetEdge(int id)
Returns geometry of the interface edge with global ID.
int & GetId()
Returns the interface ID.
InterfaceShPtr m_leftInterface
'Left' interface of the interface pair
InterfacePair(const InterfaceShPtr &leftInterface, const InterfaceShPtr &rightInterface)
Constructor.
const InterfaceShPtr & GetLeftInterface() const
Return the 'left' interface from the interface pair.
const InterfaceShPtr & GetRightInterface() const
Return the 'right' interface from the interface pair.
InterfaceShPtr m_rightInterface
'Right' interface of the interface pair