Skip to content
Snippets Groups Projects
Commit e69a4343 authored by Tom Fischer's avatar Tom Fischer
Browse files

[App/Python] Change connectivity data layout in OGSPython mesh.

parent fcef847b
No related branches found
No related tags found
No related merge requests found
......@@ -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()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment