From 64443540782e330a116e52f596ebb5e22ea13f41 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Thu, 4 Oct 2018 19:05:20 +0200
Subject: [PATCH] Add access function to cell type

---
 src/mesh/Connectivity.hpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mesh/Connectivity.hpp b/src/mesh/Connectivity.hpp
index 3c0405952..1a445be0d 100644
--- a/src/mesh/Connectivity.hpp
+++ b/src/mesh/Connectivity.hpp
@@ -310,6 +310,11 @@ class Connectivity final
   }
 
  public:
+  PASTIS_INLINE
+  const CellValue<const CellType>& cellType() const
+  {
+    return m_cell_type;
+  };
 
   PASTIS_INLINE
   const bool& isConnectivityMatrixBuilt(const ItemType& item_type_0,
-- 
GitLab