Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Mar 5, 2025
1 parent 5bf7be2 commit 677807e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/t8_step6_stencil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function t8_step6_build_forest(comm, dim, level)
end

# Allocate and fill the element data array with `heights` from an arbitrary
# mathematical function. Returns a pointer to the array which is then ownded by
# mathematical function. Returns a pointer to the array which is then owned by
# the calling scope.
function t8_step6_create_element_data(forest)
# Check that the forest is a committed.
Expand Down
2 changes: 1 addition & 1 deletion src/Libt8.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14860,7 +14860,7 @@ const t8_forest_adapt_t = Ptr{Cvoid}
"""
t8_forest_init(pforest)

Create a new forest with reference count one. This forest needs to be specialized with the t8\\_forest\\_set\\_* calls. Currently it is manatory to either call the functions t8_forest_set_mpicomm, t8_forest_set_cmesh, and t8_forest_set_scheme, or to call one of t8_forest_set_copy, t8_forest_set_adapt, or t8_forest_set_partition. It is illegal to mix these calls, or to call more than one of the three latter functions Then it needs to be set up with t8_forest_commit.
Create a new forest with reference count one. This forest needs to be specialized with the t8\\_forest\\_set\\_* calls. Currently it is mandatory to either call the functions t8_forest_set_mpicomm, t8_forest_set_cmesh, and t8_forest_set_scheme, or to call one of t8_forest_set_copy, t8_forest_set_adapt, or t8_forest_set_partition. It is illegal to mix these calls, or to call more than one of the three latter functions Then it needs to be set up with t8_forest_commit.

# Arguments
* `pforest`:\\[in,out\\] On input, this pointer must be non-NULL. On return, this pointer set to the new forest.
Expand Down

0 comments on commit 677807e

Please sign in to comment.