56 py::bind_vector<std::vector<unsigned int>>(m,
"UIntList");
58 py::class_<Interface, std::shared_ptr<Interface>>(m,
"Interface")
60 .def<
const std::map<int, Geometry *> &(
Interface::*)()
const>(
62 py::return_value_policy::reference_internal)
66 py::return_value_policy::reference_internal)
68 py::return_value_policy::copy);
70 py::class_<InterfacePair, std::shared_ptr<InterfacePair>>(m,
74 py::return_value_policy::copy)
76 py::return_value_policy::copy);
std::shared_ptr< Interface > InterfaceShPtr
std::map< int, CompositeSharedPtr > CompositeMap
A interface which is a single edge on a zone for handling non-conformality.
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.
std::map< int, Geometry * > const & GetEdge() const
Returns map of global ID to geometry of the interface edge.
const std::vector< unsigned int > & GetCompositeIDs() const
Returns IDs of composites making up the interface.
int & GetId()
Returns the interface ID.
const InterfaceShPtr & GetRightInterface() const
Return the 'right' interface from the interface pair.
const InterfaceShPtr & GetLeftInterface() const
Return the 'left' interface from the interface pair.