From e69a4343e59ca6e1e04c80dd54ca05b277ed3831 Mon Sep 17 00:00:00 2001
From: Tom Fischer <thomas.fischer@ufz.de>
Date: Fri, 25 Oct 2024 15:19:25 +0200
Subject: [PATCH] [App/Python] Change connectivity data layout in OGSPython
 mesh.

---
 Applications/Python/ogs.mesh/OGSMesh.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Applications/Python/ogs.mesh/OGSMesh.cpp b/Applications/Python/ogs.mesh/OGSMesh.cpp
index bcd237cc56d..a05114198c1 100644
--- a/Applications/Python/ogs.mesh/OGSMesh.cpp
+++ b/Applications/Python/ogs.mesh/OGSMesh.cpp
@@ -54,7 +54,6 @@ std::pair<std::vector<int>, std::vector<int>> OGSMesh::getCells() const
     std::vector<int> cell_types;
     for (auto const* element : elements)
     {
-        cells.push_back(static_cast<int>(element->getNumberOfNodes()));
         ranges::copy(element->nodes() | MeshLib::views::ids,
                      std::back_inserter(cells));
         cell_types.push_back(OGSToVtkCellType(element->getCellType()));
-- 
GitLab