From d5b3ca5709d0600c8915f4b75d3de9af72959a03 Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Thu, 7 Mar 2024 11:13:11 +0100 Subject: [PATCH] set capacity also when using MPI --- src/meshes/mesh_io.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meshes/mesh_io.jl b/src/meshes/mesh_io.jl index 337e33e6969..28e6efa8c57 100644 --- a/src/meshes/mesh_io.jl +++ b/src/meshes/mesh_io.jl @@ -74,6 +74,7 @@ function save_mesh_file(mesh::TreeMesh, output_directory, timestep, attributes(file)["mesh_type"] = get_name(mesh) attributes(file)["ndims"] = ndims(mesh) attributes(file)["n_cells"] = n_cells + attributes(file)["capacity"] = mesh.tree.capacity attributes(file)["n_leaf_cells"] = count_leaf_cells(mesh.tree) attributes(file)["minimum_level"] = minimum_level(mesh.tree) attributes(file)["maximum_level"] = maximum_level(mesh.tree)