Skip to content

Commit

Permalink
set capacity also when using MPI (#1862)
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
benegee and ranocha authored Mar 8, 2024
1 parent c4bf3df commit 1ca37cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/meshes/mesh_io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ca37cf

Please sign in to comment.