Skip to content
Snippets Groups Projects
Commit 7bcdbc39 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add face number access function

parent 050856e5
No related branches found
No related tags found
1 merge request!11Feature/mpi
...@@ -47,7 +47,7 @@ class ConnectivityDescriptor ...@@ -47,7 +47,7 @@ class ConnectivityDescriptor
std::vector<std::vector<unsigned int>> cell_to_face_vector; std::vector<std::vector<unsigned int>> cell_to_face_vector;
std::vector<std::vector<bool>> cell_face_is_reversed_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<std::vector<unsigned int>> face_to_node_vector;
std::vector<CellType> cell_type_vector; std::vector<CellType> cell_type_vector;
...@@ -168,6 +168,12 @@ class Connectivity final ...@@ -168,6 +168,12 @@ class Connectivity final
return m_cell_number; return m_cell_number;
} }
PASTIS_INLINE
const FaceValue<const int>& faceNumber() const
{
return m_face_number;
}
PASTIS_INLINE PASTIS_INLINE
const EdgeValue<const int>& edgeNumber() const const EdgeValue<const int>& edgeNumber() const
{ {
...@@ -186,6 +192,12 @@ class Connectivity final ...@@ -186,6 +192,12 @@ class Connectivity final
return m_cell_owner; return m_cell_owner;
} }
PASTIS_INLINE
const FaceValue<const int>& faceOwner() const
{
return m_face_owner;
}
PASTIS_INLINE PASTIS_INLINE
const NodeValue<const int>& nodeOwner() const const NodeValue<const int>& nodeOwner() const
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment