From 382afd404aeb9542408c2f396e81a779872d8821 Mon Sep 17 00:00:00 2001 From: jorgensd Date: Tue, 3 Dec 2024 20:13:22 +0000 Subject: [PATCH] Fix graph partitioner --- src/adios4dolfinx/checkpointing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adios4dolfinx/checkpointing.py b/src/adios4dolfinx/checkpointing.py index bdd3875..553d581 100644 --- a/src/adios4dolfinx/checkpointing.py +++ b/src/adios4dolfinx/checkpointing.py @@ -609,7 +609,7 @@ def read_mesh_data( def partitioner(comm: MPI.Intracomm, n, m, topo): assert len(topo[0]) % (len(partition_graph.offsets) - 1) == 0 - return partition_graph + return partition_graph._cpp_object else: partitioner = dolfinx.cpp.mesh.create_cell_partitioner(ghost_mode)