Skip to content

Commit

Permalink
replace t8_geom_get_dimension by t8_cmesh_get_dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
benegee committed Nov 5, 2024
1 parent 55ce488 commit 7405931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meshes/t8code_mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function T8codeMesh(cmesh::Ptr{t8_cmesh};
@assert (t8_cmesh_get_num_trees(cmesh)>0) "Given `cmesh` does not contain any trees."

# Infer NDIMS from the geometry of the first tree.
NDIMS = Int(t8_geom_get_dimension(t8_cmesh_get_tree_geometry(cmesh, 0)))
NDIMS = Int(t8_cmesh_get_dimension(cmesh))

@assert (NDIMS == 2||NDIMS == 3) "NDIMS should be 2 or 3."

Expand Down

0 comments on commit 7405931

Please sign in to comment.