Skip to content

Commit

Permalink
Fixed typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Markert committed Apr 8, 2024
1 parent 0fed965 commit c50b434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meshes/t8code_mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ end
Create a 'T8codeMesh'.
# Arguments
- 'forest': Pointer to a commited forest.
- 'forest': Pointer to a committed forest.
- 'boundary_names': List of boundary names.
- 'polydeg::Integer': Polynomial degree used to store the geometry of the mesh.
The mapping will be approximated by an interpolation polynomial
Expand Down Expand Up @@ -325,7 +325,7 @@ function T8codeMesh(trees_per_dimension; polydeg = 1,
end
end

# Note, `p*est_connectivity_new_brick` convers a domain of `[0,nx] x [0,ny] x ....`.
# Note, `p*est_connectivity_new_brick` converts a domain of `[0,nx] x [0,ny] x ....`.
# Hence, transform mesh coordinates to reference space [-1,1]^NDIMS before applying user defined mapping.
mapping_(xyz...) = mapping((x * 2.0/tpd - 1.0 for (x,tpd) in zip(xyz, trees_per_dimension))...)

Expand Down

0 comments on commit c50b434

Please sign in to comment.