From 86563a85edb5b2c51f8b818ace00b615314daa5f Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Thu, 21 Sep 2023 15:31:35 +0200 Subject: [PATCH] Print leaf cells for tree meshes --- src/meshes/tree_mesh.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meshes/tree_mesh.jl b/src/meshes/tree_mesh.jl index 93ba982bce9..05699d17d16 100644 --- a/src/meshes/tree_mesh.jl +++ b/src/meshes/tree_mesh.jl @@ -199,6 +199,7 @@ function Base.show(io::IO, ::MIME"text/plain", "length" => mesh.tree.length_level_0, "periodicity" => mesh.tree.periodicity, "current #cells" => mesh.tree.length, + "#leaf-cells" => count_leaf_cells(mesh.tree), "maximum #cells" => mesh.tree.capacity, ] summary_box(io, "TreeMesh{" * string(NDIMS) * ", " * string(TreeType) * "}",