Skip to content

Commit

Permalink
Print leaf cells for tree meshes (#1645)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring authored Sep 22, 2023
1 parent ea4e2cd commit 3bda051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/meshes/tree_mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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) * "}",
Expand Down

0 comments on commit 3bda051

Please sign in to comment.