Skip to content

Commit

Permalink
modify calc_node_coordinates! to handle P4estMesh{2} with 3D coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmontoya committed Aug 19, 2024
1 parent ba82d36 commit e85fa7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/solvers/dgsem_p4est/containers_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ function calc_node_coordinates!(node_coordinates,
# places and the additional information passed to the compiler makes them faster
# than native `Array`s.
tmp1 = StrideArray(undef, real(mesh),
StaticInt(2), static_length(nodes), static_length(mesh.nodes))
StaticInt(size(mesh.tree_node_coordinates, 1)),
static_length(nodes), static_length(mesh.nodes))
matrix1 = StrideArray(undef, real(mesh),
static_length(nodes), static_length(mesh.nodes))
matrix2 = similar(matrix1)
Expand Down

0 comments on commit e85fa7e

Please sign in to comment.