diff --git a/src/mesh/Connectivity.hpp b/src/mesh/Connectivity.hpp index 4531a89f2caa20ecdf44f4faff47700ac02242c1..d38c0e1630ae54485974713d08f054922deb08fb 100644 --- a/src/mesh/Connectivity.hpp +++ b/src/mesh/Connectivity.hpp @@ -47,7 +47,7 @@ class ConnectivityDescriptor std::vector<std::vector<unsigned int>> cell_to_face_vector; std::vector<std::vector<bool>> cell_face_is_reversed_vector; - std::vector<std::vector<unsigned int>> face_to_cell_vector; + // std::vector<std::vector<unsigned int>> face_to_cell_vector; std::vector<std::vector<unsigned int>> face_to_node_vector; std::vector<CellType> cell_type_vector; @@ -168,6 +168,12 @@ class Connectivity final return m_cell_number; } + PASTIS_INLINE + const FaceValue<const int>& faceNumber() const + { + return m_face_number; + } + PASTIS_INLINE const EdgeValue<const int>& edgeNumber() const { @@ -186,6 +192,12 @@ class Connectivity final return m_cell_owner; } + PASTIS_INLINE + const FaceValue<const int>& faceOwner() const + { + return m_face_owner; + } + PASTIS_INLINE const NodeValue<const int>& nodeOwner() const {