From a3f4ccce083d91e6b70ae0be6c82df9ac5e966b5 Mon Sep 17 00:00:00 2001 From: Thomas Spenke Date: Tue, 20 May 2025 09:31:54 +0200 Subject: [PATCH 1/5] Bugfix: Collection of small fixes to make examples work again --- examples/.gitignore | 2 ++ examples/t8_step1_coarsemesh.jl | 8 ++++---- examples/t8_step4_partition_balance_ghost.jl | 4 ++-- examples/t8_tutorial_build_cmesh.jl | 20 ++++++++++---------- 4 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 examples/.gitignore diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..3ce612c --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,2 @@ +*.vtu +*.pvtu \ No newline at end of file diff --git a/examples/t8_step1_coarsemesh.jl b/examples/t8_step1_coarsemesh.jl index 0e252f9..f34df32 100644 --- a/examples/t8_step1_coarsemesh.jl +++ b/examples/t8_step1_coarsemesh.jl @@ -3,7 +3,7 @@ # In this example we build a coarse mesh with a cube geometry. # The cube is meshed with 6 coarse tetrahedra. # We then output it in vtu format and destroy it. -# +# # How you can experiment here: # - Use Paraview to visualize the output files. # - Change the parameters of t8_cmesh_new_hypercube @@ -27,7 +27,7 @@ function t8_step1_build_tetcube_coarse_mesh(comm) # You can modify the first parameter to build a cube with different # tree shapes, i.e. T8_ECLASS_QUAD for a unit square with 1 quadrilateral tree. # See t8_eclass.h, t8_cmesh.h for all possible shapes. - # + # # The second argument is the MPI communicator to use for this cmesh. # The remaining arguments are 3 flags that control # do_bcast - If non-zero only the root process will build the cmesh and will broadcast it to the other processes. The result is the same. @@ -42,12 +42,12 @@ end # Write vtk (or more accurately vtu) files of the cmesh. # \param [in] cmesh A coarse mesh. # \param [in] prefix A string that is used as a prefix of the output files. -# +# # This will create the file prefix.pvtu and the file prefix_0000.vtu. # If the coarse mesh would be repartitioned, then it would write the .pvtu file # and additionally one file prefix_MPIRANK.vtu per MPI rank. function t8_step1_write_cmesh_vtk(cmesh, prefix) - t8_cmesh_vtk_write_file(cmesh, prefix, 1.0) + t8_cmesh_vtk_write_file(cmesh, prefix) end # Destroy a cmesh. This will free all allocated memory. diff --git a/examples/t8_step4_partition_balance_ghost.jl b/examples/t8_step4_partition_balance_ghost.jl index 9966f1d..3f9e388 100644 --- a/examples/t8_step4_partition_balance_ghost.jl +++ b/examples/t8_step4_partition_balance_ghost.jl @@ -252,8 +252,8 @@ forest = t8_step4_partition_ghost(forest) t8_global_productionf(" [step4] Repartitioned forest and built ghost layer.\n") t8_step3_print_forest_information(forest) -# Write forest to vtu files. -t8_forest_write_vtk(forest, prefix_partition_ghost) +# Write forest to vtu files, including ghost layer. +t8_forest_write_vtk_ext(forest, prefix_partition_ghost, 1, 1, 1, 1, 1, 0, 1, 0, C_NULL); # # Balance diff --git a/examples/t8_tutorial_build_cmesh.jl b/examples/t8_tutorial_build_cmesh.jl index d886970..af797b4 100644 --- a/examples/t8_tutorial_build_cmesh.jl +++ b/examples/t8_tutorial_build_cmesh.jl @@ -163,7 +163,7 @@ function t8_cmesh_new_periodic_hybrid_2d(comm) cmesh = cmesh_ref[] # 3. Definition of the geometry. - linear_geom = t8_geometry_linear_new(2) + linear_geom = t8_geometry_linear_new() t8_cmesh_register_geometry(cmesh, linear_geom) # Use linear geometry. # 4. Definition of the classes of the different trees. @@ -175,12 +175,12 @@ function t8_cmesh_new_periodic_hybrid_2d(comm) t8_cmesh_set_tree_class(cmesh, 5, T8_ECLASS_TRIANGLE) # 5. Classification of the vertices for each tree. - t8_cmesh_set_tree_vertices(cmesh, 0, vertices, 3) - t8_cmesh_set_tree_vertices(cmesh, 1, vertices + 9, 3) - t8_cmesh_set_tree_vertices(cmesh, 2, vertices + 18, 4) - t8_cmesh_set_tree_vertices(cmesh, 3, vertices + 30, 4) - t8_cmesh_set_tree_vertices(cmesh, 4, vertices + 42, 3) - t8_cmesh_set_tree_vertices(cmesh, 5, vertices + 51, 3) + t8_cmesh_set_tree_vertices(cmesh, 0, pointer(vertices,0), 3) + t8_cmesh_set_tree_vertices(cmesh, 1, pointer(vertices,9), 3) + t8_cmesh_set_tree_vertices(cmesh, 2, pointer(vertices,18), 4) + t8_cmesh_set_tree_vertices(cmesh, 3, pointer(vertices,30), 4) + t8_cmesh_set_tree_vertices(cmesh, 4, pointer(vertices,42), 3) + t8_cmesh_set_tree_vertices(cmesh, 5, pointer(vertices,51), 3) # 6. Definition of the face neighbors between the different trees. t8_cmesh_set_join(cmesh, 0, 1, 1, 2, 0) @@ -208,7 +208,7 @@ end # The mesh consists of two tetrahedra, two prisms, one pyramid, and one hexahedron. function t8_cmesh_new_hybrid_gate_3d(comm) vertices = Vector{Cdouble}(undef, 24) - linear_geom = t8_geometry_linear_new(3) + linear_geom = t8_geometry_linear_new() # Initialization of the mesh. cmesh_ref = Ref(t8_cmesh_t()) @@ -409,9 +409,9 @@ cmesh_3D = t8_cmesh_new_hybrid_gate_3d(comm) t8_global_productionf("[tutorial] A 3D hybrid cmesh (in style of a gate) has been created.\n") # Output the meshes to vtu files. -t8_cmesh_vtk_write_file(cmesh_2D, prefix_2D, 1.0) +t8_cmesh_vtk_write_file(cmesh_2D, prefix_2D) t8_global_productionf("[tutorial] Wrote the 2D cmesh to vtu files.\n") -t8_cmesh_vtk_write_file(cmesh_3D, prefix_3D, 1.0) +t8_cmesh_vtk_write_file(cmesh_3D, prefix_3D) t8_global_productionf("[tutorial] Wrote the 3D cmesh to vtu files.\n") # From cddbee6ac2ee426b7092d07d27246af0781a80d8 Mon Sep 17 00:00:00 2001 From: Thomas Spenke Date: Tue, 9 Dec 2025 10:24:15 +0100 Subject: [PATCH 2/5] Ran formatter --- dev/epilogue.jl | 1 + dev/generator.jl | 11 +- examples/t8_tutorial_build_cmesh.jl | 12 +- src/Libt8.jl | 1987 +++++++++++++++++++-------- 4 files changed, 1391 insertions(+), 620 deletions(-) diff --git a/dev/epilogue.jl b/dev/epilogue.jl index e69de29..8b13789 100644 --- a/dev/epilogue.jl +++ b/dev/epilogue.jl @@ -0,0 +1 @@ + diff --git a/dev/generator.jl b/dev/generator.jl index 1565218..7f57b90 100644 --- a/dev/generator.jl +++ b/dev/generator.jl @@ -29,12 +29,11 @@ options = load_options(joinpath(@__DIR__, "generator.toml")) args = get_default_args() # Note you must call this function firstly and then append your own flags push!(args, "-I$include_dir") -headers = [ - glob("t8_*.h", include_dir) ; - glob("**/t8_*.h", include_dir) ; - glob("**/**/t8_*.h", include_dir) ; - # glob("**/**/**/t8_*.h", include_dir) -] +headers = [glob("t8_*.h", include_dir); + glob("**/t8_*.h", include_dir); + glob("**/**/t8_*.h", include_dir) + # glob("**/**/**/t8_*.h", include_dir) + ] # create context ctx = create_context(headers, args, options) diff --git a/examples/t8_tutorial_build_cmesh.jl b/examples/t8_tutorial_build_cmesh.jl index af797b4..ab2f22b 100644 --- a/examples/t8_tutorial_build_cmesh.jl +++ b/examples/t8_tutorial_build_cmesh.jl @@ -175,12 +175,12 @@ function t8_cmesh_new_periodic_hybrid_2d(comm) t8_cmesh_set_tree_class(cmesh, 5, T8_ECLASS_TRIANGLE) # 5. Classification of the vertices for each tree. - t8_cmesh_set_tree_vertices(cmesh, 0, pointer(vertices,0), 3) - t8_cmesh_set_tree_vertices(cmesh, 1, pointer(vertices,9), 3) - t8_cmesh_set_tree_vertices(cmesh, 2, pointer(vertices,18), 4) - t8_cmesh_set_tree_vertices(cmesh, 3, pointer(vertices,30), 4) - t8_cmesh_set_tree_vertices(cmesh, 4, pointer(vertices,42), 3) - t8_cmesh_set_tree_vertices(cmesh, 5, pointer(vertices,51), 3) + t8_cmesh_set_tree_vertices(cmesh, 0, pointer(vertices, 0), 3) + t8_cmesh_set_tree_vertices(cmesh, 1, pointer(vertices, 9), 3) + t8_cmesh_set_tree_vertices(cmesh, 2, pointer(vertices, 18), 4) + t8_cmesh_set_tree_vertices(cmesh, 3, pointer(vertices, 30), 4) + t8_cmesh_set_tree_vertices(cmesh, 4, pointer(vertices, 42), 3) + t8_cmesh_set_tree_vertices(cmesh, 5, pointer(vertices, 51), 3) # 6. Definition of the face neighbors between the different trees. t8_cmesh_set_join(cmesh, 0, 1, 1, 2, 0) diff --git a/src/Libt8.jl b/src/Libt8.jl index 97b434f..08fc432 100644 --- a/src/Libt8.jl +++ b/src/Libt8.jl @@ -3,9 +3,10 @@ module Libt8 using CEnum: @cenum to_c_type(t::Type) = t -to_c_type_pairs(va_list) = map(enumerate(to_c_type.(va_list))) do (ind, type) - :(va_list[$ind]::$type) -end +to_c_type_pairs(va_list) = + map(enumerate(to_c_type.(va_list))) do (ind, type) + :(va_list[$ind]::$type) + end using t8code_jll: t8code_jll export t8code_jll @@ -66,7 +67,6 @@ const INT32_MAX = typemax(Cint) const INT64_MIN = typemin(Clonglong) const INT64_MAX = typemax(Clonglong) - """ sc_abort_verbose(filename, lineno, msg) @@ -83,8 +83,9 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_abort_verbosef(filename, lineno, fmt, va_list...) - :(@ccall(libsc.sc_abort_verbosef(filename::Cstring, lineno::Cint, fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libsc.sc_abort_verbosef(filename::Cstring, lineno::Cint, fmt::Cstring; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end """ sc_malloc(package, size) @@ -161,13 +162,16 @@ void sc_log (const char *filename, int lineno, int package, int category, int pr ``` """ function sc_log(filename, lineno, package, category, priority, msg) - @ccall libsc.sc_log(filename::Cstring, lineno::Cint, package::Cint, category::Cint, priority::Cint, msg::Cstring)::Cvoid + @ccall libsc.sc_log(filename::Cstring, lineno::Cint, package::Cint, category::Cint, + priority::Cint, msg::Cstring)::Cvoid end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_logf(filename, lineno, package, category, priority, fmt, va_list...) - :(@ccall(libsc.sc_logf(filename::Cstring, lineno::Cint, package::Cint, category::Cint, priority::Cint, fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libsc.sc_logf(filename::Cstring, lineno::Cint, package::Cint, category::Cint, + priority::Cint, fmt::Cstring; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end """ sc_array @@ -207,7 +211,8 @@ sc_array_t *sc_array_new_count (size_t elem_size, size_t elem_count); ``` """ function sc_array_new_count(elem_size, elem_count) - @ccall libsc.sc_array_new_count(elem_size::Csize_t, elem_count::Csize_t)::Ptr{sc_array_t} + @ccall libsc.sc_array_new_count(elem_size::Csize_t, + elem_count::Csize_t)::Ptr{sc_array_t} end """ @@ -265,7 +270,8 @@ void *sc_shmem_malloc (int package, size_t elem_size, size_t elem_count, sc_MPI_ ``` """ function sc_shmem_malloc(package, elem_size, elem_count, comm) - @ccall libsc.sc_shmem_malloc(package::Cint, elem_size::Csize_t, elem_count::Csize_t, comm::MPI_Comm)::Ptr{Cvoid} + @ccall libsc.sc_shmem_malloc(package::Cint, elem_size::Csize_t, elem_count::Csize_t, + comm::MPI_Comm)::Ptr{Cvoid} end """ @@ -342,7 +348,8 @@ int sc_MPI_Testall (int, sc_MPI_Request *, int *, sc_MPI_Status *); ``` """ function sc_MPI_Testall(arg1, arg2, arg3, arg4) - @ccall libsc.sc_MPI_Testall(arg1::Cint, arg2::Ptr{Cint}, arg3::Ptr{Cint}, arg4::Ptr{Cint})::Cint + @ccall libsc.sc_MPI_Testall(arg1::Cint, arg2::Ptr{Cint}, arg3::Ptr{Cint}, + arg4::Ptr{Cint})::Cint end """ @@ -381,7 +388,8 @@ int sc_MPI_Error_string (int errorcode, char *string, int *resultlen); ``` """ function sc_MPI_Error_string(errorcode, string, resultlen) - @ccall libsc.sc_MPI_Error_string(errorcode::Cint, string::Cstring, resultlen::Ptr{Cint})::Cint + @ccall libsc.sc_MPI_Error_string(errorcode::Cint, string::Cstring, + resultlen::Ptr{Cint})::Cint end """ @@ -405,7 +413,8 @@ void sc_mpi_comm_attach_node_comms (sc_MPI_Comm comm, int processes_per_node); ``` """ function sc_mpi_comm_attach_node_comms(comm, processes_per_node) - @ccall libsc.sc_mpi_comm_attach_node_comms(comm::MPI_Comm, processes_per_node::Cint)::Cvoid + @ccall libsc.sc_mpi_comm_attach_node_comms(comm::MPI_Comm, + processes_per_node::Cint)::Cvoid end """ @@ -429,7 +438,8 @@ void sc_mpi_comm_get_node_comms (sc_MPI_Comm comm, sc_MPI_Comm * intranode, sc_M ``` """ function sc_mpi_comm_get_node_comms(comm, intranode, internode) - @ccall libsc.sc_mpi_comm_get_node_comms(comm::MPI_Comm, intranode::Ptr{MPI_Comm}, internode::Ptr{MPI_Comm})::Cvoid + @ccall libsc.sc_mpi_comm_get_node_comms(comm::MPI_Comm, intranode::Ptr{MPI_Comm}, + internode::Ptr{MPI_Comm})::Cvoid end """ @@ -591,7 +601,9 @@ void sc_set_log_defaults (FILE * log_stream, sc_log_handler_t log_handler, int l ``` """ function sc_set_log_defaults(log_stream, log_handler, log_threshold) - @ccall libsc.sc_set_log_defaults(log_stream::Ptr{Libc.FILE}, log_handler::sc_log_handler_t, log_threshold::Cint)::Cvoid + @ccall libsc.sc_set_log_defaults(log_stream::Ptr{Libc.FILE}, + log_handler::sc_log_handler_t, + log_threshold::Cint)::Cvoid end """ @@ -707,7 +719,8 @@ int sc_package_register (sc_log_handler_t log_handler, int log_threshold, const ``` """ function sc_package_register(log_handler, log_threshold, name, full) - @ccall libsc.sc_package_register(log_handler::sc_log_handler_t, log_threshold::Cint, name::Cstring, full::Cstring)::Cint + @ccall libsc.sc_package_register(log_handler::sc_log_handler_t, log_threshold::Cint, + name::Cstring, full::Cstring)::Cint end """ @@ -790,7 +803,8 @@ void sc_package_set_abort_alloc_mismatch (int package_id, int set_abort); ``` """ function sc_package_set_abort_alloc_mismatch(package_id, set_abort) - @ccall libsc.sc_package_set_abort_alloc_mismatch(package_id::Cint, set_abort::Cint)::Cvoid + @ccall libsc.sc_package_set_abort_alloc_mismatch(package_id::Cint, + set_abort::Cint)::Cvoid end """ @@ -832,7 +846,8 @@ void sc_init (sc_MPI_Comm mpicomm, int catch_signals, int print_backtrace, sc_lo ``` """ function sc_init(mpicomm, catch_signals, print_backtrace, log_handler, log_threshold) - @ccall libsc.sc_init(mpicomm::MPI_Comm, catch_signals::Cint, print_backtrace::Cint, log_handler::sc_log_handler_t, log_threshold::Cint)::Cvoid + @ccall libsc.sc_init(mpicomm::MPI_Comm, catch_signals::Cint, print_backtrace::Cint, + log_handler::sc_log_handler_t, log_threshold::Cint)::Cvoid end """ @@ -943,8 +958,9 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_snprintf(str, size, format, va_list...) - :(@ccall(libsc.sc_snprintf(str::Cstring, size::Csize_t, format::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libsc.sc_snprintf(str::Cstring, size::Csize_t, format::Cstring; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end """ sc_version() @@ -1115,7 +1131,8 @@ sc_array_t *sc_array_new_view (sc_array_t * array, size_t offset, size_t length) ``` """ function sc_array_new_view(array, offset, length) - @ccall libsc.sc_array_new_view(array::Ptr{sc_array_t}, offset::Csize_t, length::Csize_t)::Ptr{sc_array_t} + @ccall libsc.sc_array_new_view(array::Ptr{sc_array_t}, offset::Csize_t, + length::Csize_t)::Ptr{sc_array_t} end """ @@ -1133,7 +1150,8 @@ sc_array_t *sc_array_new_data (void *base, size_t elem_size, size_t elem_count); ``` """ function sc_array_new_data(base, elem_size, elem_count) - @ccall libsc.sc_array_new_data(base::Ptr{Cvoid}, elem_size::Csize_t, elem_count::Csize_t)::Ptr{sc_array_t} + @ccall libsc.sc_array_new_data(base::Ptr{Cvoid}, elem_size::Csize_t, + elem_count::Csize_t)::Ptr{sc_array_t} end """ @@ -1200,7 +1218,8 @@ void sc_array_init_size (sc_array_t * array, size_t elem_size, size_t elem_count ``` """ function sc_array_init_size(array, elem_size, elem_count) - @ccall libsc.sc_array_init_size(array::Ptr{sc_array_t}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_size(array::Ptr{sc_array_t}, elem_size::Csize_t, + elem_count::Csize_t)::Cvoid end """ @@ -1218,7 +1237,8 @@ void sc_array_init_count (sc_array_t * array, size_t elem_size, size_t elem_coun ``` """ function sc_array_init_count(array, elem_size, elem_count) - @ccall libsc.sc_array_init_count(array::Ptr{sc_array_t}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_count(array::Ptr{sc_array_t}, elem_size::Csize_t, + elem_count::Csize_t)::Cvoid end """ @@ -1237,7 +1257,8 @@ void sc_array_init_view (sc_array_t * view, sc_array_t * array, size_t offset, s ``` """ function sc_array_init_view(view, array, offset, length) - @ccall libsc.sc_array_init_view(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, offset::Csize_t, length::Csize_t)::Cvoid + @ccall libsc.sc_array_init_view(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, + offset::Csize_t, length::Csize_t)::Cvoid end """ @@ -1256,7 +1277,8 @@ void sc_array_init_reshape (sc_array_t * view, sc_array_t * array, size_t elem_s ``` """ function sc_array_init_reshape(view, array, elem_size, elem_count) - @ccall libsc.sc_array_init_reshape(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_reshape(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, + elem_size::Csize_t, elem_count::Csize_t)::Cvoid end """ @@ -1275,7 +1297,8 @@ void sc_array_init_data (sc_array_t * view, void *base, size_t elem_size, size_t ``` """ function sc_array_init_data(view, base, elem_size, elem_count) - @ccall libsc.sc_array_init_data(view::Ptr{sc_array_t}, base::Ptr{Cvoid}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_data(view::Ptr{sc_array_t}, base::Ptr{Cvoid}, + elem_size::Csize_t, elem_count::Csize_t)::Cvoid end """ @@ -1401,7 +1424,8 @@ void sc_array_copy_into (sc_array_t * dest, size_t dest_offset, sc_array_t * src ``` """ function sc_array_copy_into(dest, dest_offset, src) - @ccall libsc.sc_array_copy_into(dest::Ptr{sc_array_t}, dest_offset::Csize_t, src::Ptr{sc_array_t})::Cvoid + @ccall libsc.sc_array_copy_into(dest::Ptr{sc_array_t}, dest_offset::Csize_t, + src::Ptr{sc_array_t})::Cvoid end """ @@ -1421,7 +1445,9 @@ void sc_array_move_part (sc_array_t * dest, size_t dest_offset, sc_array_t * src ``` """ function sc_array_move_part(dest, dest_offset, src, src_offset, count) - @ccall libsc.sc_array_move_part(dest::Ptr{sc_array_t}, dest_offset::Csize_t, src::Ptr{sc_array_t}, src_offset::Csize_t, count::Csize_t)::Cvoid + @ccall libsc.sc_array_move_part(dest::Ptr{sc_array_t}, dest_offset::Csize_t, + src::Ptr{sc_array_t}, src_offset::Csize_t, + count::Csize_t)::Cvoid end """ @@ -1513,7 +1539,8 @@ ssize_t sc_array_bsearch (sc_array_t * array, const void *key, int (*compar) (co ``` """ function sc_array_bsearch(array, key, compar) - @ccall libsc.sc_array_bsearch(array::Ptr{sc_array_t}, key::Ptr{Cvoid}, compar::Ptr{Cvoid})::Cssize_t + @ccall libsc.sc_array_bsearch(array::Ptr{sc_array_t}, key::Ptr{Cvoid}, + compar::Ptr{Cvoid})::Cssize_t end # typedef size_t ( * sc_array_type_t ) ( sc_array_t * array , size_t index , void * data ) @@ -1544,7 +1571,9 @@ void sc_array_split (sc_array_t * array, sc_array_t * offsets, size_t num_types, ``` """ function sc_array_split(array, offsets, num_types, type_fn, data) - @ccall libsc.sc_array_split(array::Ptr{sc_array_t}, offsets::Ptr{sc_array_t}, num_types::Csize_t, type_fn::sc_array_type_t, data::Ptr{Cvoid})::Cvoid + @ccall libsc.sc_array_split(array::Ptr{sc_array_t}, offsets::Ptr{sc_array_t}, + num_types::Csize_t, type_fn::sc_array_type_t, + data::Ptr{Cvoid})::Cvoid end """ @@ -1580,7 +1609,8 @@ void sc_array_permute (sc_array_t * array, sc_array_t * newindices, int keepperm ``` """ function sc_array_permute(array, newindices, keepperm) - @ccall libsc.sc_array_permute(array::Ptr{sc_array_t}, newindices::Ptr{sc_array_t}, keepperm::Cint)::Cvoid + @ccall libsc.sc_array_permute(array::Ptr{sc_array_t}, newindices::Ptr{sc_array_t}, + keepperm::Cint)::Cvoid end """ @@ -1622,7 +1652,8 @@ size_t sc_array_pqueue_add (sc_array_t * array, void *temp, int (*compar) (const ``` """ function sc_array_pqueue_add(array, temp, compar) - @ccall libsc.sc_array_pqueue_add(array::Ptr{sc_array_t}, temp::Ptr{Cvoid}, compar::Ptr{Cvoid})::Csize_t + @ccall libsc.sc_array_pqueue_add(array::Ptr{sc_array_t}, temp::Ptr{Cvoid}, + compar::Ptr{Cvoid})::Csize_t end """ @@ -1650,7 +1681,8 @@ size_t sc_array_pqueue_pop (sc_array_t * array, void *result, int (*compar) (con ``` """ function sc_array_pqueue_pop(array, result, compar) - @ccall libsc.sc_array_pqueue_pop(array::Ptr{sc_array_t}, result::Ptr{Cvoid}, compar::Ptr{Cvoid})::Csize_t + @ccall libsc.sc_array_pqueue_pop(array::Ptr{sc_array_t}, result::Ptr{Cvoid}, + compar::Ptr{Cvoid})::Csize_t end """ @@ -1814,7 +1846,8 @@ void sc_mstamp_init (sc_mstamp_t * mst, size_t stamp_unit, size_t elem_size); ``` """ function sc_mstamp_init(mst, stamp_unit, elem_size) - @ccall libsc.sc_mstamp_init(mst::Ptr{sc_mstamp_t}, stamp_unit::Csize_t, elem_size::Csize_t)::Cvoid + @ccall libsc.sc_mstamp_init(mst::Ptr{sc_mstamp_t}, stamp_unit::Csize_t, + elem_size::Csize_t)::Cvoid end """ @@ -2275,7 +2308,8 @@ sc_link_t *sc_list_insert (sc_list_t * list, sc_link_t * pred, void *data); ``` """ function sc_list_insert(list, pred, data) - @ccall libsc.sc_list_insert(list::Ptr{sc_list_t}, pred::Ptr{sc_link_t}, data::Ptr{Cvoid})::Ptr{sc_link_t} + @ccall libsc.sc_list_insert(list::Ptr{sc_list_t}, pred::Ptr{sc_link_t}, + data::Ptr{Cvoid})::Ptr{sc_link_t} end """ @@ -2400,7 +2434,9 @@ sc_hash_t *sc_hash_new (sc_hash_function_t hash_fn, sc_equal_function_t equal_fn ``` """ function sc_hash_new(hash_fn, equal_fn, user_data, allocator) - @ccall libsc.sc_hash_new(hash_fn::sc_hash_function_t, equal_fn::sc_equal_function_t, user_data::Ptr{Cvoid}, allocator::Ptr{sc_mempool_t})::Ptr{sc_hash_t} + @ccall libsc.sc_hash_new(hash_fn::sc_hash_function_t, equal_fn::sc_equal_function_t, + user_data::Ptr{Cvoid}, + allocator::Ptr{sc_mempool_t})::Ptr{sc_hash_t} end """ @@ -2506,7 +2542,8 @@ int sc_hash_lookup (sc_hash_t * hash, void *v, void ***found); ``` """ function sc_hash_lookup(hash, v, found) - @ccall libsc.sc_hash_lookup(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, found::Ptr{Ptr{Ptr{Cvoid}}})::Cint + @ccall libsc.sc_hash_lookup(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, + found::Ptr{Ptr{Ptr{Cvoid}}})::Cint end """ @@ -2526,7 +2563,8 @@ int sc_hash_insert_unique (sc_hash_t * hash, void *v, void ***found); ``` """ function sc_hash_insert_unique(hash, v, found) - @ccall libsc.sc_hash_insert_unique(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, found::Ptr{Ptr{Ptr{Cvoid}}})::Cint + @ccall libsc.sc_hash_insert_unique(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, + found::Ptr{Ptr{Ptr{Cvoid}}})::Cint end """ @@ -2546,7 +2584,8 @@ int sc_hash_remove (sc_hash_t * hash, void *v, void **found); ``` """ function sc_hash_remove(hash, v, found) - @ccall libsc.sc_hash_remove(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, found::Ptr{Ptr{Cvoid}})::Cint + @ccall libsc.sc_hash_remove(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, + found::Ptr{Ptr{Cvoid}})::Cint end """ @@ -2581,7 +2620,8 @@ void sc_hash_print_statistics (int package_id, int log_priority, sc_hash_t * has ``` """ function sc_hash_print_statistics(package_id, log_priority, hash) - @ccall libsc.sc_hash_print_statistics(package_id::Cint, log_priority::Cint, hash::Ptr{sc_hash_t})::Cvoid + @ccall libsc.sc_hash_print_statistics(package_id::Cint, log_priority::Cint, + hash::Ptr{sc_hash_t})::Cvoid end mutable struct sc_hash_array_data end @@ -2645,7 +2685,9 @@ sc_hash_array_t *sc_hash_array_new (size_t elem_size, sc_hash_function_t hash_fn ``` """ function sc_hash_array_new(elem_size, hash_fn, equal_fn, user_data) - @ccall libsc.sc_hash_array_new(elem_size::Csize_t, hash_fn::sc_hash_function_t, equal_fn::sc_equal_function_t, user_data::Ptr{Cvoid})::Ptr{sc_hash_array_t} + @ccall libsc.sc_hash_array_new(elem_size::Csize_t, hash_fn::sc_hash_function_t, + equal_fn::sc_equal_function_t, + user_data::Ptr{Cvoid})::Ptr{sc_hash_array_t} end """ @@ -2715,7 +2757,8 @@ int sc_hash_array_lookup (sc_hash_array_t * hash_array, void *v, size_t *positio ``` """ function sc_hash_array_lookup(hash_array, v, position) - @ccall libsc.sc_hash_array_lookup(hash_array::Ptr{sc_hash_array_t}, v::Ptr{Cvoid}, position::Ptr{Csize_t})::Cint + @ccall libsc.sc_hash_array_lookup(hash_array::Ptr{sc_hash_array_t}, v::Ptr{Cvoid}, + position::Ptr{Csize_t})::Cint end """ @@ -2735,7 +2778,9 @@ void *sc_hash_array_insert_unique (sc_hash_array_t * hash_array, void *v, size_t ``` """ function sc_hash_array_insert_unique(hash_array, v, position) - @ccall libsc.sc_hash_array_insert_unique(hash_array::Ptr{sc_hash_array_t}, v::Ptr{Cvoid}, position::Ptr{Csize_t})::Ptr{Cvoid} + @ccall libsc.sc_hash_array_insert_unique(hash_array::Ptr{sc_hash_array_t}, + v::Ptr{Cvoid}, + position::Ptr{Csize_t})::Ptr{Cvoid} end """ @@ -2752,7 +2797,8 @@ void sc_hash_array_foreach (sc_hash_array_t * hash_array, sc_hash_foreach_t fn); ``` """ function sc_hash_array_foreach(hash_array, fn) - @ccall libsc.sc_hash_array_foreach(hash_array::Ptr{sc_hash_array_t}, fn::sc_hash_foreach_t)::Cvoid + @ccall libsc.sc_hash_array_foreach(hash_array::Ptr{sc_hash_array_t}, + fn::sc_hash_foreach_t)::Cvoid end """ @@ -2769,7 +2815,8 @@ void sc_hash_array_rip (sc_hash_array_t * hash_array, sc_array_t * rip); ``` """ function sc_hash_array_rip(hash_array, rip) - @ccall libsc.sc_hash_array_rip(hash_array::Ptr{sc_hash_array_t}, rip::Ptr{sc_array_t})::Cvoid + @ccall libsc.sc_hash_array_rip(hash_array::Ptr{sc_hash_array_t}, + rip::Ptr{sc_array_t})::Cvoid end """ @@ -2812,7 +2859,8 @@ void sc_recycle_array_init (sc_recycle_array_t * rec_array, size_t elem_size); ``` """ function sc_recycle_array_init(rec_array, elem_size) - @ccall libsc.sc_recycle_array_init(rec_array::Ptr{sc_recycle_array_t}, elem_size::Csize_t)::Cvoid + @ccall libsc.sc_recycle_array_init(rec_array::Ptr{sc_recycle_array_t}, + elem_size::Csize_t)::Cvoid end """ @@ -2847,7 +2895,8 @@ void *sc_recycle_array_insert (sc_recycle_array_t * rec_array, size_t *position) ``` """ function sc_recycle_array_insert(rec_array, position) - @ccall libsc.sc_recycle_array_insert(rec_array::Ptr{sc_recycle_array_t}, position::Ptr{Csize_t})::Ptr{Cvoid} + @ccall libsc.sc_recycle_array_insert(rec_array::Ptr{sc_recycle_array_t}, + position::Ptr{Csize_t})::Ptr{Cvoid} end """ @@ -2866,7 +2915,8 @@ void *sc_recycle_array_remove (sc_recycle_array_t * rec_array, size_t position); ``` """ function sc_recycle_array_remove(rec_array, position) - @ccall libsc.sc_recycle_array_remove(rec_array::Ptr{sc_recycle_array_t}, position::Csize_t)::Ptr{Cvoid} + @ccall libsc.sc_recycle_array_remove(rec_array::Ptr{sc_recycle_array_t}, + position::Csize_t)::Ptr{Cvoid} end """A type for storing SFC indices""" @@ -2897,8 +2947,9 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_logf(category, priority, fmt, va_list...) - :(@ccall(libt8.t8_logf(category::Cint, priority::Cint, fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_logf(category::Cint, priority::Cint, fmt::Cstring; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end """ t8_log_indent_push() @@ -2930,43 +2981,45 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_errorf(fmt, va_list...) - :(@ccall(libt8.t8_global_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_global_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_essentialf(fmt, va_list...) - :(@ccall(libt8.t8_global_essentialf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_global_essentialf(fmt::Cstring; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_productionf(fmt, va_list...) - :(@ccall(libt8.t8_global_productionf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_global_productionf(fmt::Cstring; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_infof(fmt, va_list...) - :(@ccall(libt8.t8_global_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_global_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_infof(fmt, va_list...) - :(@ccall(libt8.t8_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_productionf(fmt, va_list...) - :(@ccall(libt8.t8_productionf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_productionf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_debugf(fmt, va_list...) - :(@ccall(libt8.t8_debugf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_debugf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) +end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_errorf(fmt, va_list...) - :(@ccall(libt8.t8_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libt8.t8_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) +end """ t8_init(log_threshold) @@ -2999,7 +3052,8 @@ void * t8_sc_array_index_locidx (const sc_array_t *array, const t8_locidx_t it); ``` """ function t8_sc_array_index_locidx(array, it) - @ccall libt8.t8_sc_array_index_locidx(array::Ptr{sc_array_t}, it::t8_locidx_t)::Ptr{Cvoid} + @ccall libt8.t8_sc_array_index_locidx(array::Ptr{sc_array_t}, + it::t8_locidx_t)::Ptr{Cvoid} end """ @@ -3080,7 +3134,8 @@ void sc_shmem_memcpy (void *destarray, void *srcarray, size_t bytes, sc_MPI_Comm ``` """ function sc_shmem_memcpy(destarray, srcarray, bytes, comm) - @ccall libsc.sc_shmem_memcpy(destarray::Ptr{Cvoid}, srcarray::Ptr{Cvoid}, bytes::Csize_t, comm::MPI_Comm)::Cvoid + @ccall libsc.sc_shmem_memcpy(destarray::Ptr{Cvoid}, srcarray::Ptr{Cvoid}, + bytes::Csize_t, comm::MPI_Comm)::Cvoid end """ @@ -3091,8 +3146,11 @@ end void sc_shmem_allgather (void *sendbuf, int sendcount, sc_MPI_Datatype sendtype, void *recvbuf, int recvcount, sc_MPI_Datatype recvtype, sc_MPI_Comm comm); ``` """ -function sc_shmem_allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm) - @ccall libsc.sc_shmem_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, recvbuf::Ptr{Cvoid}, recvcount::Cint, recvtype::Cint, comm::MPI_Comm)::Cvoid +function sc_shmem_allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, + comm) + @ccall libsc.sc_shmem_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, + recvbuf::Ptr{Cvoid}, recvcount::Cint, recvtype::Cint, + comm::MPI_Comm)::Cvoid end """ @@ -3104,7 +3162,8 @@ void sc_shmem_prefix (void *sendbuf, void *recvbuf, int count, sc_MPI_Datatype t ``` """ function sc_shmem_prefix(sendbuf, recvbuf, count, type, op, comm) - @ccall libsc.sc_shmem_prefix(sendbuf::Ptr{Cvoid}, recvbuf::Ptr{Cvoid}, count::Cint, type::Cint, op::Cint, comm::MPI_Comm)::Cvoid + @ccall libsc.sc_shmem_prefix(sendbuf::Ptr{Cvoid}, recvbuf::Ptr{Cvoid}, count::Cint, + type::Cint, op::Cint, comm::MPI_Comm)::Cvoid end """ @@ -3601,7 +3660,9 @@ int t8_cmesh_tree_vertices_negative_volume (const t8_eclass_t eclass, const doub ``` """ function t8_cmesh_tree_vertices_negative_volume(eclass, vertices, num_vertices) - @ccall libt8.t8_cmesh_tree_vertices_negative_volume(eclass::t8_eclass_t, vertices::Ptr{Cdouble}, num_vertices::Cint)::Cint + @ccall libt8.t8_cmesh_tree_vertices_negative_volume(eclass::t8_eclass_t, + vertices::Ptr{Cdouble}, + num_vertices::Cint)::Cint end """ @@ -3655,8 +3716,11 @@ t8\\_cmesh\\_set\\_partition\\_offset, [`t8_cmesh_set_partition_uniform`](@ref) void t8_cmesh_set_partition_range (t8_cmesh_t cmesh, int set_face_knowledge, t8_gloidx_t first_local_tree, t8_gloidx_t last_local_tree); ``` """ -function t8_cmesh_set_partition_range(cmesh, set_face_knowledge, first_local_tree, last_local_tree) - @ccall libt8.t8_cmesh_set_partition_range(cmesh::t8_cmesh_t, set_face_knowledge::Cint, first_local_tree::t8_gloidx_t, last_local_tree::t8_gloidx_t)::Cvoid +function t8_cmesh_set_partition_range(cmesh, set_face_knowledge, first_local_tree, + last_local_tree) + @ccall libt8.t8_cmesh_set_partition_range(cmesh::t8_cmesh_t, set_face_knowledge::Cint, + first_local_tree::t8_gloidx_t, + last_local_tree::t8_gloidx_t)::Cvoid end """ @@ -3673,7 +3737,8 @@ void t8_cmesh_set_partition_offsets (t8_cmesh_t cmesh, t8_shmem_array_t tree_off ``` """ function t8_cmesh_set_partition_offsets(cmesh, tree_offsets) - @ccall libt8.t8_cmesh_set_partition_offsets(cmesh::t8_cmesh_t, tree_offsets::t8_shmem_array_t)::Cvoid + @ccall libt8.t8_cmesh_set_partition_offsets(cmesh::t8_cmesh_t, + tree_offsets::t8_shmem_array_t)::Cvoid end """ @@ -3691,7 +3756,8 @@ void t8_cmesh_set_partition_uniform (t8_cmesh_t cmesh, int element_level, t8_sch ``` """ function t8_cmesh_set_partition_uniform(cmesh, element_level, ts) - @ccall libt8.t8_cmesh_set_partition_uniform(cmesh::t8_cmesh_t, element_level::Cint, ts::Ptr{t8_scheme_cxx_t})::Cvoid + @ccall libt8.t8_cmesh_set_partition_uniform(cmesh::t8_cmesh_t, element_level::Cint, + ts::Ptr{t8_scheme_cxx_t})::Cvoid end """ @@ -3705,7 +3771,8 @@ void t8_cmesh_set_refine (t8_cmesh_t cmesh, int level, t8_scheme_cxx_t *scheme); ``` """ function t8_cmesh_set_refine(cmesh, level, scheme) - @ccall libt8.t8_cmesh_set_refine(cmesh::t8_cmesh_t, level::Cint, scheme::Ptr{t8_scheme_cxx_t})::Cvoid + @ccall libt8.t8_cmesh_set_refine(cmesh::t8_cmesh_t, level::Cint, + scheme::Ptr{t8_scheme_cxx_t})::Cvoid end """ @@ -3740,7 +3807,8 @@ void t8_cmesh_set_tree_class (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, t8_eclass_ ``` """ function t8_cmesh_set_tree_class(cmesh, gtree_id, tree_class) - @ccall libt8.t8_cmesh_set_tree_class(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, tree_class::t8_eclass_t)::Cvoid + @ccall libt8.t8_cmesh_set_tree_class(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, + tree_class::t8_eclass_t)::Cvoid end """ @@ -3768,8 +3836,11 @@ Store an attribute at a tree in a cmesh. Attributes can be arbitrary data that i void t8_cmesh_set_attribute (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, int package_id, int key, void *data, size_t data_size, int data_persists); ``` """ -function t8_cmesh_set_attribute(cmesh, gtree_id, package_id, key, data, data_size, data_persists) - @ccall libt8.t8_cmesh_set_attribute(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, package_id::Cint, key::Cint, data::Ptr{Cvoid}, data_size::Csize_t, data_persists::Cint)::Cvoid +function t8_cmesh_set_attribute(cmesh, gtree_id, package_id, key, data, data_size, + data_persists) + @ccall libt8.t8_cmesh_set_attribute(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, + package_id::Cint, key::Cint, data::Ptr{Cvoid}, + data_size::Csize_t, data_persists::Cint)::Cvoid end """ @@ -3800,7 +3871,9 @@ void t8_cmesh_set_attribute_string (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, int ``` """ function t8_cmesh_set_attribute_string(cmesh, gtree_id, package_id, key, string) - @ccall libt8.t8_cmesh_set_attribute_string(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, package_id::Cint, key::Cint, string::Cstring)::Cvoid + @ccall libt8.t8_cmesh_set_attribute_string(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, + package_id::Cint, key::Cint, + string::Cstring)::Cvoid end """ @@ -3836,8 +3909,14 @@ Store an array of [`t8_gloidx_t`](@ref) as an attribute at a tree in a cmesh. void t8_cmesh_set_attribute_gloidx_array (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, int package_id, int key, const t8_gloidx_t *data, const size_t data_count, int data_persists); ``` """ -function t8_cmesh_set_attribute_gloidx_array(cmesh, gtree_id, package_id, key, data, data_count, data_persists) - @ccall libt8.t8_cmesh_set_attribute_gloidx_array(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, package_id::Cint, key::Cint, data::Ptr{t8_gloidx_t}, data_count::Csize_t, data_persists::Cint)::Cvoid +function t8_cmesh_set_attribute_gloidx_array(cmesh, gtree_id, package_id, key, data, + data_count, data_persists) + @ccall libt8.t8_cmesh_set_attribute_gloidx_array(cmesh::t8_cmesh_t, + gtree_id::t8_gloidx_t, + package_id::Cint, key::Cint, + data::Ptr{t8_gloidx_t}, + data_count::Csize_t, + data_persists::Cint)::Cvoid end """ @@ -3858,7 +3937,9 @@ void t8_cmesh_set_join (t8_cmesh_t cmesh, t8_gloidx_t gtree1, t8_gloidx_t gtree2 ``` """ function t8_cmesh_set_join(cmesh, gtree1, gtree2, face1, face2, orientation) - @ccall libt8.t8_cmesh_set_join(cmesh::t8_cmesh_t, gtree1::t8_gloidx_t, gtree2::t8_gloidx_t, face1::Cint, face2::Cint, orientation::Cint)::Cvoid + @ccall libt8.t8_cmesh_set_join(cmesh::t8_cmesh_t, gtree1::t8_gloidx_t, + gtree2::t8_gloidx_t, face1::Cint, face2::Cint, + orientation::Cint)::Cvoid end """ @@ -3929,7 +4010,8 @@ t8_cmesh_t t8_cmesh_bcast (t8_cmesh_t cmesh_in, int root, sc_MPI_Comm comm); ``` """ function t8_cmesh_bcast(cmesh_in, root, comm) - @ccall libt8.t8_cmesh_bcast(cmesh_in::t8_cmesh_t, root::Cint, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_bcast(cmesh_in::t8_cmesh_t, root::Cint, + comm::MPI_Comm)::t8_cmesh_t end mutable struct t8_geometry end @@ -3957,7 +4039,8 @@ void t8_cmesh_register_geometry (t8_cmesh_t cmesh, t8_geometry_c *geometry); ``` """ function t8_cmesh_register_geometry(cmesh, geometry) - @ccall libt8.t8_cmesh_register_geometry(cmesh::t8_cmesh_t, geometry::Ptr{t8_geometry_c})::Cvoid + @ccall libt8.t8_cmesh_register_geometry(cmesh::t8_cmesh_t, + geometry::Ptr{t8_geometry_c})::Cvoid end """ @@ -3975,7 +4058,8 @@ void t8_cmesh_set_tree_geometry (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const t8 ``` """ function t8_cmesh_set_tree_geometry(cmesh, gtreeid, geom) - @ccall libt8.t8_cmesh_set_tree_geometry(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, geom::Ptr{t8_geometry_c})::Cvoid + @ccall libt8.t8_cmesh_set_tree_geometry(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, + geom::Ptr{t8_geometry_c})::Cvoid end """ @@ -4046,7 +4130,9 @@ t8_cmesh_t t8_cmesh_load_and_distribute (const char *fileprefix, int num_files, ``` """ function t8_cmesh_load_and_distribute(fileprefix, num_files, comm, mode, procs_per_node) - @ccall libt8.t8_cmesh_load_and_distribute(fileprefix::Cstring, num_files::Cint, comm::MPI_Comm, mode::t8_load_mode_t, procs_per_node::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_load_and_distribute(fileprefix::Cstring, num_files::Cint, + comm::MPI_Comm, mode::t8_load_mode_t, + procs_per_node::Cint)::t8_cmesh_t end """ @@ -4183,7 +4269,8 @@ const t8_geometry_c * t8_cmesh_get_tree_geometry (t8_cmesh_t cmesh, t8_gloidx_t ``` """ function t8_cmesh_get_tree_geometry(cmesh, gtreeid) - @ccall libt8.t8_cmesh_get_tree_geometry(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::Ptr{t8_geometry_c} + @ccall libt8.t8_cmesh_get_tree_geometry(cmesh::t8_cmesh_t, + gtreeid::t8_gloidx_t)::Ptr{t8_geometry_c} end """ @@ -4202,7 +4289,8 @@ int t8_cmesh_treeid_is_local_tree (const t8_cmesh_t cmesh, const t8_locidx_t ltr ``` """ function t8_cmesh_treeid_is_local_tree(cmesh, ltreeid) - @ccall libt8.t8_cmesh_treeid_is_local_tree(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t)::Cint + @ccall libt8.t8_cmesh_treeid_is_local_tree(cmesh::t8_cmesh_t, + ltreeid::t8_locidx_t)::Cint end """ @@ -4240,7 +4328,8 @@ t8_locidx_t t8_cmesh_ltreeid_to_ghostid (const t8_cmesh_t cmesh, const t8_locidx ``` """ function t8_cmesh_ltreeid_to_ghostid(cmesh, ltreeid) - @ccall libt8.t8_cmesh_ltreeid_to_ghostid(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_cmesh_ltreeid_to_ghostid(cmesh::t8_cmesh_t, + ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -4315,7 +4404,8 @@ t8_eclass_t t8_cmesh_get_tree_class (t8_cmesh_t cmesh, t8_locidx_t ltree_id); ``` """ function t8_cmesh_get_tree_class(cmesh, ltree_id) - @ccall libt8.t8_cmesh_get_tree_class(cmesh::t8_cmesh_t, ltree_id::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_cmesh_get_tree_class(cmesh::t8_cmesh_t, + ltree_id::t8_locidx_t)::t8_eclass_t end """ @@ -4335,7 +4425,8 @@ int t8_cmesh_tree_face_is_boundary (t8_cmesh_t cmesh, t8_locidx_t ltree_id, int ``` """ function t8_cmesh_tree_face_is_boundary(cmesh, ltree_id, face) - @ccall libt8.t8_cmesh_tree_face_is_boundary(cmesh::t8_cmesh_t, ltree_id::t8_locidx_t, face::Cint)::Cint + @ccall libt8.t8_cmesh_tree_face_is_boundary(cmesh::t8_cmesh_t, ltree_id::t8_locidx_t, + face::Cint)::Cint end """ @@ -4354,7 +4445,8 @@ t8_eclass_t t8_cmesh_get_ghost_class (t8_cmesh_t cmesh, t8_locidx_t lghost_id); ``` """ function t8_cmesh_get_ghost_class(cmesh, lghost_id) - @ccall libt8.t8_cmesh_get_ghost_class(cmesh::t8_cmesh_t, lghost_id::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_cmesh_get_ghost_class(cmesh::t8_cmesh_t, + lghost_id::t8_locidx_t)::t8_eclass_t end """ @@ -4376,7 +4468,8 @@ t8_gloidx_t t8_cmesh_get_global_id (t8_cmesh_t cmesh, t8_locidx_t local_id); ``` """ function t8_cmesh_get_global_id(cmesh, local_id) - @ccall libt8.t8_cmesh_get_global_id(cmesh::t8_cmesh_t, local_id::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_cmesh_get_global_id(cmesh::t8_cmesh_t, + local_id::t8_locidx_t)::t8_gloidx_t end """ @@ -4398,7 +4491,8 @@ t8_locidx_t t8_cmesh_get_local_id (t8_cmesh_t cmesh, t8_gloidx_t global_id); ``` """ function t8_cmesh_get_local_id(cmesh, global_id) - @ccall libt8.t8_cmesh_get_local_id(cmesh::t8_cmesh_t, global_id::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_cmesh_get_local_id(cmesh::t8_cmesh_t, + global_id::t8_gloidx_t)::t8_locidx_t end """ @@ -4427,7 +4521,9 @@ t8_locidx_t t8_cmesh_get_face_neighbor (const t8_cmesh_t cmesh, const t8_locidx_ ``` """ function t8_cmesh_get_face_neighbor(cmesh, ltreeid, face, dual_face, orientation) - @ccall libt8.t8_cmesh_get_face_neighbor(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t, face::Cint, dual_face::Ptr{Cint}, orientation::Ptr{Cint})::t8_locidx_t + @ccall libt8.t8_cmesh_get_face_neighbor(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t, + face::Cint, dual_face::Ptr{Cint}, + orientation::Ptr{Cint})::t8_locidx_t end """ @@ -4467,7 +4563,8 @@ double * t8_cmesh_get_tree_vertices (t8_cmesh_t cmesh, t8_locidx_t ltreeid); ``` """ function t8_cmesh_get_tree_vertices(cmesh, ltreeid) - @ccall libt8.t8_cmesh_get_tree_vertices(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t)::Ptr{Cdouble} + @ccall libt8.t8_cmesh_get_tree_vertices(cmesh::t8_cmesh_t, + ltreeid::t8_locidx_t)::Ptr{Cdouble} end """ @@ -4495,7 +4592,8 @@ void * t8_cmesh_get_attribute (const t8_cmesh_t cmesh, const int package_id, con ``` """ function t8_cmesh_get_attribute(cmesh, package_id, key, ltree_id) - @ccall libt8.t8_cmesh_get_attribute(cmesh::t8_cmesh_t, package_id::Cint, key::Cint, ltree_id::t8_locidx_t)::Ptr{Cvoid} + @ccall libt8.t8_cmesh_get_attribute(cmesh::t8_cmesh_t, package_id::Cint, key::Cint, + ltree_id::t8_locidx_t)::Ptr{Cvoid} end """ @@ -4528,7 +4626,9 @@ t8_gloidx_t * t8_cmesh_get_attribute_gloidx_array (const t8_cmesh_t cmesh, const ``` """ function t8_cmesh_get_attribute_gloidx_array(cmesh, package_id, key, ltree_id, data_count) - @ccall libt8.t8_cmesh_get_attribute_gloidx_array(cmesh::t8_cmesh_t, package_id::Cint, key::Cint, ltree_id::t8_locidx_t, data_count::Csize_t)::Ptr{t8_gloidx_t} + @ccall libt8.t8_cmesh_get_attribute_gloidx_array(cmesh::t8_cmesh_t, package_id::Cint, + key::Cint, ltree_id::t8_locidx_t, + data_count::Csize_t)::Ptr{t8_gloidx_t} end """ @@ -4568,8 +4668,15 @@ Calculate the section of a uniform forest for the current rank. void t8_cmesh_uniform_bounds (t8_cmesh_t cmesh, int level, const t8_scheme_cxx_t *ts, t8_gloidx_t *first_local_tree, t8_gloidx_t *child_in_tree_begin, t8_gloidx_t *last_local_tree, t8_gloidx_t *child_in_tree_end, int8_t *first_tree_shared); ``` """ -function t8_cmesh_uniform_bounds(cmesh, level, ts, first_local_tree, child_in_tree_begin, last_local_tree, child_in_tree_end, first_tree_shared) - @ccall libt8.t8_cmesh_uniform_bounds(cmesh::t8_cmesh_t, level::Cint, ts::Ptr{t8_scheme_cxx_t}, first_local_tree::Ptr{t8_gloidx_t}, child_in_tree_begin::Ptr{t8_gloidx_t}, last_local_tree::Ptr{t8_gloidx_t}, child_in_tree_end::Ptr{t8_gloidx_t}, first_tree_shared::Ptr{Int8})::Cvoid +function t8_cmesh_uniform_bounds(cmesh, level, ts, first_local_tree, child_in_tree_begin, + last_local_tree, child_in_tree_end, first_tree_shared) + @ccall libt8.t8_cmesh_uniform_bounds(cmesh::t8_cmesh_t, level::Cint, + ts::Ptr{t8_scheme_cxx_t}, + first_local_tree::Ptr{t8_gloidx_t}, + child_in_tree_begin::Ptr{t8_gloidx_t}, + last_local_tree::Ptr{t8_gloidx_t}, + child_in_tree_end::Ptr{t8_gloidx_t}, + first_tree_shared::Ptr{Int8})::Cvoid end """ @@ -4650,7 +4757,9 @@ void t8_cmesh_coords_axb (const double *coords_in, double *coords_out, int num_v ``` """ function t8_cmesh_coords_axb(coords_in, coords_out, num_vertices, alpha, b) - @ccall libt8.t8_cmesh_coords_axb(coords_in::Ptr{Cdouble}, coords_out::Ptr{Cdouble}, num_vertices::Cint, alpha::Cdouble, b::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_cmesh_coords_axb(coords_in::Ptr{Cdouble}, coords_out::Ptr{Cdouble}, + num_vertices::Cint, alpha::Cdouble, + b::Ptr{Cdouble})::Cvoid end """ @@ -4669,7 +4778,10 @@ void t8_cmesh_translate_coordinates (const double *coords_in, double *coords_out ``` """ function t8_cmesh_translate_coordinates(coords_in, coords_out, num_vertices, translate) - @ccall libt8.t8_cmesh_translate_coordinates(coords_in::Ptr{Cdouble}, coords_out::Ptr{Cdouble}, num_vertices::Cint, translate::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_cmesh_translate_coordinates(coords_in::Ptr{Cdouble}, + coords_out::Ptr{Cdouble}, + num_vertices::Cint, + translate::Ptr{Cdouble})::Cvoid end """ @@ -4682,8 +4794,12 @@ TODO: Add proper documentation void t8_cmesh_new_translate_vertices_to_attributes (const t8_locidx_t *tvertices, const double *vertices, double *attr_vertices, const int num_vertices); ``` """ -function t8_cmesh_new_translate_vertices_to_attributes(tvertices, vertices, attr_vertices, num_vertices) - @ccall libt8.t8_cmesh_new_translate_vertices_to_attributes(tvertices::Ptr{t8_locidx_t}, vertices::Ptr{Cdouble}, attr_vertices::Ptr{Cdouble}, num_vertices::Cint)::Cvoid +function t8_cmesh_new_translate_vertices_to_attributes(tvertices, vertices, attr_vertices, + num_vertices) + @ccall libt8.t8_cmesh_new_translate_vertices_to_attributes(tvertices::Ptr{t8_locidx_t}, + vertices::Ptr{Cdouble}, + attr_vertices::Ptr{Cdouble}, + num_vertices::Cint)::Cvoid end """ @@ -4735,8 +4851,13 @@ end void t8_cmesh_write_netcdf (t8_cmesh_t cmesh, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *variables[], sc_MPI_Comm comm); ``` """ -function t8_cmesh_write_netcdf(cmesh, file_prefix, file_title, dim, num_extern_netcdf_vars, variables, comm) - @ccall libt8.t8_cmesh_write_netcdf(cmesh::t8_cmesh_t, file_prefix::Cstring, file_title::Cstring, dim::Cint, num_extern_netcdf_vars::Cint, variables::Ptr{Ptr{t8_netcdf_variable_t}}, comm::MPI_Comm)::Cvoid +function t8_cmesh_write_netcdf(cmesh, file_prefix, file_title, dim, num_extern_netcdf_vars, + variables, comm) + @ccall libt8.t8_cmesh_write_netcdf(cmesh::t8_cmesh_t, file_prefix::Cstring, + file_title::Cstring, dim::Cint, + num_extern_netcdf_vars::Cint, + variables::Ptr{Ptr{t8_netcdf_variable_t}}, + comm::MPI_Comm)::Cvoid end struct t8_msh_file_node_t @@ -4762,7 +4883,9 @@ t8_cmesh_t t8_cmesh_from_msh_file (const char *fileprefix, int partition, sc_MPI ``` """ function t8_cmesh_from_msh_file(fileprefix, partition, comm, dim, master, use_cad_geometry) - @ccall libt8.t8_cmesh_from_msh_file(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, dim::Cint, master::Cint, use_cad_geometry::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_from_msh_file(fileprefix::Cstring, partition::Cint, + comm::MPI_Comm, dim::Cint, master::Cint, + use_cad_geometry::Cint)::t8_cmesh_t end struct sc_stats @@ -4862,7 +4985,8 @@ void sc_statistics_accumulate (sc_statistics_t * stats, const char *name, double ``` """ function sc_statistics_accumulate(stats, name, value) - @ccall libsc.sc_statistics_accumulate(stats::Ptr{sc_statistics_t}, name::Cstring, value::Cdouble)::Cvoid + @ccall libsc.sc_statistics_accumulate(stats::Ptr{sc_statistics_t}, name::Cstring, + value::Cdouble)::Cvoid end """ @@ -4876,7 +5000,8 @@ void sc_flops_papi (float *rtime, float *ptime, long long *flpops, float *mflops ``` """ function sc_flops_papi(rtime, ptime, flpops, mflops) - @ccall libsc.sc_flops_papi(rtime::Ptr{Cfloat}, ptime::Ptr{Cfloat}, flpops::Ptr{Clonglong}, mflops::Ptr{Cfloat})::Cvoid + @ccall libsc.sc_flops_papi(rtime::Ptr{Cfloat}, ptime::Ptr{Cfloat}, + flpops::Ptr{Clonglong}, mflops::Ptr{Cfloat})::Cvoid end """ @@ -4929,8 +5054,9 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_flops_shotv(fi, va_list...) - :(@ccall(libsc.sc_flops_shotv(fi::Ptr{sc_flopinfo_t}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end + :(@ccall(libsc.sc_flops_shotv(fi::Ptr{sc_flopinfo_t}; + $(to_c_type_pairs(va_list)...))::Cvoid)) +end """ sc_keyvalue_entry_type_t @@ -4974,7 +5100,7 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_keyvalue_newf(dummy, va_list...) - end +end """ sc_keyvalue_destroy(kv) @@ -5264,7 +5390,8 @@ void sc_stats_set1 (sc_statinfo_t * stats, double value, const char *variable); ``` """ function sc_stats_set1(stats, value, variable) - @ccall libsc.sc_stats_set1(stats::Ptr{sc_statinfo_t}, value::Cdouble, variable::Cstring)::Cvoid + @ccall libsc.sc_stats_set1(stats::Ptr{sc_statinfo_t}, value::Cdouble, + variable::Cstring)::Cvoid end """ @@ -5285,7 +5412,9 @@ void sc_stats_set1_ext (sc_statinfo_t * stats, double value, const char *variabl ``` """ function sc_stats_set1_ext(stats, value, variable, copy_variable, stats_group, stats_prio) - @ccall libsc.sc_stats_set1_ext(stats::Ptr{sc_statinfo_t}, value::Cdouble, variable::Cstring, copy_variable::Cint, stats_group::Cint, stats_prio::Cint)::Cvoid + @ccall libsc.sc_stats_set1_ext(stats::Ptr{sc_statinfo_t}, value::Cdouble, + variable::Cstring, copy_variable::Cint, + stats_group::Cint, stats_prio::Cint)::Cvoid end """ @@ -5322,7 +5451,9 @@ void sc_stats_init_ext (sc_statinfo_t * stats, const char *variable, int copy_va ``` """ function sc_stats_init_ext(stats, variable, copy_variable, stats_group, stats_prio) - @ccall libsc.sc_stats_init_ext(stats::Ptr{sc_statinfo_t}, variable::Cstring, copy_variable::Cint, stats_group::Cint, stats_prio::Cint)::Cvoid + @ccall libsc.sc_stats_init_ext(stats::Ptr{sc_statinfo_t}, variable::Cstring, + copy_variable::Cint, stats_group::Cint, + stats_prio::Cint)::Cvoid end """ @@ -5357,7 +5488,8 @@ void sc_stats_set_group_prio (sc_statinfo_t * stats, int stats_group, int stats_ ``` """ function sc_stats_set_group_prio(stats, stats_group, stats_prio) - @ccall libsc.sc_stats_set_group_prio(stats::Ptr{sc_statinfo_t}, stats_group::Cint, stats_prio::Cint)::Cvoid + @ccall libsc.sc_stats_set_group_prio(stats::Ptr{sc_statinfo_t}, stats_group::Cint, + stats_prio::Cint)::Cvoid end """ @@ -5386,7 +5518,8 @@ void sc_stats_compute (sc_MPI_Comm mpicomm, int nvars, sc_statinfo_t * stats); ``` """ function sc_stats_compute(mpicomm, nvars, stats) - @ccall libsc.sc_stats_compute(mpicomm::MPI_Comm, nvars::Cint, stats::Ptr{sc_statinfo_t})::Cvoid + @ccall libsc.sc_stats_compute(mpicomm::MPI_Comm, nvars::Cint, + stats::Ptr{sc_statinfo_t})::Cvoid end """ @@ -5398,7 +5531,8 @@ void sc_stats_compute1 (sc_MPI_Comm mpicomm, int nvars, sc_statinfo_t * stats); ``` """ function sc_stats_compute1(mpicomm, nvars, stats) - @ccall libsc.sc_stats_compute1(mpicomm::MPI_Comm, nvars::Cint, stats::Ptr{sc_statinfo_t})::Cvoid + @ccall libsc.sc_stats_compute1(mpicomm::MPI_Comm, nvars::Cint, + stats::Ptr{sc_statinfo_t})::Cvoid end """ @@ -5419,7 +5553,8 @@ void sc_stats_print (int package_id, int log_priority, int nvars, sc_statinfo_t ``` """ function sc_stats_print(package_id, log_priority, nvars, stats, full, summary) - @ccall libsc.sc_stats_print(package_id::Cint, log_priority::Cint, nvars::Cint, stats::Ptr{sc_statinfo_t}, full::Cint, summary::Cint)::Cvoid + @ccall libsc.sc_stats_print(package_id::Cint, log_priority::Cint, nvars::Cint, + stats::Ptr{sc_statinfo_t}, full::Cint, summary::Cint)::Cvoid end """ @@ -5441,8 +5576,11 @@ Print measured statistics, filter by group and/or priority. This function uses t void sc_stats_print_ext (int package_id, int log_priority, int nvars, sc_statinfo_t * stats, int stats_group, int stats_prio, int full, int summary); ``` """ -function sc_stats_print_ext(package_id, log_priority, nvars, stats, stats_group, stats_prio, full, summary) - @ccall libsc.sc_stats_print_ext(package_id::Cint, log_priority::Cint, nvars::Cint, stats::Ptr{sc_statinfo_t}, stats_group::Cint, stats_prio::Cint, full::Cint, summary::Cint)::Cvoid +function sc_stats_print_ext(package_id, log_priority, nvars, stats, stats_group, stats_prio, + full, summary) + @ccall libsc.sc_stats_print_ext(package_id::Cint, log_priority::Cint, nvars::Cint, + stats::Ptr{sc_statinfo_t}, stats_group::Cint, + stats_prio::Cint, full::Cint, summary::Cint)::Cvoid end """ @@ -5498,7 +5636,8 @@ void sc_statistics_set (sc_statistics_t * stats, const char *name, double value) ``` """ function sc_statistics_set(stats, name, value) - @ccall libsc.sc_statistics_set(stats::Ptr{sc_statistics_t}, name::Cstring, value::Cdouble)::Cvoid + @ccall libsc.sc_statistics_set(stats::Ptr{sc_statistics_t}, name::Cstring, + value::Cdouble)::Cvoid end """ @@ -5526,7 +5665,8 @@ void sc_statistics_print (sc_statistics_t * stats, int package_id, int log_prior ``` """ function sc_statistics_print(stats, package_id, log_priority, full, summary) - @ccall libsc.sc_statistics_print(stats::Ptr{sc_statistics_t}, package_id::Cint, log_priority::Cint, full::Cint, summary::Cint)::Cvoid + @ccall libsc.sc_statistics_print(stats::Ptr{sc_statistics_t}, package_id::Cint, + log_priority::Cint, full::Cint, summary::Cint)::Cvoid end mutable struct sc_options end @@ -5616,7 +5756,8 @@ void sc_options_set_spacing (sc_options_t * opt, int space_type, int space_help) ``` """ function sc_options_set_spacing(opt, space_type, space_help) - @ccall libsc.sc_options_set_spacing(opt::Ptr{sc_options_t}, space_type::Cint, space_help::Cint)::Cvoid + @ccall libsc.sc_options_set_spacing(opt::Ptr{sc_options_t}, space_type::Cint, + space_help::Cint)::Cvoid end """ @@ -5636,7 +5777,9 @@ void sc_options_add_switch (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_switch(opt, opt_char, opt_name, variable, help_string) - @ccall libsc.sc_options_add_switch(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cint}, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_switch(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, variable::Ptr{Cint}, + help_string::Cstring)::Cvoid end """ @@ -5657,7 +5800,9 @@ void sc_options_add_bool (sc_options_t * opt, int opt_char, const char *opt_name ``` """ function sc_options_add_bool(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_bool(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cint}, init_value::Cint, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_bool(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, variable::Ptr{Cint}, + init_value::Cint, help_string::Cstring)::Cvoid end """ @@ -5678,7 +5823,9 @@ void sc_options_add_int (sc_options_t * opt, int opt_char, const char *opt_name, ``` """ function sc_options_add_int(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_int(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cint}, init_value::Cint, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_int(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, variable::Ptr{Cint}, + init_value::Cint, help_string::Cstring)::Cvoid end """ @@ -5699,7 +5846,9 @@ void sc_options_add_size_t (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_size_t(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_size_t(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Csize_t}, init_value::Csize_t, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_size_t(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, variable::Ptr{Csize_t}, + init_value::Csize_t, help_string::Cstring)::Cvoid end """ @@ -5720,7 +5869,9 @@ void sc_options_add_double (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_double(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_double(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cdouble}, init_value::Cdouble, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_double(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, variable::Ptr{Cdouble}, + init_value::Cdouble, help_string::Cstring)::Cvoid end """ @@ -5741,7 +5892,9 @@ void sc_options_add_string (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_string(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_string(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cstring}, init_value::Cstring, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_string(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, variable::Ptr{Cstring}, + init_value::Cstring, help_string::Cstring)::Cvoid end """ @@ -5760,7 +5913,8 @@ void sc_options_add_inifile (sc_options_t * opt, int opt_char, const char *opt_n ``` """ function sc_options_add_inifile(opt, opt_char, opt_name, help_string) - @ccall libsc.sc_options_add_inifile(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_inifile(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, help_string::Cstring)::Cvoid end """ @@ -5781,7 +5935,8 @@ void sc_options_add_jsonfile (sc_options_t * opt, int opt_char, const char *opt_ ``` """ function sc_options_add_jsonfile(opt, opt_char, opt_name, help_string) - @ccall libsc.sc_options_add_jsonfile(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_jsonfile(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, help_string::Cstring)::Cvoid end """ @@ -5803,7 +5958,10 @@ void sc_options_add_callback (sc_options_t * opt, int opt_char, const char *opt_ ``` """ function sc_options_add_callback(opt, opt_char, opt_name, has_arg, fn, data, help_string) - @ccall libsc.sc_options_add_callback(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, has_arg::Cint, fn::sc_options_callback_t, data::Ptr{Cvoid}, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_callback(opt::Ptr{sc_options_t}, opt_char::Cint, + opt_name::Cstring, has_arg::Cint, + fn::sc_options_callback_t, data::Ptr{Cvoid}, + help_string::Cstring)::Cvoid end """ @@ -5823,7 +5981,8 @@ Add an option that takes string keys into a lookup table of integers. On calling ```c ``` """ -function sc_options_add_keyvalue(opt, opt_char, opt_name, variable, init_value, keyvalue, help_string) +function sc_options_add_keyvalue(opt, opt_char, opt_name, variable, init_value, keyvalue, + help_string) end """ @@ -5841,7 +6000,9 @@ void sc_options_add_suboptions (sc_options_t * opt, sc_options_t * subopt, const ``` """ function sc_options_add_suboptions(opt, subopt, prefix) - @ccall libsc.sc_options_add_suboptions(opt::Ptr{sc_options_t}, subopt::Ptr{sc_options_t}, prefix::Cstring)::Cvoid + @ccall libsc.sc_options_add_suboptions(opt::Ptr{sc_options_t}, + subopt::Ptr{sc_options_t}, + prefix::Cstring)::Cvoid end """ @@ -5860,7 +6021,8 @@ void sc_options_print_usage (int package_id, int log_priority, sc_options_t * op ``` """ function sc_options_print_usage(package_id, log_priority, opt, arg_usage) - @ccall libsc.sc_options_print_usage(package_id::Cint, log_priority::Cint, opt::Ptr{sc_options_t}, arg_usage::Cstring)::Cvoid + @ccall libsc.sc_options_print_usage(package_id::Cint, log_priority::Cint, + opt::Ptr{sc_options_t}, arg_usage::Cstring)::Cvoid end """ @@ -5878,7 +6040,8 @@ void sc_options_print_summary (int package_id, int log_priority, sc_options_t * ``` """ function sc_options_print_summary(package_id, log_priority, opt) - @ccall libsc.sc_options_print_summary(package_id::Cint, log_priority::Cint, opt::Ptr{sc_options_t})::Cvoid + @ccall libsc.sc_options_print_summary(package_id::Cint, log_priority::Cint, + opt::Ptr{sc_options_t})::Cvoid end """ @@ -5899,7 +6062,8 @@ int sc_options_load (int package_id, int err_priority, sc_options_t * opt, const ``` """ function sc_options_load(package_id, err_priority, opt, file) - @ccall libsc.sc_options_load(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, file::Cstring)::Cint + @ccall libsc.sc_options_load(package_id::Cint, err_priority::Cint, + opt::Ptr{sc_options_t}, file::Cstring)::Cint end """ @@ -5921,7 +6085,9 @@ int sc_options_load_ini (int package_id, int err_priority, sc_options_t * opt, c ``` """ function sc_options_load_ini(package_id, err_priority, opt, inifile, re) - @ccall libsc.sc_options_load_ini(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, inifile::Cstring, re::Ptr{Cvoid})::Cint + @ccall libsc.sc_options_load_ini(package_id::Cint, err_priority::Cint, + opt::Ptr{sc_options_t}, inifile::Cstring, + re::Ptr{Cvoid})::Cint end """ @@ -5943,7 +6109,9 @@ int sc_options_load_json (int package_id, int err_priority, sc_options_t * opt, ``` """ function sc_options_load_json(package_id, err_priority, opt, jsonfile, re) - @ccall libsc.sc_options_load_json(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, jsonfile::Cstring, re::Ptr{Cvoid})::Cint + @ccall libsc.sc_options_load_json(package_id::Cint, err_priority::Cint, + opt::Ptr{sc_options_t}, jsonfile::Cstring, + re::Ptr{Cvoid})::Cint end """ @@ -5964,7 +6132,8 @@ int sc_options_save (int package_id, int err_priority, sc_options_t * opt, const ``` """ function sc_options_save(package_id, err_priority, opt, inifile) - @ccall libsc.sc_options_save(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, inifile::Cstring)::Cint + @ccall libsc.sc_options_save(package_id::Cint, err_priority::Cint, + opt::Ptr{sc_options_t}, inifile::Cstring)::Cint end """ @@ -5985,7 +6154,8 @@ int sc_options_load_args (int package_id, int err_priority, sc_options_t * opt, ``` """ function sc_options_load_args(package_id, err_priority, opt, inifile) - @ccall libsc.sc_options_load_args(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, inifile::Cstring)::Cint + @ccall libsc.sc_options_load_args(package_id::Cint, err_priority::Cint, + opt::Ptr{sc_options_t}, inifile::Cstring)::Cint end """ @@ -6007,7 +6177,9 @@ int sc_options_parse (int package_id, int err_priority, sc_options_t * opt, int ``` """ function sc_options_parse(package_id, err_priority, opt, argc, argv) - @ccall libsc.sc_options_parse(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, argc::Cint, argv::Ptr{Cstring})::Cint + @ccall libsc.sc_options_parse(package_id::Cint, err_priority::Cint, + opt::Ptr{sc_options_t}, argc::Cint, + argv::Ptr{Cstring})::Cint end """ @@ -6019,7 +6191,8 @@ t8_cmesh_t t8_cmesh_from_tetgen_file (char *fileprefix, int partition, sc_MPI_Co ``` """ function t8_cmesh_from_tetgen_file(fileprefix, partition, comm, do_dup) - @ccall libt8.t8_cmesh_from_tetgen_file(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_from_tetgen_file(fileprefix::Cstring, partition::Cint, + comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t end """ @@ -6030,8 +6203,14 @@ end t8_cmesh_t t8_cmesh_from_tetgen_file_time (char *fileprefix, int partition, sc_MPI_Comm comm, int do_dup, sc_flopinfo_t *fi, sc_flopinfo_t *snapshot, sc_statinfo_t *stats, int statentry); ``` """ -function t8_cmesh_from_tetgen_file_time(fileprefix, partition, comm, do_dup, fi, snapshot, stats, statentry) - @ccall libt8.t8_cmesh_from_tetgen_file_time(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, do_dup::Cint, fi::Ptr{sc_flopinfo_t}, snapshot::Ptr{sc_flopinfo_t}, stats::Ptr{sc_statinfo_t}, statentry::Cint)::t8_cmesh_t +function t8_cmesh_from_tetgen_file_time(fileprefix, partition, comm, do_dup, fi, snapshot, + stats, statentry) + @ccall libt8.t8_cmesh_from_tetgen_file_time(fileprefix::Cstring, partition::Cint, + comm::MPI_Comm, do_dup::Cint, + fi::Ptr{sc_flopinfo_t}, + snapshot::Ptr{sc_flopinfo_t}, + stats::Ptr{sc_statinfo_t}, + statentry::Cint)::t8_cmesh_t end """ @@ -6043,7 +6222,8 @@ t8_cmesh_t t8_cmesh_from_triangle_file (char *fileprefix, int partition, sc_MPI_ ``` """ function t8_cmesh_from_triangle_file(fileprefix, partition, comm, do_dup) - @ccall libt8.t8_cmesh_from_triangle_file(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_from_triangle_file(fileprefix::Cstring, partition::Cint, + comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t end """ @@ -6063,7 +6243,8 @@ int t8_eclass_count_boundary (t8_eclass_t theclass, int min_dim, int *per_eclass ``` """ function t8_eclass_count_boundary(theclass, min_dim, per_eclass) - @ccall libt8.t8_eclass_count_boundary(theclass::t8_eclass_t, min_dim::Cint, per_eclass::Ptr{Cint})::Cint + @ccall libt8.t8_eclass_count_boundary(theclass::t8_eclass_t, min_dim::Cint, + per_eclass::Ptr{Cint})::Cint end """ @@ -6209,7 +6390,8 @@ int t8_element_level (const t8_eclass_scheme_c *ts, const t8_element_t *elem); ``` """ function t8_element_level(ts, elem) - @ccall libt8.t8_element_level(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_level(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6231,7 +6413,8 @@ void t8_element_copy (const t8_eclass_scheme_c *ts, const t8_element_t *source, ``` """ function t8_element_copy(ts, source, dest) - @ccall libt8.t8_element_copy(ts::Ptr{t8_eclass_scheme_c}, source::Ptr{t8_element_t}, dest::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_copy(ts::Ptr{t8_eclass_scheme_c}, source::Ptr{t8_element_t}, + dest::Ptr{t8_element_t})::Cvoid end """ @@ -6251,7 +6434,8 @@ int t8_element_compare (const t8_eclass_scheme_c *ts, const t8_element_t *elem1, ``` """ function t8_element_compare(ts, elem1, elem2) - @ccall libt8.t8_element_compare(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_compare(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, + elem2::Ptr{t8_element_t})::Cint end """ @@ -6271,7 +6455,8 @@ int t8_element_equal (const t8_eclass_scheme_c *ts, const t8_element_t *elem1, c ``` """ function t8_element_equal(ts, elem1, elem2) - @ccall libt8.t8_element_equal(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_equal(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, + elem2::Ptr{t8_element_t})::Cint end """ @@ -6289,7 +6474,8 @@ void t8_element_parent (const t8_eclass_scheme_c *ts, const t8_element_t *elem, ``` """ function t8_element_parent(ts, elem, parent) - @ccall libt8.t8_element_parent(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, parent::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_parent(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, + parent::Ptr{t8_element_t})::Cvoid end """ @@ -6308,7 +6494,8 @@ int t8_element_num_siblings (const t8_eclass_scheme_c *ts, const t8_element_t *e ``` """ function t8_element_num_siblings(ts, elem) - @ccall libt8.t8_element_num_siblings(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_siblings(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6327,7 +6514,8 @@ void t8_element_sibling (const t8_eclass_scheme_c *ts, const t8_element_t *elem, ``` """ function t8_element_sibling(ts, elem, sibid, sibling) - @ccall libt8.t8_element_sibling(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, sibid::Cint, sibling::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_sibling(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, + sibid::Cint, sibling::Ptr{t8_element_t})::Cvoid end """ @@ -6346,7 +6534,8 @@ int t8_element_num_corners (const t8_eclass_scheme_c *ts, const t8_element_t *el ``` """ function t8_element_num_corners(ts, elem) - @ccall libt8.t8_element_num_corners(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_corners(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6365,7 +6554,8 @@ int t8_element_num_faces (const t8_eclass_scheme_c *ts, const t8_element_t *elem ``` """ function t8_element_num_faces(ts, elem) - @ccall libt8.t8_element_num_faces(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_faces(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6384,7 +6574,8 @@ int t8_element_max_num_faces (const t8_eclass_scheme_c *ts, const t8_element_t * ``` """ function t8_element_max_num_faces(ts, elem) - @ccall libt8.t8_element_max_num_faces(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_max_num_faces(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6403,7 +6594,8 @@ int t8_element_num_children (const t8_eclass_scheme_c *ts, const t8_element_t *e ``` """ function t8_element_num_children(ts, elem) - @ccall libt8.t8_element_num_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_children(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6423,7 +6615,8 @@ int t8_element_num_face_children (const t8_eclass_scheme_c *ts, const t8_element ``` """ function t8_element_num_face_children(ts, elem, face) - @ccall libt8.t8_element_num_face_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_num_face_children(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -6446,7 +6639,9 @@ int t8_element_get_face_corner (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_get_face_corner(ts, elem, face, corner) - @ccall libt8.t8_element_get_face_corner(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, corner::Cint)::Cint + @ccall libt8.t8_element_get_face_corner(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint, + corner::Cint)::Cint end """ @@ -6467,7 +6662,9 @@ int t8_element_get_corner_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_get_corner_face(ts, elem, corner, face) - @ccall libt8.t8_element_get_corner_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, corner::Cint, face::Cint)::Cint + @ccall libt8.t8_element_get_corner_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, corner::Cint, + face::Cint)::Cint end """ @@ -6486,7 +6683,8 @@ void t8_element_child (const t8_eclass_scheme_c *ts, const t8_element_t *elem, i ``` """ function t8_element_child(ts, elem, childid, child) - @ccall libt8.t8_element_child(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, childid::Cint, child::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_child(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, + childid::Cint, child::Ptr{t8_element_t})::Cvoid end """ @@ -6508,7 +6706,8 @@ void t8_element_children (const t8_eclass_scheme_c *ts, const t8_element_t *elem ``` """ function t8_element_children(ts, elem, length, c) - @ccall libt8.t8_element_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, length::Cint, c::Ptr{Ptr{t8_element_t}})::Cvoid + @ccall libt8.t8_element_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, + length::Cint, c::Ptr{Ptr{t8_element_t}})::Cvoid end """ @@ -6527,7 +6726,8 @@ int t8_element_child_id (const t8_eclass_scheme_c *ts, const t8_element_t *elem) ``` """ function t8_element_child_id(ts, elem) - @ccall libt8.t8_element_child_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_child_id(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cint end """ @@ -6547,7 +6747,8 @@ int t8_element_ancestor_id (const t8_eclass_scheme_c *ts, const t8_element_t *el ``` """ function t8_element_ancestor_id(ts, elem, level) - @ccall libt8.t8_element_ancestor_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, level::Cint)::Cint + @ccall libt8.t8_element_ancestor_id(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, level::Cint)::Cint end """ @@ -6566,7 +6767,8 @@ int t8_element_is_family (const t8_eclass_scheme_c *ts, t8_element_t *const *fam ``` """ function t8_element_is_family(ts, fam) - @ccall libt8.t8_element_is_family(ts::Ptr{t8_eclass_scheme_c}, fam::Ptr{Ptr{t8_element_t}})::Cint + @ccall libt8.t8_element_is_family(ts::Ptr{t8_eclass_scheme_c}, + fam::Ptr{Ptr{t8_element_t}})::Cint end """ @@ -6585,7 +6787,8 @@ void t8_element_nca (const t8_eclass_scheme_c *ts, const t8_element_t *elem1, co ``` """ function t8_element_nca(ts, elem1, elem2, nca) - @ccall libt8.t8_element_nca(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t}, nca::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_nca(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, + elem2::Ptr{t8_element_t}, nca::Ptr{t8_element_t})::Cvoid end """Type definition for the geometric shape of an element. Currently the possible shapes are the same as the possible element classes. I.e. T8\\_ECLASS\\_VERTEX, T8\\_ECLASS\\_TET, etc...""" @@ -6608,7 +6811,8 @@ t8_element_shape_t t8_element_face_shape (const t8_eclass_scheme_c *ts, const t8 ``` """ function t8_element_face_shape(ts, elem, face) - @ccall libt8.t8_element_face_shape(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::t8_element_shape_t + @ccall libt8.t8_element_face_shape(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, + face::Cint)::t8_element_shape_t end """ @@ -6629,7 +6833,11 @@ void t8_element_children_at_face (const t8_eclass_scheme_c *ts, const t8_element ``` """ function t8_element_children_at_face(ts, elem, face, children, num_children, child_indices) - @ccall libt8.t8_element_children_at_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, children::Ptr{Ptr{t8_element_t}}, num_children::Cint, child_indices::Ptr{Cint})::Cvoid + @ccall libt8.t8_element_children_at_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint, + children::Ptr{Ptr{t8_element_t}}, + num_children::Cint, + child_indices::Ptr{Cint})::Cvoid end """ @@ -6659,7 +6867,9 @@ int t8_element_face_child_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_face_child_face(ts, elem, face, face_child) - @ccall libt8.t8_element_face_child_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, face_child::Cint)::Cint + @ccall libt8.t8_element_face_child_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint, + face_child::Cint)::Cint end """ @@ -6683,7 +6893,8 @@ int t8_element_face_parent_face (const t8_eclass_scheme_c *ts, const t8_element_ ``` """ function t8_element_face_parent_face(ts, elem, face) - @ccall libt8.t8_element_face_parent_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_face_parent_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -6703,7 +6914,8 @@ int t8_element_tree_face (const t8_eclass_scheme_c *ts, const t8_element_t *elem ``` """ function t8_element_tree_face(ts, elem, face) - @ccall libt8.t8_element_tree_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_tree_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, + face::Cint)::Cint end """ @@ -6731,7 +6943,10 @@ void t8_element_transform_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_transform_face(ts, elem1, elem2, orientation, sign, is_smaller_face) - @ccall libt8.t8_element_transform_face(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t}, orientation::Cint, sign::Cint, is_smaller_face::Cint)::Cvoid + @ccall libt8.t8_element_transform_face(ts::Ptr{t8_eclass_scheme_c}, + elem1::Ptr{t8_element_t}, + elem2::Ptr{t8_element_t}, orientation::Cint, + sign::Cint, is_smaller_face::Cint)::Cvoid end """ @@ -6753,7 +6968,10 @@ int t8_element_extrude_face (const t8_eclass_scheme_c *ts, const t8_element_t *f ``` """ function t8_element_extrude_face(ts, face, face_scheme, elem, root_face) - @ccall libt8.t8_element_extrude_face(ts::Ptr{t8_eclass_scheme_c}, face::Ptr{t8_element_t}, face_scheme::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, root_face::Cint)::Cint + @ccall libt8.t8_element_extrude_face(ts::Ptr{t8_eclass_scheme_c}, + face::Ptr{t8_element_t}, + face_scheme::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, root_face::Cint)::Cint end """ @@ -6773,7 +6991,10 @@ void t8_element_boundary_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_boundary_face(ts, elem, face, boundary, boundary_scheme) - @ccall libt8.t8_element_boundary_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, boundary::Ptr{t8_element_t}, boundary_scheme::Ptr{t8_eclass_scheme_c})::Cvoid + @ccall libt8.t8_element_boundary_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint, + boundary::Ptr{t8_element_t}, + boundary_scheme::Ptr{t8_eclass_scheme_c})::Cvoid end """ @@ -6793,7 +7014,10 @@ void t8_element_first_descendant_face (const t8_eclass_scheme_c *ts, const t8_el ``` """ function t8_element_first_descendant_face(ts, elem, face, first_desc, level) - @ccall libt8.t8_element_first_descendant_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, first_desc::Ptr{t8_element_t}, level::Cint)::Cvoid + @ccall libt8.t8_element_first_descendant_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint, + first_desc::Ptr{t8_element_t}, + level::Cint)::Cvoid end """ @@ -6813,7 +7037,10 @@ void t8_element_last_descendant_face (const t8_eclass_scheme_c *ts, const t8_ele ``` """ function t8_element_last_descendant_face(ts, elem, face, last_desc, level) - @ccall libt8.t8_element_last_descendant_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, last_desc::Ptr{t8_element_t}, level::Cint)::Cvoid + @ccall libt8.t8_element_last_descendant_face(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint, + last_desc::Ptr{t8_element_t}, + level::Cint)::Cvoid end """ @@ -6833,7 +7060,8 @@ int t8_element_is_root_boundary (const t8_eclass_scheme_c *ts, const t8_element_ ``` """ function t8_element_is_root_boundary(ts, elem, face) - @ccall libt8.t8_element_is_root_boundary(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_is_root_boundary(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -6855,7 +7083,10 @@ int t8_element_face_neighbor_inside (const t8_eclass_scheme_c *ts, const t8_elem ``` """ function t8_element_face_neighbor_inside(ts, elem, neigh, face, neigh_face) - @ccall libt8.t8_element_face_neighbor_inside(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, neigh::Ptr{t8_element_t}, face::Cint, neigh_face::Ptr{Cint})::Cint + @ccall libt8.t8_element_face_neighbor_inside(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, + neigh::Ptr{t8_element_t}, face::Cint, + neigh_face::Ptr{Cint})::Cint end """ @@ -6874,7 +7105,8 @@ t8_element_shape_t t8_element_shape (const t8_eclass_scheme_c *ts, const t8_elem ``` """ function t8_element_shape(ts, elem) - @ccall libt8.t8_element_shape(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::t8_element_shape_t + @ccall libt8.t8_element_shape(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::t8_element_shape_t end """ @@ -6893,7 +7125,9 @@ void t8_element_set_linear_id (const t8_eclass_scheme_c *ts, t8_element_t *elem, ``` """ function t8_element_set_linear_id(ts, elem, level, id) - @ccall libt8.t8_element_set_linear_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, level::Cint, id::t8_linearidx_t)::Cvoid + @ccall libt8.t8_element_set_linear_id(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, level::Cint, + id::t8_linearidx_t)::Cvoid end """ @@ -6913,7 +7147,9 @@ t8_linearidx_t t8_element_get_linear_id (const t8_eclass_scheme_c *ts, const t8_ ``` """ function t8_element_get_linear_id(ts, elem, level) - @ccall libt8.t8_element_get_linear_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, level::Cint)::t8_linearidx_t + @ccall libt8.t8_element_get_linear_id(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, + level::Cint)::t8_linearidx_t end """ @@ -6931,7 +7167,9 @@ void t8_element_first_descendant (const t8_eclass_scheme_c *ts, const t8_element ``` """ function t8_element_first_descendant(ts, elem, desc, level) - @ccall libt8.t8_element_first_descendant(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, desc::Ptr{t8_element_t}, level::Cint)::Cvoid + @ccall libt8.t8_element_first_descendant(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, + desc::Ptr{t8_element_t}, level::Cint)::Cvoid end """ @@ -6949,7 +7187,9 @@ void t8_element_last_descendant (const t8_eclass_scheme_c *ts, const t8_element_ ``` """ function t8_element_last_descendant(ts, elem, desc, level) - @ccall libt8.t8_element_last_descendant(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, desc::Ptr{t8_element_t}, level::Cint)::Cvoid + @ccall libt8.t8_element_last_descendant(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t}, + desc::Ptr{t8_element_t}, level::Cint)::Cvoid end """ @@ -6968,7 +7208,8 @@ void t8_element_successor (const t8_eclass_scheme_c *ts, const t8_element_t *ele ``` """ function t8_element_successor(ts, elem1, elem2) - @ccall libt8.t8_element_successor(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_successor(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, + elem2::Ptr{t8_element_t})::Cvoid end """ @@ -6990,7 +7231,9 @@ void t8_element_vertex_reference_coords (const t8_eclass_scheme_c *ts, const t8_ ``` """ function t8_element_vertex_reference_coords(ts, t, vertex, coords) - @ccall libt8.t8_element_vertex_reference_coords(ts::Ptr{t8_eclass_scheme_c}, t::Ptr{t8_element_t}, vertex::Cint, coords::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_element_vertex_reference_coords(ts::Ptr{t8_eclass_scheme_c}, + t::Ptr{t8_element_t}, vertex::Cint, + coords::Ptr{Cdouble})::Cvoid end """ @@ -7012,7 +7255,8 @@ t8_gloidx_t t8_element_count_leaves (const t8_eclass_scheme_c *ts, const t8_elem ``` """ function t8_element_count_leaves(ts, t, level) - @ccall libt8.t8_element_count_leaves(ts::Ptr{t8_eclass_scheme_c}, t::Ptr{t8_element_t}, level::Cint)::t8_gloidx_t + @ccall libt8.t8_element_count_leaves(ts::Ptr{t8_eclass_scheme_c}, t::Ptr{t8_element_t}, + level::Cint)::t8_gloidx_t end """ @@ -7033,7 +7277,8 @@ t8_gloidx_t t8_element_count_leaves_from_root (const t8_eclass_scheme_c *ts, int ``` """ function t8_element_count_leaves_from_root(ts, level) - @ccall libt8.t8_element_count_leaves_from_root(ts::Ptr{t8_eclass_scheme_c}, level::Cint)::t8_gloidx_t + @ccall libt8.t8_element_count_leaves_from_root(ts::Ptr{t8_eclass_scheme_c}, + level::Cint)::t8_gloidx_t end """ @@ -7066,7 +7311,8 @@ void t8_element_new (const t8_eclass_scheme_c *ts, int length, t8_element_t **el ``` """ function t8_element_new(ts, length, elems) - @ccall libt8.t8_element_new(ts::Ptr{t8_eclass_scheme_c}, length::Cint, elems::Ptr{Ptr{t8_element_t}})::Cvoid + @ccall libt8.t8_element_new(ts::Ptr{t8_eclass_scheme_c}, length::Cint, + elems::Ptr{Ptr{t8_element_t}})::Cvoid end """ @@ -7084,7 +7330,8 @@ void t8_element_destroy (const t8_eclass_scheme_c *ts, int length, t8_element_t ``` """ function t8_element_destroy(ts, length, elems) - @ccall libt8.t8_element_destroy(ts::Ptr{t8_eclass_scheme_c}, length::Cint, elems::Ptr{Ptr{t8_element_t}})::Cvoid + @ccall libt8.t8_element_destroy(ts::Ptr{t8_eclass_scheme_c}, length::Cint, + elems::Ptr{Ptr{t8_element_t}})::Cvoid end """ @@ -7101,7 +7348,8 @@ void t8_element_root (const t8_eclass_scheme_c *ts, t8_element_t *elem); ``` """ function t8_element_root(ts, elem) - @ccall libt8.t8_element_root(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_root(ts::Ptr{t8_eclass_scheme_c}, + elem::Ptr{t8_element_t})::Cvoid end """ @@ -7113,7 +7361,10 @@ void t8_element_MPI_Pack (const t8_eclass_scheme_c *ts, t8_element_t **const ele ``` """ function t8_element_MPI_Pack(ts, elements, count, send_buffer, buffer_size, position, comm) - @ccall libt8.t8_element_MPI_Pack(ts::Ptr{t8_eclass_scheme_c}, elements::Ptr{Ptr{t8_element_t}}, count::Cuint, send_buffer::Ptr{Cvoid}, buffer_size::Cint, position::Ptr{Cint}, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_element_MPI_Pack(ts::Ptr{t8_eclass_scheme_c}, + elements::Ptr{Ptr{t8_element_t}}, count::Cuint, + send_buffer::Ptr{Cvoid}, buffer_size::Cint, + position::Ptr{Cint}, comm::MPI_Comm)::Cvoid end """ @@ -7125,7 +7376,8 @@ void t8_element_MPI_Pack_size (const t8_eclass_scheme_c *ts, const unsigned int ``` """ function t8_element_MPI_Pack_size(ts, count, comm, pack_size) - @ccall libt8.t8_element_MPI_Pack_size(ts::Ptr{t8_eclass_scheme_c}, count::Cuint, comm::MPI_Comm, pack_size::Ptr{Cint})::Cvoid + @ccall libt8.t8_element_MPI_Pack_size(ts::Ptr{t8_eclass_scheme_c}, count::Cuint, + comm::MPI_Comm, pack_size::Ptr{Cint})::Cvoid end """ @@ -7137,7 +7389,10 @@ void t8_element_MPI_Unpack (const t8_eclass_scheme_c *ts, void *recvbuf, const i ``` """ function t8_element_MPI_Unpack(ts, recvbuf, buffer_size, position, elements, count, comm) - @ccall libt8.t8_element_MPI_Unpack(ts::Ptr{t8_eclass_scheme_c}, recvbuf::Ptr{Cvoid}, buffer_size::Cint, position::Ptr{Cint}, elements::Ptr{Ptr{t8_element_t}}, count::Cuint, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_element_MPI_Unpack(ts::Ptr{t8_eclass_scheme_c}, recvbuf::Ptr{Cvoid}, + buffer_size::Cint, position::Ptr{Cint}, + elements::Ptr{Ptr{t8_element_t}}, count::Cuint, + comm::MPI_Comm)::Cvoid end """ @@ -7240,7 +7495,8 @@ int t8_element_shape_compare (t8_element_shape_t element_shape1, t8_element_shap ``` """ function t8_element_shape_compare(element_shape1, element_shape2) - @ccall libt8.t8_element_shape_compare(element_shape1::t8_element_shape_t, element_shape2::t8_element_shape_t)::Cint + @ccall libt8.t8_element_shape_compare(element_shape1::t8_element_shape_t, + element_shape2::t8_element_shape_t)::Cint end """ @@ -7340,8 +7596,13 @@ const t8_forest_t = Ptr{t8_forest} void t8_forest_write_netcdf (t8_forest_t forest, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *ext_variables[], sc_MPI_Comm comm); ``` """ -function t8_forest_write_netcdf(forest, file_prefix, file_title, dim, num_extern_netcdf_vars, ext_variables, comm) - @ccall libt8.t8_forest_write_netcdf(forest::t8_forest_t, file_prefix::Cstring, file_title::Cstring, dim::Cint, num_extern_netcdf_vars::Cint, ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, comm::MPI_Comm)::Cvoid +function t8_forest_write_netcdf(forest, file_prefix, file_title, dim, + num_extern_netcdf_vars, ext_variables, comm) + @ccall libt8.t8_forest_write_netcdf(forest::t8_forest_t, file_prefix::Cstring, + file_title::Cstring, dim::Cint, + num_extern_netcdf_vars::Cint, + ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, + comm::MPI_Comm)::Cvoid end """ @@ -7352,8 +7613,15 @@ end void t8_forest_write_netcdf_ext (t8_forest_t forest, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *ext_variables[], sc_MPI_Comm comm, int netcdf_var_storage_mode, int netcdf_var_mpi_access); ``` """ -function t8_forest_write_netcdf_ext(forest, file_prefix, file_title, dim, num_extern_netcdf_vars, ext_variables, comm, netcdf_var_storage_mode, netcdf_var_mpi_access) - @ccall libt8.t8_forest_write_netcdf_ext(forest::t8_forest_t, file_prefix::Cstring, file_title::Cstring, dim::Cint, num_extern_netcdf_vars::Cint, ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, comm::MPI_Comm, netcdf_var_storage_mode::Cint, netcdf_var_mpi_access::Cint)::Cvoid +function t8_forest_write_netcdf_ext(forest, file_prefix, file_title, dim, + num_extern_netcdf_vars, ext_variables, comm, + netcdf_var_storage_mode, netcdf_var_mpi_access) + @ccall libt8.t8_forest_write_netcdf_ext(forest::t8_forest_t, file_prefix::Cstring, + file_title::Cstring, dim::Cint, + num_extern_netcdf_vars::Cint, + ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, + comm::MPI_Comm, netcdf_var_storage_mode::Cint, + netcdf_var_mpi_access::Cint)::Cvoid end """ @@ -7422,7 +7690,8 @@ static inline void t8_mat_mult_vec (const double mat[3][3], const double a[3], d ``` """ function t8_mat_mult_vec(mat, a, b) - @ccall libt8.t8_mat_mult_vec(mat::Ptr{NTuple{3, Cdouble}}, a::Ptr{Cdouble}, b::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_mat_mult_vec(mat::Ptr{NTuple{3, Cdouble}}, a::Ptr{Cdouble}, + b::Ptr{Cdouble})::Cvoid end """ @@ -7440,7 +7709,8 @@ static inline void t8_mat_mult_mat (const double A[3][3], const double B[3][3], ``` """ function t8_mat_mult_mat(A, B, C) - @ccall libt8.t8_mat_mult_mat(A::Ptr{NTuple{3, Cdouble}}, B::Ptr{NTuple{3, Cdouble}}, C::Ptr{NTuple{3, Cdouble}})::Cvoid + @ccall libt8.t8_mat_mult_mat(A::Ptr{NTuple{3, Cdouble}}, B::Ptr{NTuple{3, Cdouble}}, + C::Ptr{NTuple{3, Cdouble}})::Cvoid end mutable struct t8_mesh end @@ -7458,7 +7728,8 @@ t8_mesh_t * t8_mesh_new (int dimension, t8_gloidx_t Kglobal, t8_locidx_t Klocal) ``` """ function t8_mesh_new(dimension, Kglobal, Klocal) - @ccall libt8.t8_mesh_new(dimension::Cint, Kglobal::t8_gloidx_t, Klocal::t8_locidx_t)::Ptr{t8_mesh_t} + @ccall libt8.t8_mesh_new(dimension::Cint, Kglobal::t8_gloidx_t, + Klocal::t8_locidx_t)::Ptr{t8_mesh_t} end """ @@ -7510,7 +7781,8 @@ void t8_mesh_set_element (t8_mesh_t *mesh, t8_eclass_t theclass, t8_gloidx_t glo ``` """ function t8_mesh_set_element(mesh, theclass, gloid, locid) - @ccall libt8.t8_mesh_set_element(mesh::Ptr{t8_mesh_t}, theclass::t8_eclass_t, gloid::t8_gloidx_t, locid::t8_locidx_t)::Cvoid + @ccall libt8.t8_mesh_set_element(mesh::Ptr{t8_mesh_t}, theclass::t8_eclass_t, + gloid::t8_gloidx_t, locid::t8_locidx_t)::Cvoid end """ @@ -7522,7 +7794,8 @@ void t8_mesh_set_local_to_global (t8_mesh_t *mesh, t8_locidx_t ltog_length, cons ``` """ function t8_mesh_set_local_to_global(mesh, ltog_length, ltog) - @ccall libt8.t8_mesh_set_local_to_global(mesh::Ptr{t8_mesh_t}, ltog_length::t8_locidx_t, ltog::Ptr{t8_gloidx_t})::Cvoid + @ccall libt8.t8_mesh_set_local_to_global(mesh::Ptr{t8_mesh_t}, ltog_length::t8_locidx_t, + ltog::Ptr{t8_gloidx_t})::Cvoid end """ @@ -7534,7 +7807,9 @@ void t8_mesh_set_face (t8_mesh_t *mesh, t8_locidx_t locid1, int face1, t8_locidx ``` """ function t8_mesh_set_face(mesh, locid1, face1, locid2, face2, orientation) - @ccall libt8.t8_mesh_set_face(mesh::Ptr{t8_mesh_t}, locid1::t8_locidx_t, face1::Cint, locid2::t8_locidx_t, face2::Cint, orientation::Cint)::Cvoid + @ccall libt8.t8_mesh_set_face(mesh::Ptr{t8_mesh_t}, locid1::t8_locidx_t, face1::Cint, + locid2::t8_locidx_t, face2::Cint, + orientation::Cint)::Cvoid end """ @@ -7546,7 +7821,9 @@ void t8_mesh_set_element_vertices (t8_mesh_t *mesh, t8_locidx_t locid, t8_locidx ``` """ function t8_mesh_set_element_vertices(mesh, locid, vids_length, vids) - @ccall libt8.t8_mesh_set_element_vertices(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, vids_length::t8_locidx_t, vids::Ptr{t8_locidx_t})::Cvoid + @ccall libt8.t8_mesh_set_element_vertices(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, + vids_length::t8_locidx_t, + vids::Ptr{t8_locidx_t})::Cvoid end """ @@ -7584,7 +7861,8 @@ t8_locidx_t t8_mesh_get_element_count (t8_mesh_t *mesh, t8_eclass_t theclass); ``` """ function t8_mesh_get_element_count(mesh, theclass) - @ccall libt8.t8_mesh_get_element_count(mesh::Ptr{t8_mesh_t}, theclass::t8_eclass_t)::t8_locidx_t + @ccall libt8.t8_mesh_get_element_count(mesh::Ptr{t8_mesh_t}, + theclass::t8_eclass_t)::t8_locidx_t end """ @@ -7598,7 +7876,8 @@ t8_locidx_t t8_mesh_get_element_class (t8_mesh_t *mesh, t8_locidx_t locid); ``` """ function t8_mesh_get_element_class(mesh, locid) - @ccall libt8.t8_mesh_get_element_class(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_mesh_get_element_class(mesh::Ptr{t8_mesh_t}, + locid::t8_locidx_t)::t8_locidx_t end """ @@ -7610,7 +7889,8 @@ t8_locidx_t t8_mesh_get_element_locid (t8_mesh_t *mesh, t8_gloidx_t gloid); ``` """ function t8_mesh_get_element_locid(mesh, gloid) - @ccall libt8.t8_mesh_get_element_locid(mesh::Ptr{t8_mesh_t}, gloid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_mesh_get_element_locid(mesh::Ptr{t8_mesh_t}, + gloid::t8_gloidx_t)::t8_locidx_t end """ @@ -7622,7 +7902,8 @@ t8_gloidx_t t8_mesh_get_element_gloid (t8_mesh_t *mesh, t8_locidx_t locid); ``` """ function t8_mesh_get_element_gloid(mesh, locid) - @ccall libt8.t8_mesh_get_element_gloid(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_mesh_get_element_gloid(mesh::Ptr{t8_mesh_t}, + locid::t8_locidx_t)::t8_gloidx_t end """ @@ -7646,7 +7927,10 @@ void t8_mesh_get_element_boundary (t8_mesh_t *mesh, t8_locidx_t locid, int lengt ``` """ function t8_mesh_get_element_boundary(mesh, locid, length_boundary, elemid, orientation) - @ccall libt8.t8_mesh_get_element_boundary(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, length_boundary::Cint, elemid::Ptr{t8_locidx_t}, orientation::Ptr{Cint})::Cvoid + @ccall libt8.t8_mesh_get_element_boundary(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, + length_boundary::Cint, + elemid::Ptr{t8_locidx_t}, + orientation::Ptr{Cint})::Cvoid end """ @@ -7674,7 +7958,10 @@ void t8_mesh_get_element_support (t8_mesh_t *mesh, t8_locidx_t locid, int *lengt ``` """ function t8_mesh_get_element_support(mesh, locid, length_support, elemid, orientation) - @ccall libt8.t8_mesh_get_element_support(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, length_support::Ptr{Cint}, elemid::Ptr{t8_locidx_t}, orientation::Ptr{Cint})::Cvoid + @ccall libt8.t8_mesh_get_element_support(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, + length_support::Ptr{Cint}, + elemid::Ptr{t8_locidx_t}, + orientation::Ptr{Cint})::Cvoid end """ @@ -7713,7 +8000,10 @@ t8_netcdf_variable_t * t8_netcdf_create_var (t8_netcdf_variable_type_t var_type, ``` """ function t8_netcdf_create_var(var_type, var_name, var_long_name, var_unit, var_data) - @ccall libt8.t8_netcdf_create_var(var_type::t8_netcdf_variable_type_t, var_name::Cstring, var_long_name::Cstring, var_unit::Cstring, var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} + @ccall libt8.t8_netcdf_create_var(var_type::t8_netcdf_variable_type_t, + var_name::Cstring, var_long_name::Cstring, + var_unit::Cstring, + var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} end """ @@ -7733,7 +8023,9 @@ t8_netcdf_variable_t * t8_netcdf_create_integer_var (const char *var_name, const ``` """ function t8_netcdf_create_integer_var(var_name, var_long_name, var_unit, var_data) - @ccall libt8.t8_netcdf_create_integer_var(var_name::Cstring, var_long_name::Cstring, var_unit::Cstring, var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} + @ccall libt8.t8_netcdf_create_integer_var(var_name::Cstring, var_long_name::Cstring, + var_unit::Cstring, + var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} end """ @@ -7753,7 +8045,9 @@ t8_netcdf_variable_t * t8_netcdf_create_double_var (const char *var_name, const ``` """ function t8_netcdf_create_double_var(var_name, var_long_name, var_unit, var_data) - @ccall libt8.t8_netcdf_create_double_var(var_name::Cstring, var_long_name::Cstring, var_unit::Cstring, var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} + @ccall libt8.t8_netcdf_create_double_var(var_name::Cstring, var_long_name::Cstring, + var_unit::Cstring, + var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} end """ @@ -7945,7 +8239,8 @@ static inline void t8_vec_axb (const double vec_x[3], double vec_y[3], const dou ``` """ function t8_vec_axb(vec_x, vec_y, alpha, b) - @ccall libt8.t8_vec_axb(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, alpha::Cdouble, b::Cdouble)::Cvoid + @ccall libt8.t8_vec_axb(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, alpha::Cdouble, + b::Cdouble)::Cvoid end """ @@ -7963,7 +8258,8 @@ static inline void t8_vec_axpy (const double vec_x[3], double vec_y[3], const do ``` """ function t8_vec_axpy(vec_x, vec_y, alpha) - @ccall libt8.t8_vec_axpy(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, alpha::Cdouble)::Cvoid + @ccall libt8.t8_vec_axpy(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, + alpha::Cdouble)::Cvoid end """ @@ -7981,7 +8277,8 @@ static inline void t8_vec_axpyz (const double vec_x[3], const double vec_y[3], d ``` """ function t8_vec_axpyz(vec_x, vec_y, vec_z, alpha) - @ccall libt8.t8_vec_axpyz(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, vec_z::Ptr{Cdouble}, alpha::Cdouble)::Cvoid + @ccall libt8.t8_vec_axpyz(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, vec_z::Ptr{Cdouble}, + alpha::Cdouble)::Cvoid end """ @@ -8018,7 +8315,8 @@ static inline void t8_vec_cross (const double vec_x[3], const double vec_y[3], d ``` """ function t8_vec_cross(vec_x, vec_y, cross) - @ccall libt8.t8_vec_cross(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, cross::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_cross(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, + cross::Ptr{Cdouble})::Cvoid end """ @@ -8036,7 +8334,8 @@ static inline void t8_vec_diff (const double vec_x[3], const double vec_y[3], do ``` """ function t8_vec_diff(vec_x, vec_y, diff) - @ccall libt8.t8_vec_diff(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, diff::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_diff(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, + diff::Ptr{Cdouble})::Cvoid end """ @@ -8092,7 +8391,8 @@ static inline void t8_vec_tri_normal (const double p1[3], const double p2[3], co ``` """ function t8_vec_tri_normal(p1, p2, p3, normal) - @ccall libt8.t8_vec_tri_normal(p1::Ptr{Cdouble}, p2::Ptr{Cdouble}, p3::Ptr{Cdouble}, normal::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_tri_normal(p1::Ptr{Cdouble}, p2::Ptr{Cdouble}, p3::Ptr{Cdouble}, + normal::Ptr{Cdouble})::Cvoid end """ @@ -8110,7 +8410,8 @@ static inline void t8_vec_orthogonal_tripod (const double v1[3], double v2[3], d ``` """ function t8_vec_orthogonal_tripod(v1, v2, v3) - @ccall libt8.t8_vec_orthogonal_tripod(v1::Ptr{Cdouble}, v2::Ptr{Cdouble}, v3::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_orthogonal_tripod(v1::Ptr{Cdouble}, v2::Ptr{Cdouble}, + v3::Ptr{Cdouble})::Cvoid end """ @@ -8262,8 +8563,11 @@ end int t8_write_pvtu (const char *filename, int num_procs, int write_tree, int write_rank, int write_level, int write_id, int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_write_pvtu(filename, num_procs, write_tree, write_rank, write_level, write_id, num_data, data) - @ccall libt8.t8_write_pvtu(filename::Cstring, num_procs::Cint, write_tree::Cint, write_rank::Cint, write_level::Cint, write_id::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint +function t8_write_pvtu(filename, num_procs, write_tree, write_rank, write_level, write_id, + num_data, data) + @ccall libt8.t8_write_pvtu(filename::Cstring, num_procs::Cint, write_tree::Cint, + write_rank::Cint, write_level::Cint, write_id::Cint, + num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -8275,7 +8579,8 @@ static ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *stream) ``` """ function getdelim(lineptr, n, delimiter, stream) - @ccall libt8.getdelim(lineptr::Ptr{Cstring}, n::Ptr{Cint}, delimiter::Cint, stream::Ptr{Cint})::Cint + @ccall libt8.getdelim(lineptr::Ptr{Cstring}, n::Ptr{Cint}, delimiter::Cint, + stream::Ptr{Cint})::Cint end """ @@ -8315,7 +8620,8 @@ void t8_cmesh_copy (t8_cmesh_t cmesh, t8_cmesh_t cmesh_from, sc_MPI_Comm comm); ``` """ function t8_cmesh_copy(cmesh, cmesh_from, comm) - @ccall libt8.t8_cmesh_copy(cmesh::t8_cmesh_t, cmesh_from::t8_cmesh_t, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_cmesh_copy(cmesh::t8_cmesh_t, cmesh_from::t8_cmesh_t, + comm::MPI_Comm)::Cvoid end """ @@ -8327,7 +8633,8 @@ void sc_io_read (sc_MPI_File mpifile, void *ptr, size_t zcount, sc_MPI_Datatype ``` """ function sc_io_read(mpifile, ptr, zcount, t, errmsg) - @ccall libsc.sc_io_read(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, t::MPI_Datatype, errmsg::Cstring)::Cvoid + @ccall libsc.sc_io_read(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, + t::MPI_Datatype, errmsg::Cstring)::Cvoid end """ @@ -8339,7 +8646,8 @@ void sc_io_write (sc_MPI_File mpifile, const void *ptr, size_t zcount, sc_MPI_Da ``` """ function sc_io_write(mpifile, ptr, zcount, t, errmsg) - @ccall libsc.sc_io_write(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, t::MPI_Datatype, errmsg::Cstring)::Cvoid + @ccall libsc.sc_io_write(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, + t::MPI_Datatype, errmsg::Cstring)::Cvoid end """Typedef for quadrant coordinates.""" @@ -8507,8 +8815,9 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_io_sink_new(iotype, iomode, ioencode, va_list...) - :(@ccall(libsc.sc_io_sink_new(iotype::Cint, iomode::Cint, ioencode::Cint; $(to_c_type_pairs(va_list)...))::Ptr{sc_io_sink_t})) - end + :(@ccall(libsc.sc_io_sink_new(iotype::Cint, iomode::Cint, ioencode::Cint; + $(to_c_type_pairs(va_list)...))::Ptr{sc_io_sink_t})) +end """ sc_io_sink_destroy(sink) @@ -8563,7 +8872,8 @@ int sc_io_sink_write (sc_io_sink_t * sink, const void *data, size_t bytes_avail) ``` """ function sc_io_sink_write(sink, data, bytes_avail) - @ccall libsc.sc_io_sink_write(sink::Ptr{sc_io_sink_t}, data::Ptr{Cvoid}, bytes_avail::Csize_t)::Cint + @ccall libsc.sc_io_sink_write(sink::Ptr{sc_io_sink_t}, data::Ptr{Cvoid}, + bytes_avail::Csize_t)::Cint end """ @@ -8583,7 +8893,8 @@ int sc_io_sink_complete (sc_io_sink_t * sink, size_t *bytes_in, size_t *bytes_ou ``` """ function sc_io_sink_complete(sink, bytes_in, bytes_out) - @ccall libsc.sc_io_sink_complete(sink::Ptr{sc_io_sink_t}, bytes_in::Ptr{Csize_t}, bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_sink_complete(sink::Ptr{sc_io_sink_t}, bytes_in::Ptr{Csize_t}, + bytes_out::Ptr{Csize_t})::Cint end """ @@ -8607,8 +8918,9 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_io_source_new(iotype, ioencode, va_list...) - :(@ccall(libsc.sc_io_source_new(iotype::Cint, ioencode::Cint; $(to_c_type_pairs(va_list)...))::Ptr{sc_io_source_t})) - end + :(@ccall(libsc.sc_io_source_new(iotype::Cint, ioencode::Cint; + $(to_c_type_pairs(va_list)...))::Ptr{sc_io_source_t})) +end """ sc_io_source_destroy(source) @@ -8664,7 +8976,8 @@ int sc_io_source_read (sc_io_source_t * source, void *data, size_t bytes_avail, ``` """ function sc_io_source_read(source, data, bytes_avail, bytes_out) - @ccall libsc.sc_io_source_read(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, bytes_avail::Csize_t, bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_source_read(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, + bytes_avail::Csize_t, bytes_out::Ptr{Csize_t})::Cint end """ @@ -8684,7 +8997,8 @@ int sc_io_source_complete (sc_io_source_t * source, size_t *bytes_in, size_t *by ``` """ function sc_io_source_complete(source, bytes_in, bytes_out) - @ccall libsc.sc_io_source_complete(source::Ptr{sc_io_source_t}, bytes_in::Ptr{Csize_t}, bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_source_complete(source::Ptr{sc_io_source_t}, bytes_in::Ptr{Csize_t}, + bytes_out::Ptr{Csize_t})::Cint end """ @@ -8742,7 +9056,9 @@ int sc_io_source_read_mirror (sc_io_source_t * source, void *data, size_t bytes_ ``` """ function sc_io_source_read_mirror(source, data, bytes_avail, bytes_out) - @ccall libsc.sc_io_source_read_mirror(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, bytes_avail::Csize_t, bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_source_read_mirror(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, + bytes_avail::Csize_t, + bytes_out::Ptr{Csize_t})::Cint end """ @@ -8826,7 +9142,9 @@ void sc_io_encode_zlib (sc_array_t *data, sc_array_t *out, int zlib_compression_ ``` """ function sc_io_encode_zlib(data, out, zlib_compression_level, line_break_character) - @ccall libsc.sc_io_encode_zlib(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, zlib_compression_level::Cint, line_break_character::Cint)::Cvoid + @ccall libsc.sc_io_encode_zlib(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, + zlib_compression_level::Cint, + line_break_character::Cint)::Cvoid end """ @@ -8851,7 +9169,8 @@ int sc_io_decode_info (sc_array_t *data, size_t *original_size, char *format_cha ``` """ function sc_io_decode_info(data, original_size, format_char, re) - @ccall libsc.sc_io_decode_info(data::Ptr{sc_array_t}, original_size::Ptr{Csize_t}, format_char::Cstring, re::Ptr{Cvoid})::Cint + @ccall libsc.sc_io_decode_info(data::Ptr{sc_array_t}, original_size::Ptr{Csize_t}, + format_char::Cstring, re::Ptr{Cvoid})::Cint end """ @@ -8884,7 +9203,8 @@ int sc_io_decode (sc_array_t *data, sc_array_t *out, size_t max_original_size, v ``` """ function sc_io_decode(data, out, max_original_size, re) - @ccall libsc.sc_io_decode(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, max_original_size::Csize_t, re::Ptr{Cvoid})::Cint + @ccall libsc.sc_io_decode(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, + max_original_size::Csize_t, re::Ptr{Cvoid})::Cint end """ @@ -8904,7 +9224,8 @@ int sc_vtk_write_binary (FILE * vtkfile, char *numeric_data, size_t byte_length) ``` """ function sc_vtk_write_binary(vtkfile, numeric_data, byte_length) - @ccall libsc.sc_vtk_write_binary(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, byte_length::Csize_t)::Cint + @ccall libsc.sc_vtk_write_binary(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, + byte_length::Csize_t)::Cint end """ @@ -8924,7 +9245,8 @@ int sc_vtk_write_compressed (FILE * vtkfile, char *numeric_data, size_t byte_len ``` """ function sc_vtk_write_compressed(vtkfile, numeric_data, byte_length) - @ccall libsc.sc_vtk_write_compressed(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, byte_length::Csize_t)::Cint + @ccall libsc.sc_vtk_write_compressed(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, + byte_length::Csize_t)::Cint end """ @@ -8962,7 +9284,8 @@ void sc_fwrite (const void *ptr, size_t size, size_t nmemb, FILE * file, const c ``` """ function sc_fwrite(ptr, size, nmemb, file, errmsg) - @ccall libsc.sc_fwrite(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid + @ccall libsc.sc_fwrite(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, + file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid end """ @@ -8986,7 +9309,8 @@ void sc_fread (void *ptr, size_t size, size_t nmemb, FILE * file, const char *er ``` """ function sc_fread(ptr, size, nmemb, file, errmsg) - @ccall libsc.sc_fread(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid + @ccall libsc.sc_fread(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, + file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid end """ @@ -9014,7 +9338,8 @@ int sc_io_open (sc_MPI_Comm mpicomm, const char *filename, sc_io_open_mode_t amo ``` """ function sc_io_open(mpicomm, filename, amode, mpiinfo, mpifile) - @ccall libsc.sc_io_open(mpicomm::MPI_Comm, filename::Cstring, amode::sc_io_open_mode_t, mpiinfo::Cint, mpifile::Ptr{Cint})::Cint + @ccall libsc.sc_io_open(mpicomm::MPI_Comm, filename::Cstring, amode::sc_io_open_mode_t, + mpiinfo::Cint, mpifile::Ptr{Cint})::Cint end """ @@ -9026,7 +9351,8 @@ int sc_io_read_at (sc_MPI_File mpifile, sc_MPI_Offset offset, void *ptr, int cou ``` """ function sc_io_read_at(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_read_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_read_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, + count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9038,7 +9364,8 @@ int sc_io_read_at_all (sc_MPI_File mpifile, sc_MPI_Offset offset, void *ptr, int ``` """ function sc_io_read_at_all(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_read_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_read_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, + count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9050,7 +9377,8 @@ int sc_io_write_at (sc_MPI_File mpifile, sc_MPI_Offset offset, const void *ptr, ``` """ function sc_io_write_at(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_write_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_write_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, + count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9062,7 +9390,8 @@ int sc_io_write_at_all (sc_MPI_File mpifile, sc_MPI_Offset offset, const void *p ``` """ function sc_io_write_at_all(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_write_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_write_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, + count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9271,7 +9600,8 @@ static inline uint64_t p4est_partition_cut_uint64 (uint64_t global_num, int p, i ``` """ function p4est_partition_cut_uint64(global_num, p, num_procs) - @ccall libp4est.p4est_partition_cut_uint64(global_num::UInt64, p::Cint, num_procs::Cint)::UInt64 + @ccall libp4est.p4est_partition_cut_uint64(global_num::UInt64, p::Cint, + num_procs::Cint)::UInt64 end """ @@ -9283,7 +9613,8 @@ static inline p4est_gloidx_t p4est_partition_cut_gloidx (p4est_gloidx_t global_n ``` """ function p4est_partition_cut_gloidx(global_num, p, num_procs) - @ccall libp4est.p4est_partition_cut_gloidx(global_num::p4est_gloidx_t, p::Cint, num_procs::Cint)::p4est_gloidx_t + @ccall libp4est.p4est_partition_cut_gloidx(global_num::p4est_gloidx_t, p::Cint, + num_procs::Cint)::p4est_gloidx_t end """ @@ -9571,7 +9902,9 @@ void p4est_neighbor_transform_coordinates (const p4est_neighbor_transform_t * nt ``` """ function p4est_neighbor_transform_coordinates(nt, self_coords, neigh_coords) - @ccall libp4est.p4est_neighbor_transform_coordinates(nt::Ptr{p4est_neighbor_transform_t}, self_coords::Ptr{p4est_qcoord_t}, neigh_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p4est_neighbor_transform_coordinates(nt::Ptr{p4est_neighbor_transform_t}, + self_coords::Ptr{p4est_qcoord_t}, + neigh_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -9589,7 +9922,9 @@ void p4est_neighbor_transform_coordinates_reverse (const p4est_neighbor_transfor ``` """ function p4est_neighbor_transform_coordinates_reverse(nt, neigh_coords, self_coords) - @ccall libp4est.p4est_neighbor_transform_coordinates_reverse(nt::Ptr{p4est_neighbor_transform_t}, neigh_coords::Ptr{p4est_qcoord_t}, self_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p4est_neighbor_transform_coordinates_reverse(nt::Ptr{p4est_neighbor_transform_t}, + neigh_coords::Ptr{p4est_qcoord_t}, + self_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -9608,8 +9943,14 @@ Fill an array with the neighbor transforms based on a specific boundary type. Th void p4est_connectivity_get_neighbor_transforms (p4est_connectivity_t *conn, p4est_topidx_t tree_id, p4est_connect_type_t boundary_type, int boundary_index, sc_array_t *neighbor_transform_array); ``` """ -function p4est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, boundary_index, neighbor_transform_array) - @ccall libp4est.p4est_connectivity_get_neighbor_transforms(conn::Ptr{p4est_connectivity_t}, tree_id::p4est_topidx_t, boundary_type::p4est_connect_type_t, boundary_index::Cint, neighbor_transform_array::Ptr{sc_array_t})::Cvoid +function p4est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, + boundary_index, + neighbor_transform_array) + @ccall libp4est.p4est_connectivity_get_neighbor_transforms(conn::Ptr{p4est_connectivity_t}, + tree_id::p4est_topidx_t, + boundary_type::p4est_connect_type_t, + boundary_index::Cint, + neighbor_transform_array::Ptr{sc_array_t})::Cvoid end """ @@ -9630,7 +9971,8 @@ int p4est_connectivity_face_neighbor_face_corner (int fc, int f, int nf, int o); ``` """ function p4est_connectivity_face_neighbor_face_corner(fc, f, nf, o) - @ccall libp4est.p4est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, nf::Cint, o::Cint)::Cint + @ccall libp4est.p4est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, + nf::Cint, o::Cint)::Cint end """ @@ -9651,7 +9993,8 @@ int p4est_connectivity_face_neighbor_corner (int c, int f, int nf, int o); ``` """ function p4est_connectivity_face_neighbor_corner(c, f, nf, o) - @ccall libp4est.p4est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, o::Cint)::Cint + @ccall libp4est.p4est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, + o::Cint)::Cint end """ @@ -9672,7 +10015,10 @@ p4est_connectivity_t *p4est_connectivity_new (p4est_topidx_t num_vertices, p4est ``` """ function p4est_connectivity_new(num_vertices, num_trees, num_corners, num_ctt) - @ccall libp4est.p4est_connectivity_new(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_corners::p4est_topidx_t, num_ctt::p4est_topidx_t)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new(num_vertices::p4est_topidx_t, + num_trees::p4est_topidx_t, + num_corners::p4est_topidx_t, + num_ctt::p4est_topidx_t)::Ptr{p4est_connectivity_t} end """ @@ -9699,8 +10045,18 @@ The connectivity is checked for validity. p4est_connectivity_t *p4est_connectivity_new_copy (p4est_topidx_t num_vertices, p4est_topidx_t num_trees, p4est_topidx_t num_corners, const double *vertices, const p4est_topidx_t * ttv, const p4est_topidx_t * ttt, const int8_t * ttf, const p4est_topidx_t * ttc, const p4est_topidx_t * coff, const p4est_topidx_t * ctt, const int8_t * ctc); ``` """ -function p4est_connectivity_new_copy(num_vertices, num_trees, num_corners, vertices, ttv, ttt, ttf, ttc, coff, ctt, ctc) - @ccall libp4est.p4est_connectivity_new_copy(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_corners::p4est_topidx_t, vertices::Ptr{Cdouble}, ttv::Ptr{p4est_topidx_t}, ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, ttc::Ptr{p4est_topidx_t}, coff::Ptr{p4est_topidx_t}, ctt::Ptr{p4est_topidx_t}, ctc::Ptr{Int8})::Ptr{p4est_connectivity_t} +function p4est_connectivity_new_copy(num_vertices, num_trees, num_corners, vertices, ttv, + ttt, ttf, ttc, coff, ctt, ctc) + @ccall libp4est.p4est_connectivity_new_copy(num_vertices::p4est_topidx_t, + num_trees::p4est_topidx_t, + num_corners::p4est_topidx_t, + vertices::Ptr{Cdouble}, + ttv::Ptr{p4est_topidx_t}, + ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, + ttc::Ptr{p4est_topidx_t}, + coff::Ptr{p4est_topidx_t}, + ctt::Ptr{p4est_topidx_t}, + ctc::Ptr{Int8})::Ptr{p4est_connectivity_t} end """ @@ -9712,7 +10068,8 @@ p4est_connectivity_t *p4est_connectivity_bcast (p4est_connectivity_t * conn_in, ``` """ function p4est_connectivity_bcast(conn_in, root, comm) - @ccall libp4est.p4est_connectivity_bcast(conn_in::Ptr{p4est_connectivity_t}, root::Cint, comm::MPI_Comm)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_bcast(conn_in::Ptr{p4est_connectivity_t}, root::Cint, + comm::MPI_Comm)::Ptr{p4est_connectivity_t} end """ @@ -9743,7 +10100,8 @@ void p4est_connectivity_set_attr (p4est_connectivity_t * conn, size_t bytes_per_ ``` """ function p4est_connectivity_set_attr(conn, bytes_per_tree) - @ccall libp4est.p4est_connectivity_set_attr(conn::Ptr{p4est_connectivity_t}, bytes_per_tree::Csize_t)::Cvoid + @ccall libp4est.p4est_connectivity_set_attr(conn::Ptr{p4est_connectivity_t}, + bytes_per_tree::Csize_t)::Cvoid end """ @@ -9775,7 +10133,8 @@ int p4est_connectivity_is_equal (p4est_connectivity_t * conn1, p4est_connectivit ``` """ function p4est_connectivity_is_equal(conn1, conn2) - @ccall libp4est.p4est_connectivity_is_equal(conn1::Ptr{p4est_connectivity_t}, conn2::Ptr{p4est_connectivity_t})::Cint + @ccall libp4est.p4est_connectivity_is_equal(conn1::Ptr{p4est_connectivity_t}, + conn2::Ptr{p4est_connectivity_t})::Cint end """ @@ -9794,7 +10153,8 @@ int p4est_connectivity_sink (p4est_connectivity_t * conn, sc_io_sink_t * sink); ``` """ function p4est_connectivity_sink(conn, sink) - @ccall libp4est.p4est_connectivity_sink(conn::Ptr{p4est_connectivity_t}, sink::Ptr{sc_io_sink_t})::Cint + @ccall libp4est.p4est_connectivity_sink(conn::Ptr{p4est_connectivity_t}, + sink::Ptr{sc_io_sink_t})::Cint end """ @@ -9813,7 +10173,8 @@ sc_array_t *p4est_connectivity_deflate (p4est_connectivity_t * conn, p4est_conne ``` """ function p4est_connectivity_deflate(conn, code) - @ccall libp4est.p4est_connectivity_deflate(conn::Ptr{p4est_connectivity_t}, code::p4est_connectivity_encode_t)::Ptr{sc_array_t} + @ccall libp4est.p4est_connectivity_deflate(conn::Ptr{p4est_connectivity_t}, + code::p4est_connectivity_encode_t)::Ptr{sc_array_t} end """ @@ -9832,7 +10193,8 @@ int p4est_connectivity_save (const char *filename, p4est_connectivity_t * connec ``` """ function p4est_connectivity_save(filename, connectivity) - @ccall libp4est.p4est_connectivity_save(filename::Cstring, connectivity::Ptr{p4est_connectivity_t})::Cint + @ccall libp4est.p4est_connectivity_save(filename::Cstring, + connectivity::Ptr{p4est_connectivity_t})::Cint end """ @@ -9887,7 +10249,8 @@ p4est_connectivity_t *p4est_connectivity_load (const char *filename, size_t *byt ``` """ function p4est_connectivity_load(filename, bytes) - @ccall libp4est.p4est_connectivity_load(filename::Cstring, bytes::Ptr{Csize_t})::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_load(filename::Cstring, + bytes::Ptr{Csize_t})::Ptr{p4est_connectivity_t} end """ @@ -9975,7 +10338,8 @@ p4est_connectivity_t *p4est_connectivity_new_twotrees (int l_face, int r_face, i ``` """ function p4est_connectivity_new_twotrees(l_face, r_face, orientation) - @ccall libp4est.p4est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, orientation::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, + orientation::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10096,7 +10460,8 @@ p4est_connectivity_t *p4est_connectivity_new_disk (int periodic_a, int periodic_ ``` """ function p4est_connectivity_new_disk(periodic_a, periodic_b) - @ccall libp4est.p4est_connectivity_new_disk(periodic_a::Cint, periodic_b::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new_disk(periodic_a::Cint, + periodic_b::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10186,7 +10551,8 @@ p4est_connectivity_t *p4est_connectivity_new_brick (int mi, int ni, int periodic ``` """ function p4est_connectivity_new_brick(mi, ni, periodic_a, periodic_b) - @ccall libp4est.p4est_connectivity_new_brick(mi::Cint, ni::Cint, periodic_a::Cint, periodic_b::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new_brick(mi::Cint, ni::Cint, periodic_a::Cint, + periodic_b::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10223,7 +10589,8 @@ p4est_connectivity_t *p4est_connectivity_refine (p4est_connectivity_t * conn, in ``` """ function p4est_connectivity_refine(conn, num_per_dim) - @ccall libp4est.p4est_connectivity_refine(conn::Ptr{p4est_connectivity_t}, num_per_dim::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_refine(conn::Ptr{p4est_connectivity_t}, + num_per_dim::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10241,7 +10608,8 @@ void p4est_expand_face_transform (int iface, int nface, int ftransform[]); ``` """ function p4est_expand_face_transform(iface, nface, ftransform) - @ccall libp4est.p4est_expand_face_transform(iface::Cint, nface::Cint, ftransform::Ptr{Cint})::Cvoid + @ccall libp4est.p4est_expand_face_transform(iface::Cint, nface::Cint, + ftransform::Ptr{Cint})::Cvoid end """ @@ -10265,7 +10633,9 @@ p4est_topidx_t p4est_find_face_transform (p4est_connectivity_t * connectivity, p ``` """ function p4est_find_face_transform(connectivity, itree, iface, ftransform) - @ccall libp4est.p4est_find_face_transform(connectivity::Ptr{p4est_connectivity_t}, itree::p4est_topidx_t, iface::Cint, ftransform::Ptr{Cint})::p4est_topidx_t + @ccall libp4est.p4est_find_face_transform(connectivity::Ptr{p4est_connectivity_t}, + itree::p4est_topidx_t, iface::Cint, + ftransform::Ptr{Cint})::p4est_topidx_t end """ @@ -10284,7 +10654,9 @@ void p4est_find_corner_transform (p4est_connectivity_t * connectivity, p4est_top ``` """ function p4est_find_corner_transform(connectivity, itree, icorner, ci) - @ccall libp4est.p4est_find_corner_transform(connectivity::Ptr{p4est_connectivity_t}, itree::p4est_topidx_t, icorner::Cint, ci::Ptr{p4est_corner_info_t})::Cvoid + @ccall libp4est.p4est_find_corner_transform(connectivity::Ptr{p4est_connectivity_t}, + itree::p4est_topidx_t, icorner::Cint, + ci::Ptr{p4est_corner_info_t})::Cvoid end """ @@ -10334,7 +10706,9 @@ void p4est_connectivity_permute (p4est_connectivity_t * conn, sc_array_t * perm, ``` """ function p4est_connectivity_permute(conn, perm, is_current_to_new) - @ccall libp4est.p4est_connectivity_permute(conn::Ptr{p4est_connectivity_t}, perm::Ptr{sc_array_t}, is_current_to_new::Cint)::Cvoid + @ccall libp4est.p4est_connectivity_permute(conn::Ptr{p4est_connectivity_t}, + perm::Ptr{sc_array_t}, + is_current_to_new::Cint)::Cvoid end """ @@ -10354,8 +10728,13 @@ end void p4est_connectivity_join_faces (p4est_connectivity_t * conn, p4est_topidx_t tree_left, p4est_topidx_t tree_right, int face_left, int face_right, int orientation); ``` """ -function p4est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, orientation) - @ccall libp4est.p4est_connectivity_join_faces(conn::Ptr{p4est_connectivity_t}, tree_left::p4est_topidx_t, tree_right::p4est_topidx_t, face_left::Cint, face_right::Cint, orientation::Cint)::Cvoid +function p4est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, + orientation) + @ccall libp4est.p4est_connectivity_join_faces(conn::Ptr{p4est_connectivity_t}, + tree_left::p4est_topidx_t, + tree_right::p4est_topidx_t, + face_left::Cint, face_right::Cint, + orientation::Cint)::Cvoid end """ @@ -10372,7 +10751,8 @@ int p4est_connectivity_is_equivalent (p4est_connectivity_t * conn1, p4est_connec ``` """ function p4est_connectivity_is_equivalent(conn1, conn2) - @ccall libp4est.p4est_connectivity_is_equivalent(conn1::Ptr{p4est_connectivity_t}, conn2::Ptr{p4est_connectivity_t})::Cint + @ccall libp4est.p4est_connectivity_is_equivalent(conn1::Ptr{p4est_connectivity_t}, + conn2::Ptr{p4est_connectivity_t})::Cint end """ @@ -10384,7 +10764,8 @@ static inline p4est_corner_transform_t * p4est_corner_array_index (sc_array_t * ``` """ function p4est_corner_array_index(array, it) - @ccall libp4est.p4est_corner_array_index(array::Ptr{sc_array_t}, it::Csize_t)::Ptr{p4est_corner_transform_t} + @ccall libp4est.p4est_corner_array_index(array::Ptr{sc_array_t}, + it::Csize_t)::Ptr{p4est_corner_transform_t} end """ @@ -10441,8 +10822,13 @@ This code can be called two ways. The first, when `vertex`==NULL and `tree_to_ve int p4est_connectivity_read_inp_stream (FILE * stream, p4est_topidx_t * num_vertices, p4est_topidx_t * num_trees, double *vertices, p4est_topidx_t * tree_to_vertex); ``` """ -function p4est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, tree_to_vertex) - @ccall libp4est.p4est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, num_vertices::Ptr{p4est_topidx_t}, num_trees::Ptr{p4est_topidx_t}, vertices::Ptr{Cdouble}, tree_to_vertex::Ptr{p4est_topidx_t})::Cint +function p4est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, + tree_to_vertex) + @ccall libp4est.p4est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, + num_vertices::Ptr{p4est_topidx_t}, + num_trees::Ptr{p4est_topidx_t}, + vertices::Ptr{Cdouble}, + tree_to_vertex::Ptr{p4est_topidx_t})::Cint end """ @@ -10792,7 +11178,9 @@ void p8est_neighbor_transform_coordinates (const p8est_neighbor_transform_t * nt ``` """ function p8est_neighbor_transform_coordinates(nt, self_coords, neigh_coords) - @ccall libp4est.p8est_neighbor_transform_coordinates(nt::Ptr{p8est_neighbor_transform_t}, self_coords::Ptr{p4est_qcoord_t}, neigh_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p8est_neighbor_transform_coordinates(nt::Ptr{p8est_neighbor_transform_t}, + self_coords::Ptr{p4est_qcoord_t}, + neigh_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -10810,7 +11198,9 @@ void p8est_neighbor_transform_coordinates_reverse (const p8est_neighbor_transfor ``` """ function p8est_neighbor_transform_coordinates_reverse(nt, neigh_coords, self_coords) - @ccall libp4est.p8est_neighbor_transform_coordinates_reverse(nt::Ptr{p8est_neighbor_transform_t}, neigh_coords::Ptr{p4est_qcoord_t}, self_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p8est_neighbor_transform_coordinates_reverse(nt::Ptr{p8est_neighbor_transform_t}, + neigh_coords::Ptr{p4est_qcoord_t}, + self_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -10829,8 +11219,14 @@ Fill an array with the neighbor transforms based on a specific boundary type. Th void p8est_connectivity_get_neighbor_transforms (p8est_connectivity_t *conn, p4est_topidx_t tree_id, p8est_connect_type_t boundary_type, int boundary_index, sc_array_t *neighbor_transform_array); ``` """ -function p8est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, boundary_index, neighbor_transform_array) - @ccall libp4est.p8est_connectivity_get_neighbor_transforms(conn::Ptr{p8est_connectivity_t}, tree_id::p4est_topidx_t, boundary_type::p8est_connect_type_t, boundary_index::Cint, neighbor_transform_array::Ptr{sc_array_t})::Cvoid +function p8est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, + boundary_index, + neighbor_transform_array) + @ccall libp4est.p8est_connectivity_get_neighbor_transforms(conn::Ptr{p8est_connectivity_t}, + tree_id::p4est_topidx_t, + boundary_type::p8est_connect_type_t, + boundary_index::Cint, + neighbor_transform_array::Ptr{sc_array_t})::Cvoid end """ @@ -10851,7 +11247,8 @@ int p8est_connectivity_face_neighbor_corner_set (int c, int f, int nf, int set); ``` """ function p8est_connectivity_face_neighbor_corner_set(c, f, nf, set) - @ccall libp4est.p8est_connectivity_face_neighbor_corner_set(c::Cint, f::Cint, nf::Cint, set::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_corner_set(c::Cint, f::Cint, nf::Cint, + set::Cint)::Cint end """ @@ -10872,7 +11269,8 @@ int p8est_connectivity_face_neighbor_face_corner (int fc, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_face_corner(fc, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, nf::Cint, o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, + nf::Cint, o::Cint)::Cint end """ @@ -10893,7 +11291,8 @@ int p8est_connectivity_face_neighbor_corner (int c, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_corner(c, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, + o::Cint)::Cint end """ @@ -10914,7 +11313,8 @@ int p8est_connectivity_face_neighbor_face_edge (int fe, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_face_edge(fe, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_face_edge(fe::Cint, f::Cint, nf::Cint, o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_face_edge(fe::Cint, f::Cint, nf::Cint, + o::Cint)::Cint end """ @@ -10935,7 +11335,8 @@ int p8est_connectivity_face_neighbor_edge (int e, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_edge(e, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_edge(e::Cint, f::Cint, nf::Cint, o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_edge(e::Cint, f::Cint, nf::Cint, + o::Cint)::Cint end """ @@ -10975,7 +11376,8 @@ int p8est_connectivity_edge_neighbor_corner (int c, int e, int ne, int o); ``` """ function p8est_connectivity_edge_neighbor_corner(c, e, ne, o) - @ccall libp4est.p8est_connectivity_edge_neighbor_corner(c::Cint, e::Cint, ne::Cint, o::Cint)::Cint + @ccall libp4est.p8est_connectivity_edge_neighbor_corner(c::Cint, e::Cint, ne::Cint, + o::Cint)::Cint end """ @@ -10997,8 +11399,14 @@ A connectivity structure with allocated arrays. p8est_connectivity_t *p8est_connectivity_new (p4est_topidx_t num_vertices, p4est_topidx_t num_trees, p4est_topidx_t num_edges, p4est_topidx_t num_ett, p4est_topidx_t num_corners, p4est_topidx_t num_ctt); ``` """ -function p8est_connectivity_new(num_vertices, num_trees, num_edges, num_ett, num_corners, num_ctt) - @ccall libp4est.p8est_connectivity_new(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_edges::p4est_topidx_t, num_ett::p4est_topidx_t, num_corners::p4est_topidx_t, num_ctt::p4est_topidx_t)::Ptr{p8est_connectivity_t} +function p8est_connectivity_new(num_vertices, num_trees, num_edges, num_ett, num_corners, + num_ctt) + @ccall libp4est.p8est_connectivity_new(num_vertices::p4est_topidx_t, + num_trees::p4est_topidx_t, + num_edges::p4est_topidx_t, + num_ett::p4est_topidx_t, + num_corners::p4est_topidx_t, + num_ctt::p4est_topidx_t)::Ptr{p8est_connectivity_t} end """ @@ -11030,8 +11438,23 @@ The connectivity is checked for validity. p8est_connectivity_t *p8est_connectivity_new_copy (p4est_topidx_t num_vertices, p4est_topidx_t num_trees, p4est_topidx_t num_edges, p4est_topidx_t num_corners, const double *vertices, const p4est_topidx_t * ttv, const p4est_topidx_t * ttt, const int8_t * ttf, const p4est_topidx_t * tte, const p4est_topidx_t * eoff, const p4est_topidx_t * ett, const int8_t * ete, const p4est_topidx_t * ttc, const p4est_topidx_t * coff, const p4est_topidx_t * ctt, const int8_t * ctc); ``` """ -function p8est_connectivity_new_copy(num_vertices, num_trees, num_edges, num_corners, vertices, ttv, ttt, ttf, tte, eoff, ett, ete, ttc, coff, ctt, ctc) - @ccall libp4est.p8est_connectivity_new_copy(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_edges::p4est_topidx_t, num_corners::p4est_topidx_t, vertices::Ptr{Cdouble}, ttv::Ptr{p4est_topidx_t}, ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, tte::Ptr{p4est_topidx_t}, eoff::Ptr{p4est_topidx_t}, ett::Ptr{p4est_topidx_t}, ete::Ptr{Int8}, ttc::Ptr{p4est_topidx_t}, coff::Ptr{p4est_topidx_t}, ctt::Ptr{p4est_topidx_t}, ctc::Ptr{Int8})::Ptr{p8est_connectivity_t} +function p8est_connectivity_new_copy(num_vertices, num_trees, num_edges, num_corners, + vertices, ttv, ttt, ttf, tte, eoff, ett, ete, ttc, + coff, ctt, ctc) + @ccall libp4est.p8est_connectivity_new_copy(num_vertices::p4est_topidx_t, + num_trees::p4est_topidx_t, + num_edges::p4est_topidx_t, + num_corners::p4est_topidx_t, + vertices::Ptr{Cdouble}, + ttv::Ptr{p4est_topidx_t}, + ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, + tte::Ptr{p4est_topidx_t}, + eoff::Ptr{p4est_topidx_t}, + ett::Ptr{p4est_topidx_t}, ete::Ptr{Int8}, + ttc::Ptr{p4est_topidx_t}, + coff::Ptr{p4est_topidx_t}, + ctt::Ptr{p4est_topidx_t}, + ctc::Ptr{Int8})::Ptr{p8est_connectivity_t} end """ @@ -11043,7 +11466,8 @@ p8est_connectivity_t *p8est_connectivity_bcast (p8est_connectivity_t * conn_in, ``` """ function p8est_connectivity_bcast(conn_in, root, comm) - @ccall libp4est.p8est_connectivity_bcast(conn_in::Ptr{p8est_connectivity_t}, root::Cint, comm::MPI_Comm)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_bcast(conn_in::Ptr{p8est_connectivity_t}, root::Cint, + comm::MPI_Comm)::Ptr{p8est_connectivity_t} end """ @@ -11074,7 +11498,8 @@ void p8est_connectivity_set_attr (p8est_connectivity_t * conn, size_t bytes_per_ ``` """ function p8est_connectivity_set_attr(conn, bytes_per_tree) - @ccall libp4est.p8est_connectivity_set_attr(conn::Ptr{p8est_connectivity_t}, bytes_per_tree::Csize_t)::Cvoid + @ccall libp4est.p8est_connectivity_set_attr(conn::Ptr{p8est_connectivity_t}, + bytes_per_tree::Csize_t)::Cvoid end """ @@ -11106,7 +11531,8 @@ int p8est_connectivity_is_equal (p8est_connectivity_t * conn1, p8est_connectivit ``` """ function p8est_connectivity_is_equal(conn1, conn2) - @ccall libp4est.p8est_connectivity_is_equal(conn1::Ptr{p8est_connectivity_t}, conn2::Ptr{p8est_connectivity_t})::Cint + @ccall libp4est.p8est_connectivity_is_equal(conn1::Ptr{p8est_connectivity_t}, + conn2::Ptr{p8est_connectivity_t})::Cint end """ @@ -11125,7 +11551,8 @@ int p8est_connectivity_sink (p8est_connectivity_t * conn, sc_io_sink_t * sink); ``` """ function p8est_connectivity_sink(conn, sink) - @ccall libp4est.p8est_connectivity_sink(conn::Ptr{p8est_connectivity_t}, sink::Ptr{sc_io_sink_t})::Cint + @ccall libp4est.p8est_connectivity_sink(conn::Ptr{p8est_connectivity_t}, + sink::Ptr{sc_io_sink_t})::Cint end """ @@ -11144,7 +11571,8 @@ sc_array_t *p8est_connectivity_deflate (p8est_connectivity_t * conn, p8est_conne ``` """ function p8est_connectivity_deflate(conn, code) - @ccall libp4est.p8est_connectivity_deflate(conn::Ptr{p8est_connectivity_t}, code::p8est_connectivity_encode_t)::Ptr{sc_array_t} + @ccall libp4est.p8est_connectivity_deflate(conn::Ptr{p8est_connectivity_t}, + code::p8est_connectivity_encode_t)::Ptr{sc_array_t} end """ @@ -11163,7 +11591,8 @@ int p8est_connectivity_save (const char *filename, p8est_connectivity_t * connec ``` """ function p8est_connectivity_save(filename, connectivity) - @ccall libp4est.p8est_connectivity_save(filename::Cstring, connectivity::Ptr{p8est_connectivity_t})::Cint + @ccall libp4est.p8est_connectivity_save(filename::Cstring, + connectivity::Ptr{p8est_connectivity_t})::Cint end """ @@ -11218,7 +11647,8 @@ p8est_connectivity_t *p8est_connectivity_load (const char *filename, size_t *byt ``` """ function p8est_connectivity_load(filename, bytes) - @ccall libp4est.p8est_connectivity_load(filename::Cstring, bytes::Ptr{Csize_t})::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_load(filename::Cstring, + bytes::Ptr{Csize_t})::Ptr{p8est_connectivity_t} end """ @@ -11306,7 +11736,8 @@ p8est_connectivity_t *p8est_connectivity_new_twotrees (int l_face, int r_face, i ``` """ function p8est_connectivity_new_twotrees(l_face, r_face, orientation) - @ccall libp4est.p8est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, orientation::Cint)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, + orientation::Cint)::Ptr{p8est_connectivity_t} end """ @@ -11348,7 +11779,9 @@ p8est_connectivity_t *p8est_connectivity_new_brick (int m, int n, int p, int per ``` """ function p8est_connectivity_new_brick(m, n, p, periodic_a, periodic_b, periodic_c) - @ccall libp4est.p8est_connectivity_new_brick(m::Cint, n::Cint, p::Cint, periodic_a::Cint, periodic_b::Cint, periodic_c::Cint)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_new_brick(m::Cint, n::Cint, p::Cint, + periodic_a::Cint, periodic_b::Cint, + periodic_c::Cint)::Ptr{p8est_connectivity_t} end """ @@ -11435,7 +11868,8 @@ p8est_connectivity_t *p8est_connectivity_refine (p8est_connectivity_t * conn, in ``` """ function p8est_connectivity_refine(conn, num_per_dim) - @ccall libp4est.p8est_connectivity_refine(conn::Ptr{p8est_connectivity_t}, num_per_dim::Cint)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_refine(conn::Ptr{p8est_connectivity_t}, + num_per_dim::Cint)::Ptr{p8est_connectivity_t} end """ @@ -11453,7 +11887,8 @@ void p8est_expand_face_transform (int iface, int nface, int ftransform[]); ``` """ function p8est_expand_face_transform(iface, nface, ftransform) - @ccall libp4est.p8est_expand_face_transform(iface::Cint, nface::Cint, ftransform::Ptr{Cint})::Cvoid + @ccall libp4est.p8est_expand_face_transform(iface::Cint, nface::Cint, + ftransform::Ptr{Cint})::Cvoid end """ @@ -11477,7 +11912,9 @@ p4est_topidx_t p8est_find_face_transform (p8est_connectivity_t * connectivity, p ``` """ function p8est_find_face_transform(connectivity, itree, iface, ftransform) - @ccall libp4est.p8est_find_face_transform(connectivity::Ptr{p8est_connectivity_t}, itree::p4est_topidx_t, iface::Cint, ftransform::Ptr{Cint})::p4est_topidx_t + @ccall libp4est.p8est_find_face_transform(connectivity::Ptr{p8est_connectivity_t}, + itree::p4est_topidx_t, iface::Cint, + ftransform::Ptr{Cint})::p4est_topidx_t end """ @@ -11496,7 +11933,9 @@ void p8est_find_edge_transform (p8est_connectivity_t * connectivity, p4est_topid ``` """ function p8est_find_edge_transform(connectivity, itree, iedge, ei) - @ccall libp4est.p8est_find_edge_transform(connectivity::Ptr{p8est_connectivity_t}, itree::p4est_topidx_t, iedge::Cint, ei::Ptr{p8est_edge_info_t})::Cvoid + @ccall libp4est.p8est_find_edge_transform(connectivity::Ptr{p8est_connectivity_t}, + itree::p4est_topidx_t, iedge::Cint, + ei::Ptr{p8est_edge_info_t})::Cvoid end """ @@ -11515,7 +11954,9 @@ void p8est_find_corner_transform (p8est_connectivity_t * connectivity, p4est_top ``` """ function p8est_find_corner_transform(connectivity, itree, icorner, ci) - @ccall libp4est.p8est_find_corner_transform(connectivity::Ptr{p8est_connectivity_t}, itree::p4est_topidx_t, icorner::Cint, ci::Ptr{p8est_corner_info_t})::Cvoid + @ccall libp4est.p8est_find_corner_transform(connectivity::Ptr{p8est_connectivity_t}, + itree::p4est_topidx_t, icorner::Cint, + ci::Ptr{p8est_corner_info_t})::Cvoid end """ @@ -11565,7 +12006,9 @@ void p8est_connectivity_permute (p8est_connectivity_t * conn, sc_array_t * perm, ``` """ function p8est_connectivity_permute(conn, perm, is_current_to_new) - @ccall libp4est.p8est_connectivity_permute(conn::Ptr{p8est_connectivity_t}, perm::Ptr{sc_array_t}, is_current_to_new::Cint)::Cvoid + @ccall libp4est.p8est_connectivity_permute(conn::Ptr{p8est_connectivity_t}, + perm::Ptr{sc_array_t}, + is_current_to_new::Cint)::Cvoid end """ @@ -11585,8 +12028,13 @@ end void p8est_connectivity_join_faces (p8est_connectivity_t * conn, p4est_topidx_t tree_left, p4est_topidx_t tree_right, int face_left, int face_right, int orientation); ``` """ -function p8est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, orientation) - @ccall libp4est.p8est_connectivity_join_faces(conn::Ptr{p8est_connectivity_t}, tree_left::p4est_topidx_t, tree_right::p4est_topidx_t, face_left::Cint, face_right::Cint, orientation::Cint)::Cvoid +function p8est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, + orientation) + @ccall libp4est.p8est_connectivity_join_faces(conn::Ptr{p8est_connectivity_t}, + tree_left::p4est_topidx_t, + tree_right::p4est_topidx_t, + face_left::Cint, face_right::Cint, + orientation::Cint)::Cvoid end """ @@ -11603,7 +12051,8 @@ int p8est_connectivity_is_equivalent (p8est_connectivity_t * conn1, p8est_connec ``` """ function p8est_connectivity_is_equivalent(conn1, conn2) - @ccall libp4est.p8est_connectivity_is_equivalent(conn1::Ptr{p8est_connectivity_t}, conn2::Ptr{p8est_connectivity_t})::Cint + @ccall libp4est.p8est_connectivity_is_equivalent(conn1::Ptr{p8est_connectivity_t}, + conn2::Ptr{p8est_connectivity_t})::Cint end """ @@ -11615,7 +12064,8 @@ static inline p8est_edge_transform_t * p8est_edge_array_index (sc_array_t * arra ``` """ function p8est_edge_array_index(array, it) - @ccall libp4est.p8est_edge_array_index(array::Ptr{sc_array_t}, it::Csize_t)::Ptr{p8est_edge_transform_t} + @ccall libp4est.p8est_edge_array_index(array::Ptr{sc_array_t}, + it::Csize_t)::Ptr{p8est_edge_transform_t} end """ @@ -11627,7 +12077,8 @@ static inline p8est_corner_transform_t * p8est_corner_array_index (sc_array_t * ``` """ function p8est_corner_array_index(array, it) - @ccall libp4est.p8est_corner_array_index(array::Ptr{sc_array_t}, it::Csize_t)::Ptr{p8est_corner_transform_t} + @ccall libp4est.p8est_corner_array_index(array::Ptr{sc_array_t}, + it::Csize_t)::Ptr{p8est_corner_transform_t} end """ @@ -11702,8 +12153,13 @@ This code can be called two ways. The first, when `vertex`==NULL and `tree_to_ve int p8est_connectivity_read_inp_stream (FILE * stream, p4est_topidx_t * num_vertices, p4est_topidx_t * num_trees, double *vertices, p4est_topidx_t * tree_to_vertex); ``` """ -function p8est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, tree_to_vertex) - @ccall libp4est.p8est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, num_vertices::Ptr{p4est_topidx_t}, num_trees::Ptr{p4est_topidx_t}, vertices::Ptr{Cdouble}, tree_to_vertex::Ptr{p4est_topidx_t})::Cint +function p8est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, + tree_to_vertex) + @ccall libp4est.p8est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, + num_vertices::Ptr{p4est_topidx_t}, + num_trees::Ptr{p4est_topidx_t}, + vertices::Ptr{Cdouble}, + tree_to_vertex::Ptr{p4est_topidx_t})::Cint end """ @@ -11787,7 +12243,8 @@ t8_cmesh_t t8_cmesh_new_from_p4est (p4est_connectivity_t *conn, sc_MPI_Comm comm ``` """ function t8_cmesh_new_from_p4est(conn, comm, do_partition) - @ccall libt8.t8_cmesh_new_from_p4est(conn::Ptr{p4est_connectivity_t}, comm::MPI_Comm, do_partition::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_from_p4est(conn::Ptr{p4est_connectivity_t}, comm::MPI_Comm, + do_partition::Cint)::t8_cmesh_t end """ @@ -11799,7 +12256,8 @@ t8_cmesh_t t8_cmesh_new_from_p8est (p8est_connectivity_t *conn, sc_MPI_Comm comm ``` """ function t8_cmesh_new_from_p8est(conn, comm, do_partition) - @ccall libt8.t8_cmesh_new_from_p8est(conn::Ptr{p8est_connectivity_t}, comm::MPI_Comm, do_partition::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_from_p8est(conn::Ptr{p8est_connectivity_t}, comm::MPI_Comm, + do_partition::Cint)::t8_cmesh_t end """ @@ -11811,7 +12269,8 @@ t8_cmesh_t t8_cmesh_new_empty (sc_MPI_Comm comm, const int do_partition, const i ``` """ function t8_cmesh_new_empty(comm, do_partition, dimension) - @ccall libt8.t8_cmesh_new_empty(comm::MPI_Comm, do_partition::Cint, dimension::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_empty(comm::MPI_Comm, do_partition::Cint, + dimension::Cint)::t8_cmesh_t end """ @@ -11835,7 +12294,8 @@ t8_cmesh_t t8_cmesh_new_hypercube (t8_eclass_t eclass, sc_MPI_Comm comm, int do_ ``` """ function t8_cmesh_new_hypercube(eclass, comm, do_bcast, do_partition, periodic) - @ccall libt8.t8_cmesh_new_hypercube(eclass::t8_eclass_t, comm::MPI_Comm, do_bcast::Cint, do_partition::Cint, periodic::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_hypercube(eclass::t8_eclass_t, comm::MPI_Comm, do_bcast::Cint, + do_partition::Cint, periodic::Cint)::t8_cmesh_t end """ @@ -11846,8 +12306,13 @@ end t8_cmesh_t t8_cmesh_new_hypercube_pad (const t8_eclass_t eclass, sc_MPI_Comm comm, const double *boundary, t8_locidx_t polygons_x, t8_locidx_t polygons_y, t8_locidx_t polygons_z, const int use_axis_aligned); ``` """ -function t8_cmesh_new_hypercube_pad(eclass, comm, boundary, polygons_x, polygons_y, polygons_z, use_axis_aligned) - @ccall libt8.t8_cmesh_new_hypercube_pad(eclass::t8_eclass_t, comm::MPI_Comm, boundary::Ptr{Cdouble}, polygons_x::t8_locidx_t, polygons_y::t8_locidx_t, polygons_z::t8_locidx_t, use_axis_aligned::Cint)::t8_cmesh_t +function t8_cmesh_new_hypercube_pad(eclass, comm, boundary, polygons_x, polygons_y, + polygons_z, use_axis_aligned) + @ccall libt8.t8_cmesh_new_hypercube_pad(eclass::t8_eclass_t, comm::MPI_Comm, + boundary::Ptr{Cdouble}, polygons_x::t8_locidx_t, + polygons_y::t8_locidx_t, + polygons_z::t8_locidx_t, + use_axis_aligned::Cint)::t8_cmesh_t end """ @@ -11858,8 +12323,17 @@ end t8_cmesh_t t8_cmesh_new_hypercube_pad_ext (const t8_eclass_t eclass, sc_MPI_Comm comm, const double *boundary, t8_locidx_t polygons_x, t8_locidx_t polygons_y, t8_locidx_t polygons_z, const int periodic_x, const int periodic_y, const int periodic_z, const int use_axis_aligned, const int set_partition, t8_gloidx_t offset); ``` """ -function t8_cmesh_new_hypercube_pad_ext(eclass, comm, boundary, polygons_x, polygons_y, polygons_z, periodic_x, periodic_y, periodic_z, use_axis_aligned, set_partition, offset) - @ccall libt8.t8_cmesh_new_hypercube_pad_ext(eclass::t8_eclass_t, comm::MPI_Comm, boundary::Ptr{Cdouble}, polygons_x::t8_locidx_t, polygons_y::t8_locidx_t, polygons_z::t8_locidx_t, periodic_x::Cint, periodic_y::Cint, periodic_z::Cint, use_axis_aligned::Cint, set_partition::Cint, offset::t8_gloidx_t)::t8_cmesh_t +function t8_cmesh_new_hypercube_pad_ext(eclass, comm, boundary, polygons_x, polygons_y, + polygons_z, periodic_x, periodic_y, periodic_z, + use_axis_aligned, set_partition, offset) + @ccall libt8.t8_cmesh_new_hypercube_pad_ext(eclass::t8_eclass_t, comm::MPI_Comm, + boundary::Ptr{Cdouble}, + polygons_x::t8_locidx_t, + polygons_y::t8_locidx_t, + polygons_z::t8_locidx_t, periodic_x::Cint, + periodic_y::Cint, periodic_z::Cint, + use_axis_aligned::Cint, set_partition::Cint, + offset::t8_gloidx_t)::t8_cmesh_t end """ @@ -11871,7 +12345,8 @@ t8_cmesh_t t8_cmesh_new_hypercube_hybrid (sc_MPI_Comm comm, int do_partition, in ``` """ function t8_cmesh_new_hypercube_hybrid(comm, do_partition, periodic) - @ccall libt8.t8_cmesh_new_hypercube_hybrid(comm::MPI_Comm, do_partition::Cint, periodic::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_hypercube_hybrid(comm::MPI_Comm, do_partition::Cint, + periodic::Cint)::t8_cmesh_t end """ @@ -11931,7 +12406,8 @@ t8_cmesh_t t8_cmesh_new_bigmesh (t8_eclass_t eclass, int num_trees, sc_MPI_Comm ``` """ function t8_cmesh_new_bigmesh(eclass, num_trees, comm) - @ccall libt8.t8_cmesh_new_bigmesh(eclass::t8_eclass_t, num_trees::Cint, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_bigmesh(eclass::t8_eclass_t, num_trees::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12015,7 +12491,9 @@ t8_cmesh_t t8_cmesh_new_brick_2d (t8_gloidx_t num_x, t8_gloidx_t num_y, int x_pe ``` """ function t8_cmesh_new_brick_2d(num_x, num_y, x_periodic, y_periodic, comm) - @ccall libt8.t8_cmesh_new_brick_2d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, x_periodic::Cint, y_periodic::Cint, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_brick_2d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, + x_periodic::Cint, y_periodic::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12026,8 +12504,12 @@ end t8_cmesh_t t8_cmesh_new_brick_3d (t8_gloidx_t num_x, t8_gloidx_t num_y, t8_gloidx_t num_z, int x_periodic, int y_periodic, int z_periodic, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_brick_3d(num_x, num_y, num_z, x_periodic, y_periodic, z_periodic, comm) - @ccall libt8.t8_cmesh_new_brick_3d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, num_z::t8_gloidx_t, x_periodic::Cint, y_periodic::Cint, z_periodic::Cint, comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_brick_3d(num_x, num_y, num_z, x_periodic, y_periodic, z_periodic, + comm) + @ccall libt8.t8_cmesh_new_brick_3d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, + num_z::t8_gloidx_t, x_periodic::Cint, + y_periodic::Cint, z_periodic::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12038,8 +12520,12 @@ end t8_cmesh_t t8_cmesh_new_disjoint_bricks (t8_gloidx_t num_x, t8_gloidx_t num_y, t8_gloidx_t num_z, int x_periodic, int y_periodic, int z_periodic, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_disjoint_bricks(num_x, num_y, num_z, x_periodic, y_periodic, z_periodic, comm) - @ccall libt8.t8_cmesh_new_disjoint_bricks(num_x::t8_gloidx_t, num_y::t8_gloidx_t, num_z::t8_gloidx_t, x_periodic::Cint, y_periodic::Cint, z_periodic::Cint, comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_disjoint_bricks(num_x, num_y, num_z, x_periodic, y_periodic, + z_periodic, comm) + @ccall libt8.t8_cmesh_new_disjoint_bricks(num_x::t8_gloidx_t, num_y::t8_gloidx_t, + num_z::t8_gloidx_t, x_periodic::Cint, + y_periodic::Cint, z_periodic::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12111,7 +12597,8 @@ t8_cmesh_t t8_cmesh_new_long_brick_pyramid (sc_MPI_Comm comm, int num_cubes); ``` """ function t8_cmesh_new_long_brick_pyramid(comm, num_cubes) - @ccall libt8.t8_cmesh_new_long_brick_pyramid(comm::MPI_Comm, num_cubes::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_long_brick_pyramid(comm::MPI_Comm, + num_cubes::Cint)::t8_cmesh_t end """ @@ -12123,7 +12610,8 @@ t8_cmesh_t t8_cmesh_new_row_of_cubes (t8_locidx_t num_trees, const int set_attri ``` """ function t8_cmesh_new_row_of_cubes(num_trees, set_attributes, do_partition, comm) - @ccall libt8.t8_cmesh_new_row_of_cubes(num_trees::t8_locidx_t, set_attributes::Cint, do_partition::Cint, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_row_of_cubes(num_trees::t8_locidx_t, set_attributes::Cint, + do_partition::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12135,7 +12623,8 @@ t8_cmesh_t t8_cmesh_new_quadrangulated_disk (const double radius, sc_MPI_Comm co ``` """ function t8_cmesh_new_quadrangulated_disk(radius, comm) - @ccall libt8.t8_cmesh_new_quadrangulated_disk(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_quadrangulated_disk(radius::Cdouble, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12147,7 +12636,8 @@ t8_cmesh_t t8_cmesh_new_triangulated_spherical_surface_octahedron (const double ``` """ function t8_cmesh_new_triangulated_spherical_surface_octahedron(radius, comm) - @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_octahedron(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_octahedron(radius::Cdouble, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12159,7 +12649,8 @@ t8_cmesh_t t8_cmesh_new_triangulated_spherical_surface_icosahedron (const double ``` """ function t8_cmesh_new_triangulated_spherical_surface_icosahedron(radius, comm) - @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_icosahedron(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_icosahedron(radius::Cdouble, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12171,7 +12662,8 @@ t8_cmesh_t t8_cmesh_new_triangulated_spherical_surface_cube (const double radius ``` """ function t8_cmesh_new_triangulated_spherical_surface_cube(radius, comm) - @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_cube(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_cube(radius::Cdouble, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12183,7 +12675,8 @@ t8_cmesh_t t8_cmesh_new_quadrangulated_spherical_surface (const double radius, s ``` """ function t8_cmesh_new_quadrangulated_spherical_surface(radius, comm) - @ccall libt8.t8_cmesh_new_quadrangulated_spherical_surface(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_quadrangulated_spherical_surface(radius::Cdouble, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12194,8 +12687,13 @@ end t8_cmesh_t t8_cmesh_new_prismed_spherical_shell_octahedron (const double inner_radius, const double shell_thickness, const int num_levels, const int num_layers, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius, shell_thickness, num_levels, num_layers, comm) - @ccall libt8.t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius::Cdouble, shell_thickness::Cdouble, num_levels::Cint, num_layers::Cint, comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius, shell_thickness, + num_levels, num_layers, comm) + @ccall libt8.t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius::Cdouble, + shell_thickness::Cdouble, + num_levels::Cint, + num_layers::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12206,8 +12704,13 @@ end t8_cmesh_t t8_cmesh_new_prismed_spherical_shell_icosahedron (const double inner_radius, const double shell_thickness, const int num_levels, const int num_layers, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius, shell_thickness, num_levels, num_layers, comm) - @ccall libt8.t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius::Cdouble, shell_thickness::Cdouble, num_levels::Cint, num_layers::Cint, comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius, shell_thickness, + num_levels, num_layers, comm) + @ccall libt8.t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius::Cdouble, + shell_thickness::Cdouble, + num_levels::Cint, + num_layers::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12218,8 +12721,12 @@ end t8_cmesh_t t8_cmesh_new_cubed_spherical_shell (const double inner_radius, const double shell_thickness, const int num_trees, const int num_layers, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_cubed_spherical_shell(inner_radius, shell_thickness, num_trees, num_layers, comm) - @ccall libt8.t8_cmesh_new_cubed_spherical_shell(inner_radius::Cdouble, shell_thickness::Cdouble, num_trees::Cint, num_layers::Cint, comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_cubed_spherical_shell(inner_radius, shell_thickness, num_trees, + num_layers, comm) + @ccall libt8.t8_cmesh_new_cubed_spherical_shell(inner_radius::Cdouble, + shell_thickness::Cdouble, + num_trees::Cint, num_layers::Cint, + comm::MPI_Comm)::t8_cmesh_t end """ @@ -12250,7 +12757,8 @@ size_t t8_cmesh_get_tree_geom_hash (t8_cmesh_t cmesh, t8_gloidx_t gtreeid); ``` """ function t8_cmesh_get_tree_geom_hash(cmesh, gtreeid) - @ccall libt8.t8_cmesh_get_tree_geom_hash(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::Csize_t + @ccall libt8.t8_cmesh_get_tree_geom_hash(cmesh::t8_cmesh_t, + gtreeid::t8_gloidx_t)::Csize_t end """ @@ -12278,8 +12786,13 @@ Sets the face connectivity information of an un-committed based on a list of tr void t8_cmesh_set_join_by_vertices (t8_cmesh_t cmesh, const t8_gloidx_t ntrees, const t8_eclass_t *eclasses, const double *vertices, int **connectivity, const int do_both_directions); ``` """ -function t8_cmesh_set_join_by_vertices(cmesh, ntrees, eclasses, vertices, connectivity, do_both_directions) - @ccall libt8.t8_cmesh_set_join_by_vertices(cmesh::t8_cmesh_t, ntrees::t8_gloidx_t, eclasses::Ptr{t8_eclass_t}, vertices::Ptr{Cdouble}, connectivity::Ptr{Ptr{Cint}}, do_both_directions::Cint)::Cvoid +function t8_cmesh_set_join_by_vertices(cmesh, ntrees, eclasses, vertices, connectivity, + do_both_directions) + @ccall libt8.t8_cmesh_set_join_by_vertices(cmesh::t8_cmesh_t, ntrees::t8_gloidx_t, + eclasses::Ptr{t8_eclass_t}, + vertices::Ptr{Cdouble}, + connectivity::Ptr{Ptr{Cint}}, + do_both_directions::Cint)::Cvoid end """ @@ -12305,7 +12818,8 @@ void t8_cmesh_set_join_by_stash (t8_cmesh_t cmesh, int **connectivity, const int ``` """ function t8_cmesh_set_join_by_stash(cmesh, connectivity, do_both_directions) - @ccall libt8.t8_cmesh_set_join_by_stash(cmesh::t8_cmesh_t, connectivity::Ptr{Ptr{Cint}}, do_both_directions::Cint)::Cvoid + @ccall libt8.t8_cmesh_set_join_by_stash(cmesh::t8_cmesh_t, connectivity::Ptr{Ptr{Cint}}, + do_both_directions::Cint)::Cvoid end """ @@ -12343,7 +12857,8 @@ t8_gloidx_t t8_offset_first_tree_to_entry (const t8_gloidx_t first_tree, const i ``` """ function t8_offset_first_tree_to_entry(first_tree, shared) - @ccall libt8.t8_offset_first_tree_to_entry(first_tree::t8_gloidx_t, shared::Cint)::t8_gloidx_t + @ccall libt8.t8_offset_first_tree_to_entry(first_tree::t8_gloidx_t, + shared::Cint)::t8_gloidx_t end """ @@ -12420,7 +12935,8 @@ int t8_offset_next_nonempty_rank (const int rank, const int mpisize, const t8_gl ``` """ function t8_offset_next_nonempty_rank(rank, mpisize, offset) - @ccall libt8.t8_offset_next_nonempty_rank(rank::Cint, mpisize::Cint, offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_next_nonempty_rank(rank::Cint, mpisize::Cint, + offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12440,7 +12956,8 @@ int t8_offset_in_range (const t8_gloidx_t tree_id, const int proc, const t8_gloi ``` """ function t8_offset_in_range(tree_id, proc, offset) - @ccall libt8.t8_offset_in_range(tree_id::t8_gloidx_t, proc::Cint, offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_in_range(tree_id::t8_gloidx_t, proc::Cint, + offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12460,7 +12977,8 @@ int t8_offset_any_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, con ``` """ function t8_offset_any_owner_of_tree(mpisize, gtree, offset) - @ccall libt8.t8_offset_any_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_any_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12481,7 +12999,9 @@ int t8_offset_any_owner_of_tree_ext (const int mpisize, const int start_proc, co ``` """ function t8_offset_any_owner_of_tree_ext(mpisize, start_proc, gtree, offset) - @ccall libt8.t8_offset_any_owner_of_tree_ext(mpisize::Cint, start_proc::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_any_owner_of_tree_ext(mpisize::Cint, start_proc::Cint, + gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12502,7 +13022,9 @@ int t8_offset_first_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, c ``` """ function t8_offset_first_owner_of_tree(mpisize, gtree, offset, some_owner) - @ccall libt8.t8_offset_first_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, some_owner::Ptr{Cint})::Cint + @ccall libt8.t8_offset_first_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t}, + some_owner::Ptr{Cint})::Cint end """ @@ -12523,7 +13045,9 @@ int t8_offset_last_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, co ``` """ function t8_offset_last_owner_of_tree(mpisize, gtree, offset, some_owner) - @ccall libt8.t8_offset_last_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, some_owner::Ptr{Cint})::Cint + @ccall libt8.t8_offset_last_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t}, + some_owner::Ptr{Cint})::Cint end """ @@ -12544,7 +13068,9 @@ int t8_offset_next_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, co ``` """ function t8_offset_next_owner_of_tree(mpisize, gtree, offset, current_owner) - @ccall libt8.t8_offset_next_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, current_owner::Cint)::Cint + @ccall libt8.t8_offset_next_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t}, + current_owner::Cint)::Cint end """ @@ -12565,7 +13091,9 @@ int t8_offset_prev_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, co ``` """ function t8_offset_prev_owner_of_tree(mpisize, gtree, offset, current_owner) - @ccall libt8.t8_offset_prev_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, current_owner::Cint)::Cint + @ccall libt8.t8_offset_prev_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t}, + current_owner::Cint)::Cint end """ @@ -12584,7 +13112,9 @@ void t8_offset_all_owners_of_tree (const int mpisize, const t8_gloidx_t gtree, c ``` """ function t8_offset_all_owners_of_tree(mpisize, gtree, offset, owners) - @ccall libt8.t8_offset_all_owners_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, owners::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_offset_all_owners_of_tree(mpisize::Cint, gtree::t8_gloidx_t, + offset::Ptr{t8_gloidx_t}, + owners::Ptr{sc_array_t})::Cvoid end """ @@ -12605,7 +13135,8 @@ int t8_offset_nosend (int proc, int mpisize, const t8_gloidx_t *offset_from, con ``` """ function t8_offset_nosend(proc, mpisize, offset_from, offset_to) - @ccall libt8.t8_offset_nosend(proc::Cint, mpisize::Cint, offset_from::Ptr{t8_gloidx_t}, offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_nosend(proc::Cint, mpisize::Cint, offset_from::Ptr{t8_gloidx_t}, + offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -12626,7 +13157,9 @@ int t8_offset_sendsto (int proca, int procb, const t8_gloidx_t *t8_offset_from, ``` """ function t8_offset_sendsto(proca, procb, t8_offset_from, t8_offset_to) - @ccall libt8.t8_offset_sendsto(proca::Cint, procb::Cint, t8_offset_from::Ptr{t8_gloidx_t}, t8_offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_sendsto(proca::Cint, procb::Cint, + t8_offset_from::Ptr{t8_gloidx_t}, + t8_offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -12648,7 +13181,9 @@ int t8_offset_sendstree (int proc_send, int proc_to, t8_gloidx_t gtree, const t8 ``` """ function t8_offset_sendstree(proc_send, proc_to, gtree, offset_from, offset_to) - @ccall libt8.t8_offset_sendstree(proc_send::Cint, proc_to::Cint, gtree::t8_gloidx_t, offset_from::Ptr{t8_gloidx_t}, offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_sendstree(proc_send::Cint, proc_to::Cint, gtree::t8_gloidx_t, + offset_from::Ptr{t8_gloidx_t}, + offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -12670,7 +13205,9 @@ int t8_offset_range_send (int start, int end, int mpirank, const t8_gloidx_t *of ``` """ function t8_offset_range_send(start, _end, mpirank, offset_from, offset_to) - @ccall libt8.t8_offset_range_send(start::Cint, _end::Cint, mpirank::Cint, offset_from::Ptr{t8_gloidx_t}, offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_range_send(start::Cint, _end::Cint, mpirank::Cint, + offset_from::Ptr{t8_gloidx_t}, + offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -12730,7 +13267,8 @@ void t8_cmesh_gather_treecount_nocommit (t8_cmesh_t cmesh, sc_MPI_Comm comm); ``` """ function t8_cmesh_gather_treecount_nocommit(cmesh, comm) - @ccall libt8.t8_cmesh_gather_treecount_nocommit(cmesh::t8_cmesh_t, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_cmesh_gather_treecount_nocommit(cmesh::t8_cmesh_t, + comm::MPI_Comm)::Cvoid end """ @@ -12754,7 +13292,8 @@ t8_shmem_array_t t8_cmesh_offset_concentrate (int proc, sc_MPI_Comm comm, t8_glo ``` """ function t8_cmesh_offset_concentrate(proc, comm, num_trees) - @ccall libt8.t8_cmesh_offset_concentrate(proc::Cint, comm::MPI_Comm, num_trees::t8_gloidx_t)::t8_shmem_array_t + @ccall libt8.t8_cmesh_offset_concentrate(proc::Cint, comm::MPI_Comm, + num_trees::t8_gloidx_t)::t8_shmem_array_t end """ @@ -12766,7 +13305,8 @@ t8_shmem_array_t t8_cmesh_offset_random (sc_MPI_Comm comm, t8_gloidx_t num_trees ``` """ function t8_cmesh_offset_random(comm, num_trees, shared, seed) - @ccall libt8.t8_cmesh_offset_random(comm::MPI_Comm, num_trees::t8_gloidx_t, shared::Cint, seed::Cuint)::t8_shmem_array_t + @ccall libt8.t8_cmesh_offset_random(comm::MPI_Comm, num_trees::t8_gloidx_t, + shared::Cint, seed::Cuint)::t8_shmem_array_t end """ @@ -12790,7 +13330,8 @@ t8_shmem_array_t t8_cmesh_offset_percent (t8_cmesh_t cmesh, sc_MPI_Comm comm, in ``` """ function t8_cmesh_offset_percent(cmesh, comm, percent) - @ccall libt8.t8_cmesh_offset_percent(cmesh::t8_cmesh_t, comm::MPI_Comm, percent::Cint)::t8_shmem_array_t + @ccall libt8.t8_cmesh_offset_percent(cmesh::t8_cmesh_t, comm::MPI_Comm, + percent::Cint)::t8_shmem_array_t end """ @@ -12911,7 +13452,8 @@ void t8_stash_add_class (t8_stash_t stash, t8_gloidx_t id, t8_eclass_t eclass); ``` """ function t8_stash_add_class(stash, id, eclass) - @ccall libt8.t8_stash_add_class(stash::t8_stash_t, id::t8_gloidx_t, eclass::t8_eclass_t)::Cvoid + @ccall libt8.t8_stash_add_class(stash::t8_stash_t, id::t8_gloidx_t, + eclass::t8_eclass_t)::Cvoid end """ @@ -12932,7 +13474,9 @@ void t8_stash_add_facejoin (t8_stash_t stash, t8_gloidx_t gid1, t8_gloidx_t gid2 ``` """ function t8_stash_add_facejoin(stash, gid1, gid2, face1, face2, orientation) - @ccall libt8.t8_stash_add_facejoin(stash::t8_stash_t, gid1::t8_gloidx_t, gid2::t8_gloidx_t, face1::Cint, face2::Cint, orientation::Cint)::Cvoid + @ccall libt8.t8_stash_add_facejoin(stash::t8_stash_t, gid1::t8_gloidx_t, + gid2::t8_gloidx_t, face1::Cint, face2::Cint, + orientation::Cint)::Cvoid end """ @@ -13005,7 +13549,9 @@ void t8_stash_add_attribute (t8_stash_t stash, t8_gloidx_t id, int package_id, i ``` """ function t8_stash_add_attribute(stash, id, package_id, key, size, attr, copy) - @ccall libt8.t8_stash_add_attribute(stash::t8_stash_t, id::t8_gloidx_t, package_id::Cint, key::Cint, size::Csize_t, attr::Ptr{Cvoid}, copy::Cint)::Cvoid + @ccall libt8.t8_stash_add_attribute(stash::t8_stash_t, id::t8_gloidx_t, + package_id::Cint, key::Cint, size::Csize_t, + attr::Ptr{Cvoid}, copy::Cint)::Cvoid end """ @@ -13062,7 +13608,8 @@ t8_gloidx_t t8_stash_get_attribute_tree_id (t8_stash_t stash, size_t index); ``` """ function t8_stash_get_attribute_tree_id(stash, index) - @ccall libt8.t8_stash_get_attribute_tree_id(stash::t8_stash_t, index::Csize_t)::t8_gloidx_t + @ccall libt8.t8_stash_get_attribute_tree_id(stash::t8_stash_t, + index::Csize_t)::t8_gloidx_t end """ @@ -13147,7 +13694,8 @@ t8_stash_t t8_stash_bcast (t8_stash_t stash, int root, sc_MPI_Comm comm, const s ``` """ function t8_stash_bcast(stash, root, comm, elem_counts) - @ccall libt8.t8_stash_bcast(stash::t8_stash_t, root::Cint, comm::MPI_Comm, elem_counts::Ptr{Csize_t})::t8_stash_t + @ccall libt8.t8_stash_bcast(stash::t8_stash_t, root::Cint, comm::MPI_Comm, + elem_counts::Ptr{Csize_t})::t8_stash_t end """ @@ -13221,7 +13769,8 @@ void t8_cmesh_trees_init (t8_cmesh_trees_t *ptrees, int num_procs, t8_locidx_t n ``` """ function t8_cmesh_trees_init(ptrees, num_procs, num_trees, num_ghosts) - @ccall libt8.t8_cmesh_trees_init(ptrees::Ptr{t8_cmesh_trees_t}, num_procs::Cint, num_trees::t8_locidx_t, num_ghosts::t8_locidx_t)::Cvoid + @ccall libt8.t8_cmesh_trees_init(ptrees::Ptr{t8_cmesh_trees_t}, num_procs::Cint, + num_trees::t8_locidx_t, num_ghosts::t8_locidx_t)::Cvoid end struct t8_part_tree @@ -13255,7 +13804,8 @@ t8_part_tree_t t8_cmesh_trees_get_part (const t8_cmesh_trees_t trees, const int ``` """ function t8_cmesh_trees_get_part(trees, proc) - @ccall libt8.t8_cmesh_trees_get_part(trees::t8_cmesh_trees_t, proc::Cint)::t8_part_tree_t + @ccall libt8.t8_cmesh_trees_get_part(trees::t8_cmesh_trees_t, + proc::Cint)::t8_part_tree_t end """ @@ -13276,8 +13826,12 @@ Allocate the first\\_tree array of a given tree\\_part in a tree struct with a g void t8_cmesh_trees_start_part (t8_cmesh_trees_t trees, int proc, t8_locidx_t lfirst_tree, t8_locidx_t num_trees, t8_locidx_t lfirst_ghost, t8_locidx_t num_ghosts, int alloc); ``` """ -function t8_cmesh_trees_start_part(trees, proc, lfirst_tree, num_trees, lfirst_ghost, num_ghosts, alloc) - @ccall libt8.t8_cmesh_trees_start_part(trees::t8_cmesh_trees_t, proc::Cint, lfirst_tree::t8_locidx_t, num_trees::t8_locidx_t, lfirst_ghost::t8_locidx_t, num_ghosts::t8_locidx_t, alloc::Cint)::Cvoid +function t8_cmesh_trees_start_part(trees, proc, lfirst_tree, num_trees, lfirst_ghost, + num_ghosts, alloc) + @ccall libt8.t8_cmesh_trees_start_part(trees::t8_cmesh_trees_t, proc::Cint, + lfirst_tree::t8_locidx_t, num_trees::t8_locidx_t, + lfirst_ghost::t8_locidx_t, + num_ghosts::t8_locidx_t, alloc::Cint)::Cvoid end """ @@ -13313,7 +13867,10 @@ void t8_cmesh_trees_copy_toproc (t8_cmesh_trees_t trees_dest, t8_cmesh_trees_t t ``` """ function t8_cmesh_trees_copy_toproc(trees_dest, trees_src, lnum_trees, lnum_ghosts) - @ccall libt8.t8_cmesh_trees_copy_toproc(trees_dest::t8_cmesh_trees_t, trees_src::t8_cmesh_trees_t, lnum_trees::t8_locidx_t, lnum_ghosts::t8_locidx_t)::Cvoid + @ccall libt8.t8_cmesh_trees_copy_toproc(trees_dest::t8_cmesh_trees_t, + trees_src::t8_cmesh_trees_t, + lnum_trees::t8_locidx_t, + lnum_ghosts::t8_locidx_t)::Cvoid end """ @@ -13332,7 +13889,9 @@ void t8_cmesh_trees_copy_part (t8_cmesh_trees_t trees_dest, int part_dest, t8_cm ``` """ function t8_cmesh_trees_copy_part(trees_dest, part_dest, trees_src, part_src) - @ccall libt8.t8_cmesh_trees_copy_part(trees_dest::t8_cmesh_trees_t, part_dest::Cint, trees_src::t8_cmesh_trees_t, part_src::Cint)::Cvoid + @ccall libt8.t8_cmesh_trees_copy_part(trees_dest::t8_cmesh_trees_t, part_dest::Cint, + trees_src::t8_cmesh_trees_t, + part_src::Cint)::Cvoid end """ @@ -13351,7 +13910,8 @@ void t8_cmesh_trees_add_tree (t8_cmesh_trees_t trees, t8_locidx_t ltree_id, int ``` """ function t8_cmesh_trees_add_tree(trees, ltree_id, proc, eclass) - @ccall libt8.t8_cmesh_trees_add_tree(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, proc::Cint, eclass::t8_eclass_t)::Cvoid + @ccall libt8.t8_cmesh_trees_add_tree(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, + proc::Cint, eclass::t8_eclass_t)::Cvoid end """ @@ -13371,8 +13931,12 @@ Add a ghost to a trees structure. void t8_cmesh_trees_add_ghost (t8_cmesh_trees_t trees, t8_locidx_t lghost_index, t8_gloidx_t gtree_id, int proc, t8_eclass_t eclass, t8_locidx_t num_local_trees); ``` """ -function t8_cmesh_trees_add_ghost(trees, lghost_index, gtree_id, proc, eclass, num_local_trees) - @ccall libt8.t8_cmesh_trees_add_ghost(trees::t8_cmesh_trees_t, lghost_index::t8_locidx_t, gtree_id::t8_gloidx_t, proc::Cint, eclass::t8_eclass_t, num_local_trees::t8_locidx_t)::Cvoid +function t8_cmesh_trees_add_ghost(trees, lghost_index, gtree_id, proc, eclass, + num_local_trees) + @ccall libt8.t8_cmesh_trees_add_ghost(trees::t8_cmesh_trees_t, + lghost_index::t8_locidx_t, gtree_id::t8_gloidx_t, + proc::Cint, eclass::t8_eclass_t, + num_local_trees::t8_locidx_t)::Cvoid end """ @@ -13389,7 +13953,8 @@ void t8_cmesh_trees_set_all_boundary (t8_cmesh_t cmesh, t8_cmesh_trees_t trees); ``` """ function t8_cmesh_trees_set_all_boundary(cmesh, trees) - @ccall libt8.t8_cmesh_trees_set_all_boundary(cmesh::t8_cmesh_t, trees::t8_cmesh_trees_t)::Cvoid + @ccall libt8.t8_cmesh_trees_set_all_boundary(cmesh::t8_cmesh_t, + trees::t8_cmesh_trees_t)::Cvoid end """ @@ -13400,8 +13965,13 @@ end void t8_cmesh_trees_get_part_data (t8_cmesh_trees_t trees, int proc, t8_locidx_t *first_tree, t8_locidx_t *num_trees, t8_locidx_t *first_ghost, t8_locidx_t *num_ghosts); ``` """ -function t8_cmesh_trees_get_part_data(trees, proc, first_tree, num_trees, first_ghost, num_ghosts) - @ccall libt8.t8_cmesh_trees_get_part_data(trees::t8_cmesh_trees_t, proc::Cint, first_tree::Ptr{t8_locidx_t}, num_trees::Ptr{t8_locidx_t}, first_ghost::Ptr{t8_locidx_t}, num_ghosts::Ptr{t8_locidx_t})::Cvoid +function t8_cmesh_trees_get_part_data(trees, proc, first_tree, num_trees, first_ghost, + num_ghosts) + @ccall libt8.t8_cmesh_trees_get_part_data(trees::t8_cmesh_trees_t, proc::Cint, + first_tree::Ptr{t8_locidx_t}, + num_trees::Ptr{t8_locidx_t}, + first_ghost::Ptr{t8_locidx_t}, + num_ghosts::Ptr{t8_locidx_t})::Cvoid end """ @@ -13420,7 +13990,8 @@ t8_ctree_t t8_cmesh_trees_get_tree (t8_cmesh_trees_t trees, t8_locidx_t ltree); ``` """ function t8_cmesh_trees_get_tree(trees, ltree) - @ccall libt8.t8_cmesh_trees_get_tree(trees::t8_cmesh_trees_t, ltree::t8_locidx_t)::t8_ctree_t + @ccall libt8.t8_cmesh_trees_get_tree(trees::t8_cmesh_trees_t, + ltree::t8_locidx_t)::t8_ctree_t end """ @@ -13441,7 +14012,9 @@ t8_ctree_t t8_cmesh_trees_get_tree_ext (t8_cmesh_trees_t trees, t8_locidx_t ltre ``` """ function t8_cmesh_trees_get_tree_ext(trees, ltree_id, face_neigh, ttf) - @ccall libt8.t8_cmesh_trees_get_tree_ext(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, face_neigh::Ptr{Ptr{t8_locidx_t}}, ttf::Ptr{Ptr{Int8}})::t8_ctree_t + @ccall libt8.t8_cmesh_trees_get_tree_ext(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, + face_neigh::Ptr{Ptr{t8_locidx_t}}, + ttf::Ptr{Ptr{Int8}})::t8_ctree_t end """ @@ -13462,7 +14035,8 @@ t8_locidx_t t8_cmesh_trees_get_face_info (t8_cmesh_trees_t trees, t8_locidx_t lt ``` """ function t8_cmesh_trees_get_face_info(trees, ltreeid, face, ttf) - @ccall libt8.t8_cmesh_trees_get_face_info(trees::t8_cmesh_trees_t, ltreeid::t8_locidx_t, face::Cint, ttf::Ptr{Int8})::t8_locidx_t + @ccall libt8.t8_cmesh_trees_get_face_info(trees::t8_cmesh_trees_t, ltreeid::t8_locidx_t, + face::Cint, ttf::Ptr{Int8})::t8_locidx_t end """ @@ -13501,7 +14075,8 @@ t8_locidx_t t8_cmesh_trees_get_face_neighbor_ext (const t8_ctree_t tree, const i ``` """ function t8_cmesh_trees_get_face_neighbor_ext(tree, face, ttf) - @ccall libt8.t8_cmesh_trees_get_face_neighbor_ext(tree::t8_ctree_t, face::Cint, ttf::Ptr{Int8})::t8_locidx_t + @ccall libt8.t8_cmesh_trees_get_face_neighbor_ext(tree::t8_ctree_t, face::Cint, + ttf::Ptr{Int8})::t8_locidx_t end """ @@ -13521,7 +14096,8 @@ t8_gloidx_t t8_cmesh_trees_get_ghost_face_neighbor_ext (const t8_cghost_t ghost, ``` """ function t8_cmesh_trees_get_ghost_face_neighbor_ext(ghost, face, ttf) - @ccall libt8.t8_cmesh_trees_get_ghost_face_neighbor_ext(ghost::t8_cghost_t, face::Cint, ttf::Ptr{Int8})::t8_gloidx_t + @ccall libt8.t8_cmesh_trees_get_ghost_face_neighbor_ext(ghost::t8_cghost_t, face::Cint, + ttf::Ptr{Int8})::t8_gloidx_t end """ @@ -13540,7 +14116,8 @@ t8_cghost_t t8_cmesh_trees_get_ghost (t8_cmesh_trees_t trees, t8_locidx_t lghost ``` """ function t8_cmesh_trees_get_ghost(trees, lghost) - @ccall libt8.t8_cmesh_trees_get_ghost(trees::t8_cmesh_trees_t, lghost::t8_locidx_t)::t8_cghost_t + @ccall libt8.t8_cmesh_trees_get_ghost(trees::t8_cmesh_trees_t, + lghost::t8_locidx_t)::t8_cghost_t end """ @@ -13561,7 +14138,10 @@ t8_cghost_t t8_cmesh_trees_get_ghost_ext (t8_cmesh_trees_t trees, t8_locidx_t lg ``` """ function t8_cmesh_trees_get_ghost_ext(trees, lghost_id, face_neigh, ttf) - @ccall libt8.t8_cmesh_trees_get_ghost_ext(trees::t8_cmesh_trees_t, lghost_id::t8_locidx_t, face_neigh::Ptr{Ptr{t8_gloidx_t}}, ttf::Ptr{Ptr{Int8}})::t8_cghost_t + @ccall libt8.t8_cmesh_trees_get_ghost_ext(trees::t8_cmesh_trees_t, + lghost_id::t8_locidx_t, + face_neigh::Ptr{Ptr{t8_gloidx_t}}, + ttf::Ptr{Ptr{Int8}})::t8_cghost_t end """ @@ -13580,7 +14160,8 @@ t8_locidx_t t8_cmesh_trees_get_ghost_local_id (t8_cmesh_trees_t trees, t8_gloidx ``` """ function t8_cmesh_trees_get_ghost_local_id(trees, global_id) - @ccall libt8.t8_cmesh_trees_get_ghost_local_id(trees::t8_cmesh_trees_t, global_id::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_cmesh_trees_get_ghost_local_id(trees::t8_cmesh_trees_t, + global_id::t8_gloidx_t)::t8_locidx_t end """ @@ -13611,7 +14192,10 @@ void t8_cmesh_trees_init_attributes (t8_cmesh_trees_t trees, t8_locidx_t ltree_i ``` """ function t8_cmesh_trees_init_attributes(trees, ltree_id, num_attributes, attr_bytes) - @ccall libt8.t8_cmesh_trees_init_attributes(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, num_attributes::Csize_t, attr_bytes::Csize_t)::Cvoid + @ccall libt8.t8_cmesh_trees_init_attributes(trees::t8_cmesh_trees_t, + ltree_id::t8_locidx_t, + num_attributes::Csize_t, + attr_bytes::Csize_t)::Cvoid end """ @@ -13634,7 +14218,10 @@ void * t8_cmesh_trees_get_attribute (const t8_cmesh_trees_t trees, const t8_loci ``` """ function t8_cmesh_trees_get_attribute(trees, ltree_id, package_id, key, size, is_ghost) - @ccall libt8.t8_cmesh_trees_get_attribute(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, package_id::Cint, key::Cint, size::Ptr{Csize_t}, is_ghost::Cint)::Ptr{Cvoid} + @ccall libt8.t8_cmesh_trees_get_attribute(trees::t8_cmesh_trees_t, + ltree_id::t8_locidx_t, package_id::Cint, + key::Cint, size::Ptr{Csize_t}, + is_ghost::Cint)::Ptr{Cvoid} end """ @@ -13682,7 +14269,9 @@ void t8_cmesh_trees_add_attribute (const t8_cmesh_trees_t trees, int proc, const ``` """ function t8_cmesh_trees_add_attribute(trees, proc, attr, tree_id, index) - @ccall libt8.t8_cmesh_trees_add_attribute(trees::t8_cmesh_trees_t, proc::Cint, attr::Ptr{t8_stash_attribute_struct_t}, tree_id::t8_locidx_t, index::Csize_t)::Cvoid + @ccall libt8.t8_cmesh_trees_add_attribute(trees::t8_cmesh_trees_t, proc::Cint, + attr::Ptr{t8_stash_attribute_struct_t}, + tree_id::t8_locidx_t, index::Csize_t)::Cvoid end """ @@ -13701,8 +14290,13 @@ Add the next ghost attribute from stash to the correct position in the char poin void t8_cmesh_trees_add_ghost_attribute (const t8_cmesh_trees_t trees, const t8_stash_attribute_struct_t *attr, t8_locidx_t local_ghost_id, t8_locidx_t ghosts_inserted, size_t index); ``` """ -function t8_cmesh_trees_add_ghost_attribute(trees, attr, local_ghost_id, ghosts_inserted, index) - @ccall libt8.t8_cmesh_trees_add_ghost_attribute(trees::t8_cmesh_trees_t, attr::Ptr{t8_stash_attribute_struct_t}, local_ghost_id::t8_locidx_t, ghosts_inserted::t8_locidx_t, index::Csize_t)::Cvoid +function t8_cmesh_trees_add_ghost_attribute(trees, attr, local_ghost_id, ghosts_inserted, + index) + @ccall libt8.t8_cmesh_trees_add_ghost_attribute(trees::t8_cmesh_trees_t, + attr::Ptr{t8_stash_attribute_struct_t}, + local_ghost_id::t8_locidx_t, + ghosts_inserted::t8_locidx_t, + index::Csize_t)::Cvoid end """ @@ -13740,7 +14334,8 @@ int8_t t8_cmesh_tree_to_face_encode (const int dimension, const t8_locidx_t face ``` """ function t8_cmesh_tree_to_face_encode(dimension, face, orientation) - @ccall libt8.t8_cmesh_tree_to_face_encode(dimension::Cint, face::t8_locidx_t, orientation::Cint)::Int8 + @ccall libt8.t8_cmesh_tree_to_face_encode(dimension::Cint, face::t8_locidx_t, + orientation::Cint)::Int8 end """ @@ -13763,7 +14358,9 @@ void t8_cmesh_tree_to_face_decode (const int dimension, const int8_t tree_to_fac ``` """ function t8_cmesh_tree_to_face_decode(dimension, tree_to_face, face, orientation) - @ccall libt8.t8_cmesh_tree_to_face_decode(dimension::Cint, tree_to_face::Int8, face::Ptr{Cint}, orientation::Ptr{Cint})::Cvoid + @ccall libt8.t8_cmesh_tree_to_face_decode(dimension::Cint, tree_to_face::Int8, + face::Ptr{Cint}, + orientation::Ptr{Cint})::Cvoid end """ @@ -13792,7 +14389,8 @@ void t8_cmesh_trees_bcast (t8_cmesh_t cmesh_in, int root, sc_MPI_Comm comm); ``` """ function t8_cmesh_trees_bcast(cmesh_in, root, comm) - @ccall libt8.t8_cmesh_trees_bcast(cmesh_in::t8_cmesh_t, root::Cint, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_cmesh_trees_bcast(cmesh_in::t8_cmesh_t, root::Cint, + comm::MPI_Comm)::Cvoid end """ @@ -13811,7 +14409,8 @@ int t8_cmesh_trees_is_face_consistent (t8_cmesh_t cmesh, t8_cmesh_trees_t trees) ``` """ function t8_cmesh_trees_is_face_consistent(cmesh, trees) - @ccall libt8.t8_cmesh_trees_is_face_consistent(cmesh::t8_cmesh_t, trees::t8_cmesh_trees_t)::Cint + @ccall libt8.t8_cmesh_trees_is_face_consistent(cmesh::t8_cmesh_t, + trees::t8_cmesh_trees_t)::Cint end """ @@ -13823,7 +14422,8 @@ int t8_cmesh_trees_is_equal (t8_cmesh_t cmesh, t8_cmesh_trees_t trees_a, t8_cmes ``` """ function t8_cmesh_trees_is_equal(cmesh, trees_a, trees_b) - @ccall libt8.t8_cmesh_trees_is_equal(cmesh::t8_cmesh_t, trees_a::t8_cmesh_trees_t, trees_b::t8_cmesh_trees_t)::Cint + @ccall libt8.t8_cmesh_trees_is_equal(cmesh::t8_cmesh_t, trees_a::t8_cmesh_trees_t, + trees_b::t8_cmesh_trees_t)::Cint end """ @@ -13922,7 +14522,8 @@ t8_element_array_t * t8_element_array_new_count (t8_eclass_scheme_c *scheme, siz ``` """ function t8_element_array_new_count(scheme, num_elements) - @ccall libt8.t8_element_array_new_count(scheme::Ptr{t8_eclass_scheme_c}, num_elements::Csize_t)::Ptr{t8_element_array_t} + @ccall libt8.t8_element_array_new_count(scheme::Ptr{t8_eclass_scheme_c}, + num_elements::Csize_t)::Ptr{t8_element_array_t} end """ @@ -13939,7 +14540,8 @@ void t8_element_array_init (t8_element_array_t *element_array, t8_eclass_scheme_ ``` """ function t8_element_array_init(element_array, scheme) - @ccall libt8.t8_element_array_init(element_array::Ptr{t8_element_array_t}, scheme::Ptr{t8_eclass_scheme_c})::Cvoid + @ccall libt8.t8_element_array_init(element_array::Ptr{t8_element_array_t}, + scheme::Ptr{t8_eclass_scheme_c})::Cvoid end """ @@ -13957,7 +14559,9 @@ void t8_element_array_init_size (t8_element_array_t *element_array, t8_eclass_sc ``` """ function t8_element_array_init_size(element_array, scheme, num_elements) - @ccall libt8.t8_element_array_init_size(element_array::Ptr{t8_element_array_t}, scheme::Ptr{t8_eclass_scheme_c}, num_elements::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_size(element_array::Ptr{t8_element_array_t}, + scheme::Ptr{t8_eclass_scheme_c}, + num_elements::Csize_t)::Cvoid end """ @@ -13976,7 +14580,9 @@ void t8_element_array_init_view (t8_element_array_t *view, t8_element_array_t *a ``` """ function t8_element_array_init_view(view, array, offset, length) - @ccall libt8.t8_element_array_init_view(view::Ptr{t8_element_array_t}, array::Ptr{t8_element_array_t}, offset::Csize_t, length::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_view(view::Ptr{t8_element_array_t}, + array::Ptr{t8_element_array_t}, offset::Csize_t, + length::Csize_t)::Cvoid end """ @@ -13995,7 +14601,10 @@ void t8_element_array_init_data (t8_element_array_t *view, t8_element_t *base, t ``` """ function t8_element_array_init_data(view, base, scheme, elem_count) - @ccall libt8.t8_element_array_init_data(view::Ptr{t8_element_array_t}, base::Ptr{t8_element_t}, scheme::Ptr{t8_eclass_scheme_c}, elem_count::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_data(view::Ptr{t8_element_array_t}, + base::Ptr{t8_element_t}, + scheme::Ptr{t8_eclass_scheme_c}, + elem_count::Csize_t)::Cvoid end """ @@ -14014,7 +14623,10 @@ void t8_element_array_init_copy (t8_element_array_t *element_array, t8_eclass_sc ``` """ function t8_element_array_init_copy(element_array, scheme, data, num_elements) - @ccall libt8.t8_element_array_init_copy(element_array::Ptr{t8_element_array_t}, scheme::Ptr{t8_eclass_scheme_c}, data::Ptr{t8_element_t}, num_elements::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_copy(element_array::Ptr{t8_element_array_t}, + scheme::Ptr{t8_eclass_scheme_c}, + data::Ptr{t8_element_t}, + num_elements::Csize_t)::Cvoid end """ @@ -14035,7 +14647,8 @@ void t8_element_array_resize (t8_element_array_t *element_array, size_t new_coun ``` """ function t8_element_array_resize(element_array, new_count) - @ccall libt8.t8_element_array_resize(element_array::Ptr{t8_element_array_t}, new_count::Csize_t)::Cvoid + @ccall libt8.t8_element_array_resize(element_array::Ptr{t8_element_array_t}, + new_count::Csize_t)::Cvoid end """ @@ -14052,7 +14665,8 @@ void t8_element_array_copy (t8_element_array_t *dest, const t8_element_array_t * ``` """ function t8_element_array_copy(dest, src) - @ccall libt8.t8_element_array_copy(dest::Ptr{t8_element_array_t}, src::Ptr{t8_element_array_t})::Cvoid + @ccall libt8.t8_element_array_copy(dest::Ptr{t8_element_array_t}, + src::Ptr{t8_element_array_t})::Cvoid end """ @@ -14089,7 +14703,8 @@ t8_element_t * t8_element_array_push_count (t8_element_array_t *element_array, s ``` """ function t8_element_array_push_count(element_array, count) - @ccall libt8.t8_element_array_push_count(element_array::Ptr{t8_element_array_t}, count::Csize_t)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_push_count(element_array::Ptr{t8_element_array_t}, + count::Csize_t)::Ptr{t8_element_t} end """ @@ -14108,7 +14723,8 @@ const t8_element_t * t8_element_array_index_locidx (const t8_element_array_t *el ``` """ function t8_element_array_index_locidx(element_array, index) - @ccall libt8.t8_element_array_index_locidx(element_array::Ptr{t8_element_array_t}, index::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_locidx(element_array::Ptr{t8_element_array_t}, + index::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -14127,7 +14743,8 @@ const t8_element_t * t8_element_array_index_int (const t8_element_array_t *eleme ``` """ function t8_element_array_index_int(element_array, index) - @ccall libt8.t8_element_array_index_int(element_array::Ptr{t8_element_array_t}, index::Cint)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_int(element_array::Ptr{t8_element_array_t}, + index::Cint)::Ptr{t8_element_t} end """ @@ -14146,7 +14763,8 @@ t8_element_t * t8_element_array_index_locidx_mutable (t8_element_array_t *elemen ``` """ function t8_element_array_index_locidx_mutable(element_array, index) - @ccall libt8.t8_element_array_index_locidx_mutable(element_array::Ptr{t8_element_array_t}, index::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_locidx_mutable(element_array::Ptr{t8_element_array_t}, + index::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -14165,7 +14783,8 @@ t8_element_t * t8_element_array_index_int_mutable (t8_element_array_t *element_a ``` """ function t8_element_array_index_int_mutable(element_array, index) - @ccall libt8.t8_element_array_index_int_mutable(element_array::Ptr{t8_element_array_t}, index::Cint)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_int_mutable(element_array::Ptr{t8_element_array_t}, + index::Cint)::Ptr{t8_element_t} end """ @@ -14387,7 +15006,8 @@ void t8_shmem_array_init (t8_shmem_array_t *parray, size_t elem_size, size_t ele ``` """ function t8_shmem_array_init(parray, elem_size, elem_count, comm) - @ccall libt8.t8_shmem_array_init(parray::Ptr{t8_shmem_array_t}, elem_size::Csize_t, elem_count::Csize_t, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_shmem_array_init(parray::Ptr{t8_shmem_array_t}, elem_size::Csize_t, + elem_count::Csize_t, comm::MPI_Comm)::Cvoid end """ @@ -14450,7 +15070,8 @@ void t8_shmem_array_set_gloidx (t8_shmem_array_t array, int index, t8_gloidx_t v ``` """ function t8_shmem_array_set_gloidx(array, index, value) - @ccall libt8.t8_shmem_array_set_gloidx(array::t8_shmem_array_t, index::Cint, value::t8_gloidx_t)::Cvoid + @ccall libt8.t8_shmem_array_set_gloidx(array::t8_shmem_array_t, index::Cint, + value::t8_gloidx_t)::Cvoid end """ @@ -14475,7 +15096,8 @@ void t8_shmem_array_copy (t8_shmem_array_t dest, t8_shmem_array_t source); ``` """ function t8_shmem_array_copy(dest, source) - @ccall libt8.t8_shmem_array_copy(dest::t8_shmem_array_t, source::t8_shmem_array_t)::Cvoid + @ccall libt8.t8_shmem_array_copy(dest::t8_shmem_array_t, + source::t8_shmem_array_t)::Cvoid end """ @@ -14486,8 +15108,11 @@ end void t8_shmem_array_allgather (const void *sendbuf, int sendcount, sc_MPI_Datatype sendtype, t8_shmem_array_t recvarray, int recvcount, sc_MPI_Datatype recvtype); ``` """ -function t8_shmem_array_allgather(sendbuf, sendcount, sendtype, recvarray, recvcount, recvtype) - @ccall libt8.t8_shmem_array_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, recvarray::t8_shmem_array_t, recvcount::Cint, recvtype::Cint)::Cvoid +function t8_shmem_array_allgather(sendbuf, sendcount, sendtype, recvarray, recvcount, + recvtype) + @ccall libt8.t8_shmem_array_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, + sendtype::Cint, recvarray::t8_shmem_array_t, + recvcount::Cint, recvtype::Cint)::Cvoid end """ @@ -14499,7 +15124,9 @@ void t8_shmem_array_allgatherv (void *sendbuf, const int sendcount, sc_MPI_Datat ``` """ function t8_shmem_array_allgatherv(sendbuf, sendcount, sendtype, recvarray, recvtype, comm) - @ccall libt8.t8_shmem_array_allgatherv(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, recvarray::t8_shmem_array_t, recvtype::Cint, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_shmem_array_allgatherv(sendbuf::Ptr{Cvoid}, sendcount::Cint, + sendtype::Cint, recvarray::t8_shmem_array_t, + recvtype::Cint, comm::MPI_Comm)::Cvoid end """ @@ -14511,7 +15138,9 @@ void t8_shmem_array_prefix (const void *sendbuf, t8_shmem_array_t recvarray, con ``` """ function t8_shmem_array_prefix(sendbuf, recvarray, count, type, op, comm) - @ccall libt8.t8_shmem_array_prefix(sendbuf::Ptr{Cvoid}, recvarray::t8_shmem_array_t, count::Cint, type::Cint, op::Cint, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_shmem_array_prefix(sendbuf::Ptr{Cvoid}, recvarray::t8_shmem_array_t, + count::Cint, type::Cint, op::Cint, + comm::MPI_Comm)::Cvoid end """ @@ -14622,7 +15251,8 @@ t8_gloidx_t t8_shmem_array_get_gloidx (t8_shmem_array_t array, int index); ``` """ function t8_shmem_array_get_gloidx(array, index) - @ccall libt8.t8_shmem_array_get_gloidx(array::t8_shmem_array_t, index::Cint)::t8_gloidx_t + @ccall libt8.t8_shmem_array_get_gloidx(array::t8_shmem_array_t, + index::Cint)::t8_gloidx_t end """ @@ -14698,7 +15328,8 @@ void * t8_shmem_array_index_for_writing (t8_shmem_array_t array, size_t index); ``` """ function t8_shmem_array_index_for_writing(array, index) - @ccall libt8.t8_shmem_array_index_for_writing(array::t8_shmem_array_t, index::Csize_t)::Ptr{Cvoid} + @ccall libt8.t8_shmem_array_index_for_writing(array::t8_shmem_array_t, + index::Csize_t)::Ptr{Cvoid} end """ @@ -14710,7 +15341,8 @@ int t8_shmem_array_is_equal (t8_shmem_array_t array_a, t8_shmem_array_t array_b) ``` """ function t8_shmem_array_is_equal(array_a, array_b) - @ccall libt8.t8_shmem_array_is_equal(array_a::t8_shmem_array_t, array_b::t8_shmem_array_t)::Cint + @ccall libt8.t8_shmem_array_is_equal(array_a::t8_shmem_array_t, + array_b::t8_shmem_array_t)::Cint end """ @@ -14966,7 +15598,8 @@ void t8_forest_set_cmesh (t8_forest_t forest, t8_cmesh_t cmesh, sc_MPI_Comm comm ``` """ function t8_forest_set_cmesh(forest, cmesh, comm) - @ccall libt8.t8_forest_set_cmesh(forest::t8_forest_t, cmesh::t8_cmesh_t, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_forest_set_cmesh(forest::t8_forest_t, cmesh::t8_cmesh_t, + comm::MPI_Comm)::Cvoid end """ @@ -14983,7 +15616,8 @@ void t8_forest_set_scheme (t8_forest_t forest, t8_scheme_cxx_t *scheme); ``` """ function t8_forest_set_scheme(forest, scheme) - @ccall libt8.t8_forest_set_scheme(forest::t8_forest_t, scheme::Ptr{t8_scheme_cxx_t})::Cvoid + @ccall libt8.t8_forest_set_scheme(forest::t8_forest_t, + scheme::Ptr{t8_scheme_cxx_t})::Cvoid end """ @@ -15052,7 +15686,8 @@ void t8_forest_set_adapt (t8_forest_t forest, const t8_forest_t set_from, t8_for ``` """ function t8_forest_set_adapt(forest, set_from, adapt_fn, recursive) - @ccall libt8.t8_forest_set_adapt(forest::t8_forest_t, set_from::t8_forest_t, adapt_fn::t8_forest_adapt_t, recursive::Cint)::Cvoid + @ccall libt8.t8_forest_set_adapt(forest::t8_forest_t, set_from::t8_forest_t, + adapt_fn::t8_forest_adapt_t, recursive::Cint)::Cvoid end """ @@ -15117,7 +15752,8 @@ void t8_forest_set_user_function (t8_forest_t forest, t8_generic_function_pointe ``` """ function t8_forest_set_user_function(forest, _function) - @ccall libt8.t8_forest_set_user_function(forest::t8_forest_t, _function::t8_generic_function_pointer)::Cvoid + @ccall libt8.t8_forest_set_user_function(forest::t8_forest_t, + _function::t8_generic_function_pointer)::Cvoid end """ @@ -15164,7 +15800,8 @@ void t8_forest_set_partition (t8_forest_t forest, const t8_forest_t set_from, in ``` """ function t8_forest_set_partition(forest, set_from, set_for_coarsening) - @ccall libt8.t8_forest_set_partition(forest::t8_forest_t, set_from::t8_forest_t, set_for_coarsening::Cint)::Cvoid + @ccall libt8.t8_forest_set_partition(forest::t8_forest_t, set_from::t8_forest_t, + set_for_coarsening::Cint)::Cvoid end """ @@ -15190,7 +15827,8 @@ void t8_forest_set_balance (t8_forest_t forest, const t8_forest_t set_from, int ``` """ function t8_forest_set_balance(forest, set_from, no_repartition) - @ccall libt8.t8_forest_set_balance(forest::t8_forest_t, set_from::t8_forest_t, no_repartition::Cint)::Cvoid + @ccall libt8.t8_forest_set_balance(forest::t8_forest_t, set_from::t8_forest_t, + no_repartition::Cint)::Cvoid end """ @@ -15208,7 +15846,8 @@ void t8_forest_set_ghost (t8_forest_t forest, int do_ghost, t8_ghost_type_t ghos ``` """ function t8_forest_set_ghost(forest, do_ghost, ghost_type) - @ccall libt8.t8_forest_set_ghost(forest::t8_forest_t, do_ghost::Cint, ghost_type::t8_ghost_type_t)::Cvoid + @ccall libt8.t8_forest_set_ghost(forest::t8_forest_t, do_ghost::Cint, + ghost_type::t8_ghost_type_t)::Cvoid end """ @@ -15227,7 +15866,9 @@ void t8_forest_set_ghost_ext (t8_forest_t forest, int do_ghost, t8_ghost_type_t ``` """ function t8_forest_set_ghost_ext(forest, do_ghost, ghost_type, ghost_version) - @ccall libt8.t8_forest_set_ghost_ext(forest::t8_forest_t, do_ghost::Cint, ghost_type::t8_ghost_type_t, ghost_version::Cint)::Cvoid + @ccall libt8.t8_forest_set_ghost_ext(forest::t8_forest_t, do_ghost::Cint, + ghost_type::t8_ghost_type_t, + ghost_version::Cint)::Cvoid end """ @@ -15365,7 +16006,8 @@ t8_eclass_t t8_forest_get_eclass (const t8_forest_t forest, const t8_locidx_t lt ``` """ function t8_forest_get_eclass(forest, ltreeid) - @ccall libt8.t8_forest_get_eclass(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_forest_get_eclass(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_eclass_t end """ @@ -15406,7 +16048,8 @@ t8_locidx_t t8_forest_get_local_id (const t8_forest_t forest, const t8_gloidx_t ``` """ function t8_forest_get_local_id(forest, gtreeid) - @ccall libt8.t8_forest_get_local_id(forest::t8_forest_t, gtreeid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_local_id(forest::t8_forest_t, + gtreeid::t8_gloidx_t)::t8_locidx_t end """ @@ -15428,7 +16071,8 @@ t8_locidx_t t8_forest_get_local_or_ghost_id (const t8_forest_t forest, const t8_ ``` """ function t8_forest_get_local_or_ghost_id(forest, gtreeid) - @ccall libt8.t8_forest_get_local_or_ghost_id(forest::t8_forest_t, gtreeid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_local_or_ghost_id(forest::t8_forest_t, + gtreeid::t8_gloidx_t)::t8_locidx_t end """ @@ -15454,7 +16098,8 @@ t8_locidx_t t8_forest_ltreeid_to_cmesh_ltreeid (t8_forest_t forest, t8_locidx_t ``` """ function t8_forest_ltreeid_to_cmesh_ltreeid(forest, ltreeid) - @ccall libt8.t8_forest_ltreeid_to_cmesh_ltreeid(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ltreeid_to_cmesh_ltreeid(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -15480,7 +16125,8 @@ t8_locidx_t t8_forest_cmesh_ltreeid_to_ltreeid (t8_forest_t forest, t8_locidx_t ``` """ function t8_forest_cmesh_ltreeid_to_ltreeid(forest, lctreeid) - @ccall libt8.t8_forest_cmesh_ltreeid_to_ltreeid(forest::t8_forest_t, lctreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_cmesh_ltreeid_to_ltreeid(forest::t8_forest_t, + lctreeid::t8_locidx_t)::t8_locidx_t end """ @@ -15499,7 +16145,8 @@ t8_ctree_t t8_forest_get_coarse_tree (t8_forest_t forest, t8_locidx_t ltreeid); ``` """ function t8_forest_get_coarse_tree(forest, ltreeid) - @ccall libt8.t8_forest_get_coarse_tree(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_ctree_t + @ccall libt8.t8_forest_get_coarse_tree(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_ctree_t end """ @@ -15527,7 +16174,8 @@ int t8_forest_element_is_leaf (const t8_forest_t forest, const t8_element_t *ele ``` """ function t8_forest_element_is_leaf(forest, element, local_tree) - @ccall libt8.t8_forest_element_is_leaf(forest::t8_forest_t, element::Ptr{t8_element_t}, local_tree::t8_locidx_t)::Cint + @ccall libt8.t8_forest_element_is_leaf(forest::t8_forest_t, element::Ptr{t8_element_t}, + local_tree::t8_locidx_t)::Cint end """ @@ -15551,7 +16199,9 @@ int t8_forest_leaf_face_orientation (t8_forest_t forest, const t8_locidx_t ltree ``` """ function t8_forest_leaf_face_orientation(forest, ltreeid, ts, leaf, face) - @ccall libt8.t8_forest_leaf_face_orientation(forest::t8_forest_t, ltreeid::t8_locidx_t, ts::Ptr{t8_eclass_scheme_c}, leaf::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_forest_leaf_face_orientation(forest::t8_forest_t, ltreeid::t8_locidx_t, + ts::Ptr{t8_eclass_scheme_c}, + leaf::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -15593,8 +16243,17 @@ if (num\\_neighbors > 0) { eclass\\_scheme->[`t8_element_destroy`](@ref) (num\\_ void t8_forest_leaf_face_neighbors (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *leaf, t8_element_t **pneighbor_leaves[], int face, int *dual_faces[], int *num_neighbors, t8_locidx_t **pelement_indices, t8_eclass_scheme_c **pneigh_scheme, int forest_is_balanced); ``` """ -function t8_forest_leaf_face_neighbors(forest, ltreeid, leaf, pneighbor_leaves, face, dual_faces, num_neighbors, pelement_indices, pneigh_scheme, forest_is_balanced) - @ccall libt8.t8_forest_leaf_face_neighbors(forest::t8_forest_t, ltreeid::t8_locidx_t, leaf::Ptr{t8_element_t}, pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, face::Cint, dual_faces::Ptr{Ptr{Cint}}, num_neighbors::Ptr{Cint}, pelement_indices::Ptr{Ptr{t8_locidx_t}}, pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, forest_is_balanced::Cint)::Cvoid +function t8_forest_leaf_face_neighbors(forest, ltreeid, leaf, pneighbor_leaves, face, + dual_faces, num_neighbors, pelement_indices, + pneigh_scheme, forest_is_balanced) + @ccall libt8.t8_forest_leaf_face_neighbors(forest::t8_forest_t, ltreeid::t8_locidx_t, + leaf::Ptr{t8_element_t}, + pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, + face::Cint, dual_faces::Ptr{Ptr{Cint}}, + num_neighbors::Ptr{Cint}, + pelement_indices::Ptr{Ptr{t8_locidx_t}}, + pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, + forest_is_balanced::Cint)::Cvoid end """ @@ -15638,8 +16297,21 @@ if (num\\_neighbors > 0) { eclass\\_scheme->[`t8_element_destroy`](@ref) (num\\_ void t8_forest_leaf_face_neighbors_ext (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *leaf, t8_element_t **pneighbor_leaves[], int face, int *dual_faces[], int *num_neighbors, t8_locidx_t **pelement_indices, t8_eclass_scheme_c **pneigh_scheme, int forest_is_balanced, t8_gloidx_t *gneigh_tree, int *orientation); ``` """ -function t8_forest_leaf_face_neighbors_ext(forest, ltreeid, leaf, pneighbor_leaves, face, dual_faces, num_neighbors, pelement_indices, pneigh_scheme, forest_is_balanced, gneigh_tree, orientation) - @ccall libt8.t8_forest_leaf_face_neighbors_ext(forest::t8_forest_t, ltreeid::t8_locidx_t, leaf::Ptr{t8_element_t}, pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, face::Cint, dual_faces::Ptr{Ptr{Cint}}, num_neighbors::Ptr{Cint}, pelement_indices::Ptr{Ptr{t8_locidx_t}}, pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, forest_is_balanced::Cint, gneigh_tree::Ptr{t8_gloidx_t}, orientation::Ptr{Cint})::Cvoid +function t8_forest_leaf_face_neighbors_ext(forest, ltreeid, leaf, pneighbor_leaves, face, + dual_faces, num_neighbors, pelement_indices, + pneigh_scheme, forest_is_balanced, gneigh_tree, + orientation) + @ccall libt8.t8_forest_leaf_face_neighbors_ext(forest::t8_forest_t, + ltreeid::t8_locidx_t, + leaf::Ptr{t8_element_t}, + pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, + face::Cint, dual_faces::Ptr{Ptr{Cint}}, + num_neighbors::Ptr{Cint}, + pelement_indices::Ptr{Ptr{t8_locidx_t}}, + pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, + forest_is_balanced::Cint, + gneigh_tree::Ptr{t8_gloidx_t}, + orientation::Ptr{Cint})::Cvoid end """ @@ -15660,7 +16332,8 @@ void t8_forest_ghost_exchange_data (t8_forest_t forest, sc_array_t *element_data ``` """ function t8_forest_ghost_exchange_data(forest, element_data) - @ccall libt8.t8_forest_ghost_exchange_data(forest::t8_forest_t, element_data::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_forest_ghost_exchange_data(forest::t8_forest_t, + element_data::Ptr{sc_array_t})::Cvoid end """ @@ -15686,7 +16359,8 @@ void t8_forest_partition_cmesh (t8_forest_t forest, sc_MPI_Comm comm, int set_pr ``` """ function t8_forest_partition_cmesh(forest, comm, set_profiling) - @ccall libt8.t8_forest_partition_cmesh(forest::t8_forest_t, comm::MPI_Comm, set_profiling::Cint)::Cvoid + @ccall libt8.t8_forest_partition_cmesh(forest::t8_forest_t, comm::MPI_Comm, + set_profiling::Cint)::Cvoid end """ @@ -15792,7 +16466,8 @@ t8_gloidx_t t8_forest_global_tree_id (const t8_forest_t forest, const t8_locidx_ ``` """ function t8_forest_global_tree_id(forest, ltreeid) - @ccall libt8.t8_forest_global_tree_id(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_forest_global_tree_id(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_gloidx_t end """ @@ -15830,7 +16505,8 @@ double * t8_forest_get_tree_vertices (t8_forest_t forest, t8_locidx_t ltreeid); ``` """ function t8_forest_get_tree_vertices(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_vertices(forest::t8_forest_t, ltreeid::t8_locidx_t)::Ptr{Cdouble} + @ccall libt8.t8_forest_get_tree_vertices(forest::t8_forest_t, + ltreeid::t8_locidx_t)::Ptr{Cdouble} end """ @@ -15849,7 +16525,8 @@ t8_element_array_t * t8_forest_tree_get_leaves (const t8_forest_t forest, const ``` """ function t8_forest_tree_get_leaves(forest, ltree_id) - @ccall libt8.t8_forest_tree_get_leaves(forest::t8_forest_t, ltree_id::t8_locidx_t)::Ptr{t8_element_array_t} + @ccall libt8.t8_forest_tree_get_leaves(forest::t8_forest_t, + ltree_id::t8_locidx_t)::Ptr{t8_element_array_t} end """ @@ -15891,7 +16568,8 @@ t8_element_t * t8_forest_get_element (t8_forest_t forest, t8_locidx_t lelement_i ``` """ function t8_forest_get_element(forest, lelement_id, ltreeid) - @ccall libt8.t8_forest_get_element(forest::t8_forest_t, lelement_id::t8_locidx_t, ltreeid::Ptr{t8_locidx_t})::Ptr{t8_element_t} + @ccall libt8.t8_forest_get_element(forest::t8_forest_t, lelement_id::t8_locidx_t, + ltreeid::Ptr{t8_locidx_t})::Ptr{t8_element_t} end """ @@ -15915,7 +16593,8 @@ const t8_element_t * t8_forest_get_element_in_tree (t8_forest_t forest, t8_locid ``` """ function t8_forest_get_element_in_tree(forest, ltreeid, leid_in_tree) - @ccall libt8.t8_forest_get_element_in_tree(forest::t8_forest_t, ltreeid::t8_locidx_t, leid_in_tree::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_forest_get_element_in_tree(forest::t8_forest_t, ltreeid::t8_locidx_t, + leid_in_tree::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -15934,7 +16613,8 @@ t8_locidx_t t8_forest_get_tree_num_elements (t8_forest_t forest, t8_locidx_t ltr ``` """ function t8_forest_get_tree_num_elements(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_num_elements(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_tree_num_elements(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -15957,7 +16637,8 @@ t8_locidx_t t8_forest_get_tree_element_offset (const t8_forest_t forest, const t ``` """ function t8_forest_get_tree_element_offset(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_element_offset(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_tree_element_offset(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -15994,7 +16675,8 @@ t8_eclass_t t8_forest_get_tree_class (const t8_forest_t forest, const t8_locidx_ ``` """ function t8_forest_get_tree_class(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_class(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_forest_get_tree_class(forest::t8_forest_t, + ltreeid::t8_locidx_t)::t8_eclass_t end """ @@ -16059,7 +16741,8 @@ t8_eclass_scheme_c * t8_forest_get_eclass_scheme (t8_forest_t forest, t8_eclass_ ``` """ function t8_forest_get_eclass_scheme(forest, eclass) - @ccall libt8.t8_forest_get_eclass_scheme(forest::t8_forest_t, eclass::t8_eclass_t)::Ptr{t8_eclass_scheme_c} + @ccall libt8.t8_forest_get_eclass_scheme(forest::t8_forest_t, + eclass::t8_eclass_t)::Ptr{t8_eclass_scheme_c} end """ @@ -16080,7 +16763,10 @@ t8_eclass_t t8_forest_element_neighbor_eclass (t8_forest_t forest, t8_locidx_t l ``` """ function t8_forest_element_neighbor_eclass(forest, ltreeid, elem, face) - @ccall libt8.t8_forest_element_neighbor_eclass(forest::t8_forest_t, ltreeid::t8_locidx_t, elem::Ptr{t8_element_t}, face::Cint)::t8_eclass_t + @ccall libt8.t8_forest_element_neighbor_eclass(forest::t8_forest_t, + ltreeid::t8_locidx_t, + elem::Ptr{t8_element_t}, + face::Cint)::t8_eclass_t end """ @@ -16101,8 +16787,14 @@ The global tree-id of the tree in which *neigh* is in. -1 if there exists no nei t8_gloidx_t t8_forest_element_face_neighbor (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *elem, t8_element_t *neigh, t8_eclass_scheme_c *neigh_scheme, int face, int *neigh_face); ``` """ -function t8_forest_element_face_neighbor(forest, ltreeid, elem, neigh, neigh_scheme, face, neigh_face) - @ccall libt8.t8_forest_element_face_neighbor(forest::t8_forest_t, ltreeid::t8_locidx_t, elem::Ptr{t8_element_t}, neigh::Ptr{t8_element_t}, neigh_scheme::Ptr{t8_eclass_scheme_c}, face::Cint, neigh_face::Ptr{Cint})::t8_gloidx_t +function t8_forest_element_face_neighbor(forest, ltreeid, elem, neigh, neigh_scheme, face, + neigh_face) + @ccall libt8.t8_forest_element_face_neighbor(forest::t8_forest_t, ltreeid::t8_locidx_t, + elem::Ptr{t8_element_t}, + neigh::Ptr{t8_element_t}, + neigh_scheme::Ptr{t8_eclass_scheme_c}, + face::Cint, + neigh_face::Ptr{Cint})::t8_gloidx_t end """ @@ -16139,8 +16831,13 @@ Query whether a batch of points lies inside an element. For bilinearly interpola void t8_forest_element_points_inside (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *points, int num_points, int *is_inside, const double tolerance); ``` """ -function t8_forest_element_points_inside(forest, ltreeid, element, points, num_points, is_inside, tolerance) - @ccall libt8.t8_forest_element_points_inside(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, points::Ptr{Cdouble}, num_points::Cint, is_inside::Ptr{Cint}, tolerance::Cdouble)::Cvoid +function t8_forest_element_points_inside(forest, ltreeid, element, points, num_points, + is_inside, tolerance) + @ccall libt8.t8_forest_element_points_inside(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, + points::Ptr{Cdouble}, num_points::Cint, + is_inside::Ptr{Cint}, + tolerance::Cdouble)::Cvoid end """ @@ -16152,7 +16849,9 @@ t8_forest_t t8_forest_new_uniform (t8_cmesh_t cmesh, t8_scheme_cxx_t *scheme, co ``` """ function t8_forest_new_uniform(cmesh, scheme, level, do_face_ghost, comm) - @ccall libt8.t8_forest_new_uniform(cmesh::t8_cmesh_t, scheme::Ptr{t8_scheme_cxx_t}, level::Cint, do_face_ghost::Cint, comm::MPI_Comm)::t8_forest_t + @ccall libt8.t8_forest_new_uniform(cmesh::t8_cmesh_t, scheme::Ptr{t8_scheme_cxx_t}, + level::Cint, do_face_ghost::Cint, + comm::MPI_Comm)::t8_forest_t end """ @@ -16179,7 +16878,9 @@ t8_forest_t t8_forest_new_adapt (t8_forest_t forest_from, t8_forest_adapt_t adap ``` """ function t8_forest_new_adapt(forest_from, adapt_fn, recursive, do_face_ghost, user_data) - @ccall libt8.t8_forest_new_adapt(forest_from::t8_forest_t, adapt_fn::t8_forest_adapt_t, recursive::Cint, do_face_ghost::Cint, user_data::Ptr{Cvoid})::t8_forest_t + @ccall libt8.t8_forest_new_adapt(forest_from::t8_forest_t, adapt_fn::t8_forest_adapt_t, + recursive::Cint, do_face_ghost::Cint, + user_data::Ptr{Cvoid})::t8_forest_t end """ @@ -16235,7 +16936,10 @@ void t8_forest_element_coordinate (t8_forest_t forest, t8_locidx_t ltree_id, con ``` """ function t8_forest_element_coordinate(forest, ltree_id, element, corner_number, coordinates) - @ccall libt8.t8_forest_element_coordinate(forest::t8_forest_t, ltree_id::t8_locidx_t, element::Ptr{t8_element_t}, corner_number::Cint, coordinates::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_coordinate(forest::t8_forest_t, ltree_id::t8_locidx_t, + element::Ptr{t8_element_t}, + corner_number::Cint, + coordinates::Ptr{Cdouble})::Cvoid end """ @@ -16246,8 +16950,15 @@ end void t8_forest_element_from_ref_coords_ext (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *ref_coords, const size_t num_coords, double *coords_out, const double *stretch_factors); ``` """ -function t8_forest_element_from_ref_coords_ext(forest, ltreeid, element, ref_coords, num_coords, coords_out, stretch_factors) - @ccall libt8.t8_forest_element_from_ref_coords_ext(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, coords_out::Ptr{Cdouble}, stretch_factors::Ptr{Cdouble})::Cvoid +function t8_forest_element_from_ref_coords_ext(forest, ltreeid, element, ref_coords, + num_coords, coords_out, stretch_factors) + @ccall libt8.t8_forest_element_from_ref_coords_ext(forest::t8_forest_t, + ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, + ref_coords::Ptr{Cdouble}, + num_coords::Csize_t, + coords_out::Ptr{Cdouble}, + stretch_factors::Ptr{Cdouble})::Cvoid end """ @@ -16258,8 +16969,14 @@ end void t8_forest_element_from_ref_coords (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *ref_coords, const size_t num_coords, double *coords_out); ``` """ -function t8_forest_element_from_ref_coords(forest, ltreeid, element, ref_coords, num_coords, coords_out) - @ccall libt8.t8_forest_element_from_ref_coords(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, coords_out::Ptr{Cdouble})::Cvoid +function t8_forest_element_from_ref_coords(forest, ltreeid, element, ref_coords, num_coords, + coords_out) + @ccall libt8.t8_forest_element_from_ref_coords(forest::t8_forest_t, + ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, + ref_coords::Ptr{Cdouble}, + num_coords::Csize_t, + coords_out::Ptr{Cdouble})::Cvoid end """ @@ -16271,7 +16988,9 @@ void t8_forest_element_centroid (t8_forest_t forest, t8_locidx_t ltreeid, const ``` """ function t8_forest_element_centroid(forest, ltreeid, element, coordinates) - @ccall libt8.t8_forest_element_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, coordinates::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, + coordinates::Ptr{Cdouble})::Cvoid end """ @@ -16283,7 +17002,8 @@ double t8_forest_element_diam (t8_forest_t forest, t8_locidx_t ltreeid, const t8 ``` """ function t8_forest_element_diam(forest, ltreeid, element) - @ccall libt8.t8_forest_element_diam(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t})::Cdouble + @ccall libt8.t8_forest_element_diam(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t})::Cdouble end """ @@ -16295,7 +17015,8 @@ double t8_forest_element_volume (t8_forest_t forest, t8_locidx_t ltreeid, const ``` """ function t8_forest_element_volume(forest, ltreeid, element) - @ccall libt8.t8_forest_element_volume(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t})::Cdouble + @ccall libt8.t8_forest_element_volume(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t})::Cdouble end """ @@ -16307,7 +17028,9 @@ double t8_forest_element_face_area (t8_forest_t forest, t8_locidx_t ltreeid, con ``` """ function t8_forest_element_face_area(forest, ltreeid, element, face) - @ccall libt8.t8_forest_element_face_area(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint)::Cdouble + @ccall libt8.t8_forest_element_face_area(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, + face::Cint)::Cdouble end """ @@ -16319,7 +17042,9 @@ void t8_forest_element_face_centroid (t8_forest_t forest, t8_locidx_t ltreeid, c ``` """ function t8_forest_element_face_centroid(forest, ltreeid, element, face, centroid) - @ccall libt8.t8_forest_element_face_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint, centroid::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_face_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, face::Cint, + centroid::Ptr{Cdouble})::Cvoid end """ @@ -16331,7 +17056,9 @@ void t8_forest_element_face_normal (t8_forest_t forest, t8_locidx_t ltreeid, con ``` """ function t8_forest_element_face_normal(forest, ltreeid, element, face, normal) - @ccall libt8.t8_forest_element_face_normal(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint, normal::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_face_normal(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, face::Cint, + normal::Ptr{Cdouble})::Cvoid end """ @@ -16374,7 +17101,8 @@ void t8_forest_ghost_init (t8_forest_ghost_t *pghost, t8_ghost_type_t ghost_type ``` """ function t8_forest_ghost_init(pghost, ghost_type) - @ccall libt8.t8_forest_ghost_init(pghost::Ptr{t8_forest_ghost_t}, ghost_type::t8_ghost_type_t)::Cvoid + @ccall libt8.t8_forest_ghost_init(pghost::Ptr{t8_forest_ghost_t}, + ghost_type::t8_ghost_type_t)::Cvoid end """ @@ -16409,7 +17137,8 @@ t8_locidx_t t8_forest_ghost_get_tree_element_offset (t8_forest_t forest, t8_loci ``` """ function t8_forest_ghost_get_tree_element_offset(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_tree_element_offset(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ghost_get_tree_element_offset(forest::t8_forest_t, + lghost_tree::t8_locidx_t)::t8_locidx_t end """ @@ -16421,7 +17150,8 @@ t8_locidx_t t8_forest_ghost_tree_num_elements (t8_forest_t forest, t8_locidx_t l ``` """ function t8_forest_ghost_tree_num_elements(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_tree_num_elements(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ghost_tree_num_elements(forest::t8_forest_t, + lghost_tree::t8_locidx_t)::t8_locidx_t end """ @@ -16440,7 +17170,8 @@ t8_element_array_t * t8_forest_ghost_get_tree_elements (const t8_forest_t forest ``` """ function t8_forest_ghost_get_tree_elements(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_tree_elements(forest::t8_forest_t, lghost_tree::t8_locidx_t)::Ptr{t8_element_array_t} + @ccall libt8.t8_forest_ghost_get_tree_elements(forest::t8_forest_t, + lghost_tree::t8_locidx_t)::Ptr{t8_element_array_t} end """ @@ -16462,7 +17193,8 @@ t8_locidx_t t8_forest_ghost_get_ghost_treeid (t8_forest_t forest, t8_gloidx_t gt ``` """ function t8_forest_ghost_get_ghost_treeid(forest, gtreeid) - @ccall libt8.t8_forest_ghost_get_ghost_treeid(forest::t8_forest_t, gtreeid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ghost_get_ghost_treeid(forest::t8_forest_t, + gtreeid::t8_gloidx_t)::t8_locidx_t end """ @@ -16474,7 +17206,8 @@ t8_eclass_t t8_forest_ghost_get_tree_class (const t8_forest_t forest, const t8_l ``` """ function t8_forest_ghost_get_tree_class(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_tree_class(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_forest_ghost_get_tree_class(forest::t8_forest_t, + lghost_tree::t8_locidx_t)::t8_eclass_t end """ @@ -16496,7 +17229,8 @@ t8_gloidx_t t8_forest_ghost_get_global_treeid (const t8_forest_t forest, const t ``` """ function t8_forest_ghost_get_global_treeid(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_global_treeid(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_forest_ghost_get_global_treeid(forest::t8_forest_t, + lghost_tree::t8_locidx_t)::t8_gloidx_t end """ @@ -16508,7 +17242,8 @@ t8_element_t * t8_forest_ghost_get_element (t8_forest_t forest, t8_locidx_t lgho ``` """ function t8_forest_ghost_get_element(forest, lghost_tree, lelement) - @ccall libt8.t8_forest_ghost_get_element(forest::t8_forest_t, lghost_tree::t8_locidx_t, lelement::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_forest_ghost_get_element(forest::t8_forest_t, lghost_tree::t8_locidx_t, + lelement::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -16527,7 +17262,8 @@ int * t8_forest_ghost_get_remotes (t8_forest_t forest, int *num_remotes); ``` """ function t8_forest_ghost_get_remotes(forest, num_remotes) - @ccall libt8.t8_forest_ghost_get_remotes(forest::t8_forest_t, num_remotes::Ptr{Cint})::Ptr{Cint} + @ccall libt8.t8_forest_ghost_get_remotes(forest::t8_forest_t, + num_remotes::Ptr{Cint})::Ptr{Cint} end """ @@ -16546,7 +17282,8 @@ t8_locidx_t t8_forest_ghost_remote_first_tree (t8_forest_t forest, int remote); ``` """ function t8_forest_ghost_remote_first_tree(forest, remote) - @ccall libt8.t8_forest_ghost_remote_first_tree(forest::t8_forest_t, remote::Cint)::t8_locidx_t + @ccall libt8.t8_forest_ghost_remote_first_tree(forest::t8_forest_t, + remote::Cint)::t8_locidx_t end """ @@ -16565,7 +17302,8 @@ t8_locidx_t t8_forest_ghost_remote_first_elem (t8_forest_t forest, int remote); ``` """ function t8_forest_ghost_remote_first_elem(forest, remote) - @ccall libt8.t8_forest_ghost_remote_first_elem(forest::t8_forest_t, remote::Cint)::t8_locidx_t + @ccall libt8.t8_forest_ghost_remote_first_elem(forest::t8_forest_t, + remote::Cint)::t8_locidx_t end """ @@ -16687,8 +17425,15 @@ end int t8_forest_write_vtk_ext (t8_forest_t forest, const char *fileprefix, const int write_treeid, const int write_mpirank, const int write_level, const int write_element_id, const int write_ghosts, const int write_curved, int do_not_use_API, const int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_forest_write_vtk_ext(forest, fileprefix, write_treeid, write_mpirank, write_level, write_element_id, write_ghosts, write_curved, do_not_use_API, num_data, data) - @ccall libt8.t8_forest_write_vtk_ext(forest::t8_forest_t, fileprefix::Cstring, write_treeid::Cint, write_mpirank::Cint, write_level::Cint, write_element_id::Cint, write_ghosts::Cint, write_curved::Cint, do_not_use_API::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint +function t8_forest_write_vtk_ext(forest, fileprefix, write_treeid, write_mpirank, + write_level, write_element_id, write_ghosts, write_curved, + do_not_use_API, num_data, data) + @ccall libt8.t8_forest_write_vtk_ext(forest::t8_forest_t, fileprefix::Cstring, + write_treeid::Cint, write_mpirank::Cint, + write_level::Cint, write_element_id::Cint, + write_ghosts::Cint, write_curved::Cint, + do_not_use_API::Cint, num_data::Cint, + data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -16749,7 +17494,9 @@ void t8_forest_split_array (const t8_element_t *element, t8_element_array_t *lea ``` """ function t8_forest_split_array(element, leaf_elements, offsets) - @ccall libt8.t8_forest_split_array(element::Ptr{t8_element_t}, leaf_elements::Ptr{t8_element_array_t}, offsets::Ptr{Csize_t})::Cvoid + @ccall libt8.t8_forest_split_array(element::Ptr{t8_element_t}, + leaf_elements::Ptr{t8_element_array_t}, + offsets::Ptr{Csize_t})::Cvoid end """ @@ -16760,8 +17507,14 @@ end void t8_forest_iterate_faces (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face, t8_element_array_t *leaf_elements, void *user_data, t8_locidx_t tree_lindex_of_first_leaf, t8_forest_iterate_face_fn callback); ``` """ -function t8_forest_iterate_faces(forest, ltreeid, element, face, leaf_elements, user_data, tree_lindex_of_first_leaf, callback) - @ccall libt8.t8_forest_iterate_faces(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint, leaf_elements::Ptr{t8_element_array_t}, user_data::Ptr{Cvoid}, tree_lindex_of_first_leaf::t8_locidx_t, callback::t8_forest_iterate_face_fn)::Cvoid +function t8_forest_iterate_faces(forest, ltreeid, element, face, leaf_elements, user_data, + tree_lindex_of_first_leaf, callback) + @ccall libt8.t8_forest_iterate_faces(forest::t8_forest_t, ltreeid::t8_locidx_t, + element::Ptr{t8_element_t}, face::Cint, + leaf_elements::Ptr{t8_element_array_t}, + user_data::Ptr{Cvoid}, + tree_lindex_of_first_leaf::t8_locidx_t, + callback::t8_forest_iterate_face_fn)::Cvoid end """ @@ -16773,7 +17526,9 @@ void t8_forest_search (t8_forest_t forest, t8_forest_search_fn search_fn, t8_for ``` """ function t8_forest_search(forest, search_fn, query_fn, queries) - @ccall libt8.t8_forest_search(forest::t8_forest_t, search_fn::t8_forest_search_fn, query_fn::t8_forest_query_fn, queries::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_forest_search(forest::t8_forest_t, search_fn::t8_forest_search_fn, + query_fn::t8_forest_query_fn, + queries::Ptr{sc_array_t})::Cvoid end """ @@ -16795,7 +17550,8 @@ void t8_forest_iterate_replace (t8_forest_t forest_new, t8_forest_t forest_old, ``` """ function t8_forest_iterate_replace(forest_new, forest_old, replace_fn) - @ccall libt8.t8_forest_iterate_replace(forest_new::t8_forest_t, forest_old::t8_forest_t, replace_fn::t8_forest_replace_t)::Cvoid + @ccall libt8.t8_forest_iterate_replace(forest_new::t8_forest_t, forest_old::t8_forest_t, + replace_fn::t8_forest_replace_t)::Cvoid end """ @@ -16842,7 +17598,8 @@ int t8_forest_partition_next_nonempty_rank (t8_forest_t forest, int rank); ``` """ function t8_forest_partition_next_nonempty_rank(forest, rank) - @ccall libt8.t8_forest_partition_next_nonempty_rank(forest::t8_forest_t, rank::Cint)::Cint + @ccall libt8.t8_forest_partition_next_nonempty_rank(forest::t8_forest_t, + rank::Cint)::Cint end """ @@ -16897,7 +17654,9 @@ void t8_forest_partition_data (t8_forest_t forest_from, t8_forest_t forest_to, c ``` """ function t8_forest_partition_data(forest_from, forest_to, data_in, data_out) - @ccall libt8.t8_forest_partition_data(forest_from::t8_forest_t, forest_to::t8_forest_t, data_in::Ptr{sc_array_t}, data_out::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_forest_partition_data(forest_from::t8_forest_t, forest_to::t8_forest_t, + data_in::Ptr{sc_array_t}, + data_out::Ptr{sc_array_t})::Cvoid end """ @@ -17049,7 +17808,8 @@ double t8_forest_profile_get_partition_time (t8_forest_t forest, int *procs_sent ``` """ function t8_forest_profile_get_partition_time(forest, procs_sent) - @ccall libt8.t8_forest_profile_get_partition_time(forest::t8_forest_t, procs_sent::Ptr{Cint})::Cdouble + @ccall libt8.t8_forest_profile_get_partition_time(forest::t8_forest_t, + procs_sent::Ptr{Cint})::Cdouble end """ @@ -17061,7 +17821,8 @@ double t8_forest_profile_get_balance_time (t8_forest_t forest, int *balance_roun ``` """ function t8_forest_profile_get_balance_time(forest, balance_rounds) - @ccall libt8.t8_forest_profile_get_balance_time(forest::t8_forest_t, balance_rounds::Ptr{Cint})::Cdouble + @ccall libt8.t8_forest_profile_get_balance_time(forest::t8_forest_t, + balance_rounds::Ptr{Cint})::Cdouble end """ @@ -17073,7 +17834,8 @@ double t8_forest_profile_get_ghost_time (t8_forest_t forest, t8_locidx_t *ghosts ``` """ function t8_forest_profile_get_ghost_time(forest, ghosts_sent) - @ccall libt8.t8_forest_profile_get_ghost_time(forest::t8_forest_t, ghosts_sent::Ptr{Cint})::Cdouble + @ccall libt8.t8_forest_profile_get_ghost_time(forest::t8_forest_t, + ghosts_sent::Ptr{Cint})::Cdouble end """ @@ -17187,7 +17949,9 @@ void t8_geometry_evaluate (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double * ``` """ function t8_geometry_evaluate(cmesh, gtreeid, ref_coords, num_coords, out_coords) - @ccall libt8.t8_geometry_evaluate(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, out_coords::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geometry_evaluate(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, + ref_coords::Ptr{Cdouble}, num_coords::Csize_t, + out_coords::Ptr{Cdouble})::Cvoid end """ @@ -17207,7 +17971,9 @@ void t8_geometry_jacobian (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double * ``` """ function t8_geometry_jacobian(cmesh, gtreeid, ref_coords, num_coords, jacobian) - @ccall libt8.t8_geometry_jacobian(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, jacobian::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geometry_jacobian(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, + ref_coords::Ptr{Cdouble}, num_coords::Csize_t, + jacobian::Ptr{Cdouble})::Cvoid end """ @@ -17226,7 +17992,8 @@ t8_geometry_type_t t8_geometry_get_type (t8_cmesh_t cmesh, t8_gloidx_t gtreeid); ``` """ function t8_geometry_get_type(cmesh, gtreeid) - @ccall libt8.t8_geometry_get_type(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::t8_geometry_type_t + @ccall libt8.t8_geometry_get_type(cmesh::t8_cmesh_t, + gtreeid::t8_gloidx_t)::t8_geometry_type_t end """ @@ -17245,7 +18012,8 @@ int t8_geometry_tree_negative_volume (const t8_cmesh_t cmesh, const t8_gloidx_t ``` """ function t8_geometry_tree_negative_volume(cmesh, gtreeid) - @ccall libt8.t8_geometry_tree_negative_volume(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::Cint + @ccall libt8.t8_geometry_tree_negative_volume(cmesh::t8_cmesh_t, + gtreeid::t8_gloidx_t)::Cint end """ @@ -17292,8 +18060,13 @@ end void t8_geom_compute_linear_geometry (t8_eclass_t tree_class, const double *tree_vertices, const double *ref_coords, const size_t num_coords, double *out_coords); ``` """ -function t8_geom_compute_linear_geometry(tree_class, tree_vertices, ref_coords, num_coords, out_coords) - @ccall libt8.t8_geom_compute_linear_geometry(tree_class::Cint, tree_vertices::Ptr{Cdouble}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, out_coords::Ptr{Cdouble})::Cvoid +function t8_geom_compute_linear_geometry(tree_class, tree_vertices, ref_coords, num_coords, + out_coords) + @ccall libt8.t8_geom_compute_linear_geometry(tree_class::Cint, + tree_vertices::Ptr{Cdouble}, + ref_coords::Ptr{Cdouble}, + num_coords::Csize_t, + out_coords::Ptr{Cdouble})::Cvoid end """ @@ -17304,8 +18077,13 @@ end void t8_geom_compute_linear_axis_aligned_geometry (t8_eclass_t tree_class, const double *tree_vertices, const double *ref_coords, const size_t num_coords, double *out_coords); ``` """ -function t8_geom_compute_linear_axis_aligned_geometry(tree_class, tree_vertices, ref_coords, num_coords, out_coords) - @ccall libt8.t8_geom_compute_linear_axis_aligned_geometry(tree_class::Cint, tree_vertices::Ptr{Cdouble}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, out_coords::Ptr{Cdouble})::Cvoid +function t8_geom_compute_linear_axis_aligned_geometry(tree_class, tree_vertices, ref_coords, + num_coords, out_coords) + @ccall libt8.t8_geom_compute_linear_axis_aligned_geometry(tree_class::Cint, + tree_vertices::Ptr{Cdouble}, + ref_coords::Ptr{Cdouble}, + num_coords::Csize_t, + out_coords::Ptr{Cdouble})::Cvoid end """ @@ -17324,8 +18102,13 @@ Interpolates linearly between 2, bilinearly between 4 or trilineraly between 8 p void t8_geom_linear_interpolation (const double *coefficients, const double *corner_values, int corner_value_dim, int interpolation_dim, double *evaluated_function); ``` """ -function t8_geom_linear_interpolation(coefficients, corner_values, corner_value_dim, interpolation_dim, evaluated_function) - @ccall libt8.t8_geom_linear_interpolation(coefficients::Ptr{Cdouble}, corner_values::Ptr{Cdouble}, corner_value_dim::Cint, interpolation_dim::Cint, evaluated_function::Ptr{Cdouble})::Cvoid +function t8_geom_linear_interpolation(coefficients, corner_values, corner_value_dim, + interpolation_dim, evaluated_function) + @ccall libt8.t8_geom_linear_interpolation(coefficients::Ptr{Cdouble}, + corner_values::Ptr{Cdouble}, + corner_value_dim::Cint, + interpolation_dim::Cint, + evaluated_function::Ptr{Cdouble})::Cvoid end """ @@ -17344,8 +18127,13 @@ Triangular interpolation between 3 points (triangle) or 4 points (tetrahedron) u void t8_geom_triangular_interpolation (const double *coefficients, const double *corner_values, int corner_value_dim, int interpolation_dim, double *evaluated_function); ``` """ -function t8_geom_triangular_interpolation(coefficients, corner_values, corner_value_dim, interpolation_dim, evaluated_function) - @ccall libt8.t8_geom_triangular_interpolation(coefficients::Ptr{Cdouble}, corner_values::Ptr{Cdouble}, corner_value_dim::Cint, interpolation_dim::Cint, evaluated_function::Ptr{Cdouble})::Cvoid +function t8_geom_triangular_interpolation(coefficients, corner_values, corner_value_dim, + interpolation_dim, evaluated_function) + @ccall libt8.t8_geom_triangular_interpolation(coefficients::Ptr{Cdouble}, + corner_values::Ptr{Cdouble}, + corner_value_dim::Cint, + interpolation_dim::Cint, + evaluated_function::Ptr{Cdouble})::Cvoid end """ @@ -17356,8 +18144,11 @@ end void t8_geom_get_face_vertices (t8_eclass_t tree_class, const double *tree_vertices, int face_index, int dim, double *face_vertices); ``` """ -function t8_geom_get_face_vertices(tree_class, tree_vertices, face_index, dim, face_vertices) - @ccall libt8.t8_geom_get_face_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, face_index::Cint, dim::Cint, face_vertices::Ptr{Cdouble})::Cvoid +function t8_geom_get_face_vertices(tree_class, tree_vertices, face_index, dim, + face_vertices) + @ccall libt8.t8_geom_get_face_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, + face_index::Cint, dim::Cint, + face_vertices::Ptr{Cdouble})::Cvoid end """ @@ -17368,8 +18159,11 @@ end void t8_geom_get_edge_vertices (t8_eclass_t tree_class, const double *tree_vertices, int edge_index, int dim, double *edge_vertices); ``` """ -function t8_geom_get_edge_vertices(tree_class, tree_vertices, edge_index, dim, edge_vertices) - @ccall libt8.t8_geom_get_edge_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, edge_index::Cint, dim::Cint, edge_vertices::Ptr{Cdouble})::Cvoid +function t8_geom_get_edge_vertices(tree_class, tree_vertices, edge_index, dim, + edge_vertices) + @ccall libt8.t8_geom_get_edge_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, + edge_index::Cint, dim::Cint, + edge_vertices::Ptr{Cdouble})::Cvoid end """ @@ -17387,7 +18181,8 @@ void t8_geom_get_ref_intersection (int edge_index, const double *ref_coords, dou ``` """ function t8_geom_get_ref_intersection(edge_index, ref_coords, ref_intersection) - @ccall libt8.t8_geom_get_ref_intersection(edge_index::Cint, ref_coords::Ptr{Cdouble}, ref_intersection::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geom_get_ref_intersection(edge_index::Cint, ref_coords::Ptr{Cdouble}, + ref_intersection::Ptr{Cdouble})::Cvoid end """ @@ -17405,8 +18200,12 @@ Calculates the scaling factor for edge displacement along a triangular tree face double t8_geom_get_triangle_scaling_factor (int edge_index, const double *tree_vertices, const double *glob_intersection, const double *glob_ref_point); ``` """ -function t8_geom_get_triangle_scaling_factor(edge_index, tree_vertices, glob_intersection, glob_ref_point) - @ccall libt8.t8_geom_get_triangle_scaling_factor(edge_index::Cint, tree_vertices::Ptr{Cdouble}, glob_intersection::Ptr{Cdouble}, glob_ref_point::Ptr{Cdouble})::Cdouble +function t8_geom_get_triangle_scaling_factor(edge_index, tree_vertices, glob_intersection, + glob_ref_point) + @ccall libt8.t8_geom_get_triangle_scaling_factor(edge_index::Cint, + tree_vertices::Ptr{Cdouble}, + glob_intersection::Ptr{Cdouble}, + glob_ref_point::Ptr{Cdouble})::Cdouble end """ @@ -17426,7 +18225,9 @@ double t8_geom_get_scaling_factor_of_edge_on_face_tet (int edge_index, int face_ ``` """ function t8_geom_get_scaling_factor_of_edge_on_face_tet(edge_index, face_index, ref_coords) - @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_tet(edge_index::Cint, face_index::Cint, ref_coords::Ptr{Cdouble})::Cdouble + @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_tet(edge_index::Cint, + face_index::Cint, + ref_coords::Ptr{Cdouble})::Cdouble end """ @@ -17444,7 +18245,9 @@ void t8_geom_get_tet_face_intersection (const int face_index, const double *ref_ ``` """ function t8_geom_get_tet_face_intersection(face_index, ref_coords, face_intersection) - @ccall libt8.t8_geom_get_tet_face_intersection(face_index::Cint, ref_coords::Ptr{Cdouble}, face_intersection::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geom_get_tet_face_intersection(face_index::Cint, + ref_coords::Ptr{Cdouble}, + face_intersection::Ptr{Cdouble})::Cvoid end """ @@ -17463,8 +18266,11 @@ The scaling factor of the edge displacement on the face at the point of the refe double t8_geom_get_scaling_factor_of_edge_on_face_prism (int edge_index, int face_index, const double *ref_coords); ``` """ -function t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index, face_index, ref_coords) - @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index::Cint, face_index::Cint, ref_coords::Ptr{Cdouble})::Cdouble +function t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index, face_index, + ref_coords) + @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index::Cint, + face_index::Cint, + ref_coords::Ptr{Cdouble})::Cdouble end """ @@ -17483,7 +18289,8 @@ double t8_geom_get_scaling_factor_face_through_volume_prism (const int face, con ``` """ function t8_geom_get_scaling_factor_face_through_volume_prism(face, ref_coords) - @ccall libt8.t8_geom_get_scaling_factor_face_through_volume_prism(face::Cint, ref_coords::Ptr{Cdouble})::Cdouble + @ccall libt8.t8_geom_get_scaling_factor_face_through_volume_prism(face::Cint, + ref_coords::Ptr{Cdouble})::Cdouble end """ @@ -17503,7 +18310,8 @@ int t8_vertex_point_inside (const double vertex_coords[3], const double point[3] ``` """ function t8_vertex_point_inside(vertex_coords, point, tolerance) - @ccall libt8.t8_vertex_point_inside(vertex_coords::Ptr{Cdouble}, point::Ptr{Cdouble}, tolerance::Cdouble)::Cint + @ccall libt8.t8_vertex_point_inside(vertex_coords::Ptr{Cdouble}, point::Ptr{Cdouble}, + tolerance::Cdouble)::Cint end """ @@ -17524,7 +18332,8 @@ int t8_line_point_inside (const double *p_0, const double *vec, const double *po ``` """ function t8_line_point_inside(p_0, vec, point, tolerance) - @ccall libt8.t8_line_point_inside(p_0::Ptr{Cdouble}, vec::Ptr{Cdouble}, point::Ptr{Cdouble}, tolerance::Cdouble)::Cint + @ccall libt8.t8_line_point_inside(p_0::Ptr{Cdouble}, vec::Ptr{Cdouble}, + point::Ptr{Cdouble}, tolerance::Cdouble)::Cint end """ @@ -17546,7 +18355,9 @@ int t8_triangle_point_inside (const double p_0[3], const double v[3], const doub ``` """ function t8_triangle_point_inside(p_0, v, w, point, tolerance) - @ccall libt8.t8_triangle_point_inside(p_0::Ptr{Cdouble}, v::Ptr{Cdouble}, w::Ptr{Cdouble}, point::Ptr{Cdouble}, tolerance::Cdouble)::Cint + @ccall libt8.t8_triangle_point_inside(p_0::Ptr{Cdouble}, v::Ptr{Cdouble}, + w::Ptr{Cdouble}, point::Ptr{Cdouble}, + tolerance::Cdouble)::Cint end """ @@ -17566,7 +18377,8 @@ int t8_plane_point_inside (const double point_on_face[3], const double face_norm ``` """ function t8_plane_point_inside(point_on_face, face_normal, point) - @ccall libt8.t8_plane_point_inside(point_on_face::Ptr{Cdouble}, face_normal::Ptr{Cdouble}, point::Ptr{Cdouble})::Cint + @ccall libt8.t8_plane_point_inside(point_on_face::Ptr{Cdouble}, + face_normal::Ptr{Cdouble}, point::Ptr{Cdouble})::Cint end """ @@ -17585,7 +18397,9 @@ void t8_cmesh_set_tree_vertices (t8_cmesh_t cmesh, const t8_gloidx_t gtree_id, c ``` """ function t8_cmesh_set_tree_vertices(cmesh, gtree_id, vertices, num_vertices) - @ccall libt8.t8_cmesh_set_tree_vertices(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, vertices::Ptr{Cdouble}, num_vertices::Cint)::Cvoid + @ccall libt8.t8_cmesh_set_tree_vertices(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, + vertices::Ptr{Cdouble}, + num_vertices::Cint)::Cvoid end """ @@ -17641,8 +18455,15 @@ True if successful, false if not (process local). int t8_forest_vtk_write_file_via_API (t8_forest_t forest, const char *fileprefix, const int write_treeid, const int write_mpirank, const int write_level, const int write_element_id, const int curved_flag, const int write_ghosts, const int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_forest_vtk_write_file_via_API(forest, fileprefix, write_treeid, write_mpirank, write_level, write_element_id, curved_flag, write_ghosts, num_data, data) - @ccall libt8.t8_forest_vtk_write_file_via_API(forest::t8_forest_t, fileprefix::Cstring, write_treeid::Cint, write_mpirank::Cint, write_level::Cint, write_element_id::Cint, curved_flag::Cint, write_ghosts::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint +function t8_forest_vtk_write_file_via_API(forest, fileprefix, write_treeid, write_mpirank, + write_level, write_element_id, curved_flag, + write_ghosts, num_data, data) + @ccall libt8.t8_forest_vtk_write_file_via_API(forest::t8_forest_t, fileprefix::Cstring, + write_treeid::Cint, write_mpirank::Cint, + write_level::Cint, write_element_id::Cint, + curved_flag::Cint, write_ghosts::Cint, + num_data::Cint, + data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -17667,8 +18488,14 @@ True if successful, false if not (process local). int t8_forest_vtk_write_file (t8_forest_t forest, const char *fileprefix, const int write_treeid, const int write_mpirank, const int write_level, const int write_element_id, int write_ghosts, const int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_forest_vtk_write_file(forest, fileprefix, write_treeid, write_mpirank, write_level, write_element_id, write_ghosts, num_data, data) - @ccall libt8.t8_forest_vtk_write_file(forest::t8_forest_t, fileprefix::Cstring, write_treeid::Cint, write_mpirank::Cint, write_level::Cint, write_element_id::Cint, write_ghosts::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint +function t8_forest_vtk_write_file(forest, fileprefix, write_treeid, write_mpirank, + write_level, write_element_id, write_ghosts, num_data, + data) + @ccall libt8.t8_forest_vtk_write_file(forest::t8_forest_t, fileprefix::Cstring, + write_treeid::Cint, write_mpirank::Cint, + write_level::Cint, write_element_id::Cint, + write_ghosts::Cint, num_data::Cint, + data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -17680,7 +18507,8 @@ int t8_cmesh_vtk_write_file_via_API (t8_cmesh_t cmesh, const char *fileprefix, s ``` """ function t8_cmesh_vtk_write_file_via_API(cmesh, fileprefix, comm) - @ccall libt8.t8_cmesh_vtk_write_file_via_API(cmesh::t8_cmesh_t, fileprefix::Cstring, comm::MPI_Comm)::Cint + @ccall libt8.t8_cmesh_vtk_write_file_via_API(cmesh::t8_cmesh_t, fileprefix::Cstring, + comm::MPI_Comm)::Cint end """ @@ -17831,8 +18659,14 @@ end t8_geometry_c * t8_geometry_analytic_new (const char *name, t8_geom_analytic_fn analytical, t8_geom_analytic_jacobian_fn jacobian, t8_geom_load_tree_data_fn load_tree_data, t8_geom_tree_negative_volume_fn tree_negative_volume, t8_geom_tree_compatible_fn tree_compatible, const void *user_data); ``` """ -function t8_geometry_analytic_new(name, analytical, jacobian, load_tree_data, tree_negative_volume, tree_compatible, user_data) - @ccall libt8.t8_geometry_analytic_new(name::Cstring, analytical::t8_geom_analytic_fn, jacobian::t8_geom_analytic_jacobian_fn, load_tree_data::t8_geom_load_tree_data_fn, tree_negative_volume::t8_geom_tree_negative_volume_fn, tree_compatible::t8_geom_tree_compatible_fn, user_data::Ptr{Cvoid})::Ptr{Cint} +function t8_geometry_analytic_new(name, analytical, jacobian, load_tree_data, + tree_negative_volume, tree_compatible, user_data) + @ccall libt8.t8_geometry_analytic_new(name::Cstring, analytical::t8_geom_analytic_fn, + jacobian::t8_geom_analytic_jacobian_fn, + load_tree_data::t8_geom_load_tree_data_fn, + tree_negative_volume::t8_geom_tree_negative_volume_fn, + tree_compatible::t8_geom_tree_compatible_fn, + user_data::Ptr{Cvoid})::Ptr{Cint} end """ @@ -17844,7 +18678,8 @@ void t8_geom_load_tree_data_vertices (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, con ``` """ function t8_geom_load_tree_data_vertices(cmesh, gtreeid, user_data) - @ccall libt8.t8_geom_load_tree_data_vertices(cmesh::t8_cmesh_t, gtreeid::Cint, user_data::Ptr{Ptr{Cvoid}})::Cvoid + @ccall libt8.t8_geom_load_tree_data_vertices(cmesh::t8_cmesh_t, gtreeid::Cint, + user_data::Ptr{Ptr{Cvoid}})::Cvoid end """ @@ -18215,30 +19050,6 @@ const SC_VERSION_MAJOR = 0 const SC_VERSION_MINOR = 0 - - - - - - - - - - - - - - - - - - - - - - - - const sc_MPI_COMM_WORLD = MPI.COMM_WORLD const sc_MPI_COMM_SELF = MPI.COMM_SELF @@ -18273,7 +19084,6 @@ const sc_MPI_FLOAT = MPI.FLOAT const sc_MPI_DOUBLE = MPI.DOUBLE - const sc_MPI_Comm = MPI.Comm const sc_MPI_Group = MPI.Group @@ -18282,37 +19092,10 @@ const sc_MPI_Datatype = MPI.Datatype const sc_MPI_Info = MPI.Info - - - - - - - - - - - - - - - - - const sc_MPI_File = MPI.File const sc_MPI_FILE_NULL = MPI.FILE_NULL - - - - - - - - - - const SC_EPS = 2.220446049250313e-16 const SC_1000_EPS = 1000.0 * 2.220446049250313e-16 @@ -18345,8 +19128,6 @@ const SC_LP_SILENT = 9 const SC_LP_THRESHOLD = SC_LP_INFO - - const T8_MPI_LOCIDX = sc_MPI_INT const T8_LOCIDX_MAX = INT32_MAX @@ -18383,7 +19164,6 @@ const T8_ELEMENT_SHAPE_MAX_FACES = 6 const T8_ELEMENT_SHAPE_MAX_CORNERS = 8 - const T8_VTK_LOCIDX = "Int32" const T8_VTK_GLOIDX = "Int32" @@ -18456,7 +19236,6 @@ const P4EST_VERSION_MAJOR = 0 const P4EST_VERSION_MINOR = 0 - const p4est_qcoord_compare = sc_int32_compare const P4EST_QCOORD_BITS = 32 @@ -18465,7 +19244,6 @@ const P4EST_MPI_QCOORD = sc_MPI_INT const P4EST_VTK_QCOORD = "Int32" - const P4EST_QCOORD_MIN = INT32_MIN const P4EST_QCOORD_MAX = INT32_MAX @@ -18480,7 +19258,6 @@ const P4EST_MPI_TOPIDX = sc_MPI_INT const P4EST_VTK_TOPIDX = "Int32" - const P4EST_TOPIDX_MIN = INT32_MIN const P4EST_TOPIDX_MAX = INT32_MAX @@ -18497,7 +19274,6 @@ const P4EST_MPI_LOCIDX = sc_MPI_INT const P4EST_VTK_LOCIDX = "Int32" - const P4EST_LOCIDX_MIN = INT32_MIN const P4EST_LOCIDX_MAX = INT32_MAX @@ -18512,17 +19288,12 @@ const P4EST_MPI_GLOIDX = sc_MPI_LONG_LONG_INT const P4EST_VTK_GLOIDX = "Int64" - const P4EST_GLOIDX_MIN = INT64_MIN const P4EST_GLOIDX_MAX = INT64_MAX const P4EST_GLOIDX_1 = p4est_gloidx_t(1) - - - - const P4EST_DIM = 2 const P4EST_FACES = 2P4EST_DIM @@ -18567,11 +19338,13 @@ const T8_CMESH_CAD_EDGE_ATTRIBUTE_KEY = 2 const T8_CMESH_CAD_EDGE_PARAMETERS_ATTRIBUTE_KEY = 3 -const T8_CMESH_CAD_FACE_ATTRIBUTE_KEY = T8_CMESH_CAD_EDGE_PARAMETERS_ATTRIBUTE_KEY + T8_ECLASS_MAX_EDGES +const T8_CMESH_CAD_FACE_ATTRIBUTE_KEY = T8_CMESH_CAD_EDGE_PARAMETERS_ATTRIBUTE_KEY + + T8_ECLASS_MAX_EDGES const T8_CMESH_CAD_FACE_PARAMETERS_ATTRIBUTE_KEY = T8_CMESH_CAD_FACE_ATTRIBUTE_KEY + 1 -const T8_CMESH_LAGRANGE_POLY_DEGREE_KEY = T8_CMESH_CAD_FACE_PARAMETERS_ATTRIBUTE_KEY + T8_ECLASS_MAX_FACES +const T8_CMESH_LAGRANGE_POLY_DEGREE_KEY = T8_CMESH_CAD_FACE_PARAMETERS_ATTRIBUTE_KEY + + T8_ECLASS_MAX_FACES const T8_CMESH_NEXT_POSSIBLE_KEY = T8_CMESH_LAGRANGE_POLY_DEGREE_KEY + 1 @@ -18599,11 +19372,9 @@ const T8_FOREST_BALANCE_NO_REPART = 2 const T8_PROFILE_NUM_STATS = 14 - - # exports const PREFIXES = ["t8_", "T8_"] -for name in names(@__MODULE__; all=true), prefix in PREFIXES +for name in names(@__MODULE__; all = true), prefix in PREFIXES if startswith(string(name), prefix) @eval export $name end From 5a77ba394b9cb79e23de0c093c3c0a19f2eee6df Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Tue, 9 Dec 2025 16:34:51 +0100 Subject: [PATCH 3/5] try to fix number of threads to 1 --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57e0934..6c4bc39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,6 +45,9 @@ jobs: - os: windows-latest julia-arch: x86 + env: + JULIA_NUM_THREADS: 1 + steps: - uses: actions/checkout@v6 - uses: julia-actions/setup-julia@v2 From 6b2995772abaaa6212719bee0afa1aa879c30a4a Mon Sep 17 00:00:00 2001 From: Thomas Spenke Date: Wed, 10 Dec 2025 09:33:51 +0100 Subject: [PATCH 4/5] Removed JULIA_NUM_THREADS: 1 from github workflow --- .github/workflows/test.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c4bc39..57e0934 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,9 +45,6 @@ jobs: - os: windows-latest julia-arch: x86 - env: - JULIA_NUM_THREADS: 1 - steps: - uses: actions/checkout@v6 - uses: julia-actions/setup-julia@v2 From d4e6e6eab5c67462e817cbd6fbbac14dfbb54831 Mon Sep 17 00:00:00 2001 From: Thomas Spenke Date: Wed, 10 Dec 2025 09:56:57 +0100 Subject: [PATCH 5/5] Removed unrelated formatting changes --- dev/epilogue.jl | 1 - dev/generator.jl | 11 +- src/Libt8.jl | 1987 ++++++++++++++-------------------------------- 3 files changed, 614 insertions(+), 1385 deletions(-) diff --git a/dev/epilogue.jl b/dev/epilogue.jl index 8b13789..e69de29 100644 --- a/dev/epilogue.jl +++ b/dev/epilogue.jl @@ -1 +0,0 @@ - diff --git a/dev/generator.jl b/dev/generator.jl index 7f57b90..1565218 100644 --- a/dev/generator.jl +++ b/dev/generator.jl @@ -29,11 +29,12 @@ options = load_options(joinpath(@__DIR__, "generator.toml")) args = get_default_args() # Note you must call this function firstly and then append your own flags push!(args, "-I$include_dir") -headers = [glob("t8_*.h", include_dir); - glob("**/t8_*.h", include_dir); - glob("**/**/t8_*.h", include_dir) - # glob("**/**/**/t8_*.h", include_dir) - ] +headers = [ + glob("t8_*.h", include_dir) ; + glob("**/t8_*.h", include_dir) ; + glob("**/**/t8_*.h", include_dir) ; + # glob("**/**/**/t8_*.h", include_dir) +] # create context ctx = create_context(headers, args, options) diff --git a/src/Libt8.jl b/src/Libt8.jl index 08fc432..97b434f 100644 --- a/src/Libt8.jl +++ b/src/Libt8.jl @@ -3,10 +3,9 @@ module Libt8 using CEnum: @cenum to_c_type(t::Type) = t -to_c_type_pairs(va_list) = - map(enumerate(to_c_type.(va_list))) do (ind, type) - :(va_list[$ind]::$type) - end +to_c_type_pairs(va_list) = map(enumerate(to_c_type.(va_list))) do (ind, type) + :(va_list[$ind]::$type) +end using t8code_jll: t8code_jll export t8code_jll @@ -67,6 +66,7 @@ const INT32_MAX = typemax(Cint) const INT64_MIN = typemin(Clonglong) const INT64_MAX = typemax(Clonglong) + """ sc_abort_verbose(filename, lineno, msg) @@ -83,9 +83,8 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_abort_verbosef(filename, lineno, fmt, va_list...) - :(@ccall(libsc.sc_abort_verbosef(filename::Cstring, lineno::Cint, fmt::Cstring; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libsc.sc_abort_verbosef(filename::Cstring, lineno::Cint, fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end """ sc_malloc(package, size) @@ -162,16 +161,13 @@ void sc_log (const char *filename, int lineno, int package, int category, int pr ``` """ function sc_log(filename, lineno, package, category, priority, msg) - @ccall libsc.sc_log(filename::Cstring, lineno::Cint, package::Cint, category::Cint, - priority::Cint, msg::Cstring)::Cvoid + @ccall libsc.sc_log(filename::Cstring, lineno::Cint, package::Cint, category::Cint, priority::Cint, msg::Cstring)::Cvoid end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_logf(filename, lineno, package, category, priority, fmt, va_list...) - :(@ccall(libsc.sc_logf(filename::Cstring, lineno::Cint, package::Cint, category::Cint, - priority::Cint, fmt::Cstring; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libsc.sc_logf(filename::Cstring, lineno::Cint, package::Cint, category::Cint, priority::Cint, fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end """ sc_array @@ -211,8 +207,7 @@ sc_array_t *sc_array_new_count (size_t elem_size, size_t elem_count); ``` """ function sc_array_new_count(elem_size, elem_count) - @ccall libsc.sc_array_new_count(elem_size::Csize_t, - elem_count::Csize_t)::Ptr{sc_array_t} + @ccall libsc.sc_array_new_count(elem_size::Csize_t, elem_count::Csize_t)::Ptr{sc_array_t} end """ @@ -270,8 +265,7 @@ void *sc_shmem_malloc (int package, size_t elem_size, size_t elem_count, sc_MPI_ ``` """ function sc_shmem_malloc(package, elem_size, elem_count, comm) - @ccall libsc.sc_shmem_malloc(package::Cint, elem_size::Csize_t, elem_count::Csize_t, - comm::MPI_Comm)::Ptr{Cvoid} + @ccall libsc.sc_shmem_malloc(package::Cint, elem_size::Csize_t, elem_count::Csize_t, comm::MPI_Comm)::Ptr{Cvoid} end """ @@ -348,8 +342,7 @@ int sc_MPI_Testall (int, sc_MPI_Request *, int *, sc_MPI_Status *); ``` """ function sc_MPI_Testall(arg1, arg2, arg3, arg4) - @ccall libsc.sc_MPI_Testall(arg1::Cint, arg2::Ptr{Cint}, arg3::Ptr{Cint}, - arg4::Ptr{Cint})::Cint + @ccall libsc.sc_MPI_Testall(arg1::Cint, arg2::Ptr{Cint}, arg3::Ptr{Cint}, arg4::Ptr{Cint})::Cint end """ @@ -388,8 +381,7 @@ int sc_MPI_Error_string (int errorcode, char *string, int *resultlen); ``` """ function sc_MPI_Error_string(errorcode, string, resultlen) - @ccall libsc.sc_MPI_Error_string(errorcode::Cint, string::Cstring, - resultlen::Ptr{Cint})::Cint + @ccall libsc.sc_MPI_Error_string(errorcode::Cint, string::Cstring, resultlen::Ptr{Cint})::Cint end """ @@ -413,8 +405,7 @@ void sc_mpi_comm_attach_node_comms (sc_MPI_Comm comm, int processes_per_node); ``` """ function sc_mpi_comm_attach_node_comms(comm, processes_per_node) - @ccall libsc.sc_mpi_comm_attach_node_comms(comm::MPI_Comm, - processes_per_node::Cint)::Cvoid + @ccall libsc.sc_mpi_comm_attach_node_comms(comm::MPI_Comm, processes_per_node::Cint)::Cvoid end """ @@ -438,8 +429,7 @@ void sc_mpi_comm_get_node_comms (sc_MPI_Comm comm, sc_MPI_Comm * intranode, sc_M ``` """ function sc_mpi_comm_get_node_comms(comm, intranode, internode) - @ccall libsc.sc_mpi_comm_get_node_comms(comm::MPI_Comm, intranode::Ptr{MPI_Comm}, - internode::Ptr{MPI_Comm})::Cvoid + @ccall libsc.sc_mpi_comm_get_node_comms(comm::MPI_Comm, intranode::Ptr{MPI_Comm}, internode::Ptr{MPI_Comm})::Cvoid end """ @@ -601,9 +591,7 @@ void sc_set_log_defaults (FILE * log_stream, sc_log_handler_t log_handler, int l ``` """ function sc_set_log_defaults(log_stream, log_handler, log_threshold) - @ccall libsc.sc_set_log_defaults(log_stream::Ptr{Libc.FILE}, - log_handler::sc_log_handler_t, - log_threshold::Cint)::Cvoid + @ccall libsc.sc_set_log_defaults(log_stream::Ptr{Libc.FILE}, log_handler::sc_log_handler_t, log_threshold::Cint)::Cvoid end """ @@ -719,8 +707,7 @@ int sc_package_register (sc_log_handler_t log_handler, int log_threshold, const ``` """ function sc_package_register(log_handler, log_threshold, name, full) - @ccall libsc.sc_package_register(log_handler::sc_log_handler_t, log_threshold::Cint, - name::Cstring, full::Cstring)::Cint + @ccall libsc.sc_package_register(log_handler::sc_log_handler_t, log_threshold::Cint, name::Cstring, full::Cstring)::Cint end """ @@ -803,8 +790,7 @@ void sc_package_set_abort_alloc_mismatch (int package_id, int set_abort); ``` """ function sc_package_set_abort_alloc_mismatch(package_id, set_abort) - @ccall libsc.sc_package_set_abort_alloc_mismatch(package_id::Cint, - set_abort::Cint)::Cvoid + @ccall libsc.sc_package_set_abort_alloc_mismatch(package_id::Cint, set_abort::Cint)::Cvoid end """ @@ -846,8 +832,7 @@ void sc_init (sc_MPI_Comm mpicomm, int catch_signals, int print_backtrace, sc_lo ``` """ function sc_init(mpicomm, catch_signals, print_backtrace, log_handler, log_threshold) - @ccall libsc.sc_init(mpicomm::MPI_Comm, catch_signals::Cint, print_backtrace::Cint, - log_handler::sc_log_handler_t, log_threshold::Cint)::Cvoid + @ccall libsc.sc_init(mpicomm::MPI_Comm, catch_signals::Cint, print_backtrace::Cint, log_handler::sc_log_handler_t, log_threshold::Cint)::Cvoid end """ @@ -958,9 +943,8 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_snprintf(str, size, format, va_list...) - :(@ccall(libsc.sc_snprintf(str::Cstring, size::Csize_t, format::Cstring; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libsc.sc_snprintf(str::Cstring, size::Csize_t, format::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end """ sc_version() @@ -1131,8 +1115,7 @@ sc_array_t *sc_array_new_view (sc_array_t * array, size_t offset, size_t length) ``` """ function sc_array_new_view(array, offset, length) - @ccall libsc.sc_array_new_view(array::Ptr{sc_array_t}, offset::Csize_t, - length::Csize_t)::Ptr{sc_array_t} + @ccall libsc.sc_array_new_view(array::Ptr{sc_array_t}, offset::Csize_t, length::Csize_t)::Ptr{sc_array_t} end """ @@ -1150,8 +1133,7 @@ sc_array_t *sc_array_new_data (void *base, size_t elem_size, size_t elem_count); ``` """ function sc_array_new_data(base, elem_size, elem_count) - @ccall libsc.sc_array_new_data(base::Ptr{Cvoid}, elem_size::Csize_t, - elem_count::Csize_t)::Ptr{sc_array_t} + @ccall libsc.sc_array_new_data(base::Ptr{Cvoid}, elem_size::Csize_t, elem_count::Csize_t)::Ptr{sc_array_t} end """ @@ -1218,8 +1200,7 @@ void sc_array_init_size (sc_array_t * array, size_t elem_size, size_t elem_count ``` """ function sc_array_init_size(array, elem_size, elem_count) - @ccall libsc.sc_array_init_size(array::Ptr{sc_array_t}, elem_size::Csize_t, - elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_size(array::Ptr{sc_array_t}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid end """ @@ -1237,8 +1218,7 @@ void sc_array_init_count (sc_array_t * array, size_t elem_size, size_t elem_coun ``` """ function sc_array_init_count(array, elem_size, elem_count) - @ccall libsc.sc_array_init_count(array::Ptr{sc_array_t}, elem_size::Csize_t, - elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_count(array::Ptr{sc_array_t}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid end """ @@ -1257,8 +1237,7 @@ void sc_array_init_view (sc_array_t * view, sc_array_t * array, size_t offset, s ``` """ function sc_array_init_view(view, array, offset, length) - @ccall libsc.sc_array_init_view(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, - offset::Csize_t, length::Csize_t)::Cvoid + @ccall libsc.sc_array_init_view(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, offset::Csize_t, length::Csize_t)::Cvoid end """ @@ -1277,8 +1256,7 @@ void sc_array_init_reshape (sc_array_t * view, sc_array_t * array, size_t elem_s ``` """ function sc_array_init_reshape(view, array, elem_size, elem_count) - @ccall libsc.sc_array_init_reshape(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, - elem_size::Csize_t, elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_reshape(view::Ptr{sc_array_t}, array::Ptr{sc_array_t}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid end """ @@ -1297,8 +1275,7 @@ void sc_array_init_data (sc_array_t * view, void *base, size_t elem_size, size_t ``` """ function sc_array_init_data(view, base, elem_size, elem_count) - @ccall libsc.sc_array_init_data(view::Ptr{sc_array_t}, base::Ptr{Cvoid}, - elem_size::Csize_t, elem_count::Csize_t)::Cvoid + @ccall libsc.sc_array_init_data(view::Ptr{sc_array_t}, base::Ptr{Cvoid}, elem_size::Csize_t, elem_count::Csize_t)::Cvoid end """ @@ -1424,8 +1401,7 @@ void sc_array_copy_into (sc_array_t * dest, size_t dest_offset, sc_array_t * src ``` """ function sc_array_copy_into(dest, dest_offset, src) - @ccall libsc.sc_array_copy_into(dest::Ptr{sc_array_t}, dest_offset::Csize_t, - src::Ptr{sc_array_t})::Cvoid + @ccall libsc.sc_array_copy_into(dest::Ptr{sc_array_t}, dest_offset::Csize_t, src::Ptr{sc_array_t})::Cvoid end """ @@ -1445,9 +1421,7 @@ void sc_array_move_part (sc_array_t * dest, size_t dest_offset, sc_array_t * src ``` """ function sc_array_move_part(dest, dest_offset, src, src_offset, count) - @ccall libsc.sc_array_move_part(dest::Ptr{sc_array_t}, dest_offset::Csize_t, - src::Ptr{sc_array_t}, src_offset::Csize_t, - count::Csize_t)::Cvoid + @ccall libsc.sc_array_move_part(dest::Ptr{sc_array_t}, dest_offset::Csize_t, src::Ptr{sc_array_t}, src_offset::Csize_t, count::Csize_t)::Cvoid end """ @@ -1539,8 +1513,7 @@ ssize_t sc_array_bsearch (sc_array_t * array, const void *key, int (*compar) (co ``` """ function sc_array_bsearch(array, key, compar) - @ccall libsc.sc_array_bsearch(array::Ptr{sc_array_t}, key::Ptr{Cvoid}, - compar::Ptr{Cvoid})::Cssize_t + @ccall libsc.sc_array_bsearch(array::Ptr{sc_array_t}, key::Ptr{Cvoid}, compar::Ptr{Cvoid})::Cssize_t end # typedef size_t ( * sc_array_type_t ) ( sc_array_t * array , size_t index , void * data ) @@ -1571,9 +1544,7 @@ void sc_array_split (sc_array_t * array, sc_array_t * offsets, size_t num_types, ``` """ function sc_array_split(array, offsets, num_types, type_fn, data) - @ccall libsc.sc_array_split(array::Ptr{sc_array_t}, offsets::Ptr{sc_array_t}, - num_types::Csize_t, type_fn::sc_array_type_t, - data::Ptr{Cvoid})::Cvoid + @ccall libsc.sc_array_split(array::Ptr{sc_array_t}, offsets::Ptr{sc_array_t}, num_types::Csize_t, type_fn::sc_array_type_t, data::Ptr{Cvoid})::Cvoid end """ @@ -1609,8 +1580,7 @@ void sc_array_permute (sc_array_t * array, sc_array_t * newindices, int keepperm ``` """ function sc_array_permute(array, newindices, keepperm) - @ccall libsc.sc_array_permute(array::Ptr{sc_array_t}, newindices::Ptr{sc_array_t}, - keepperm::Cint)::Cvoid + @ccall libsc.sc_array_permute(array::Ptr{sc_array_t}, newindices::Ptr{sc_array_t}, keepperm::Cint)::Cvoid end """ @@ -1652,8 +1622,7 @@ size_t sc_array_pqueue_add (sc_array_t * array, void *temp, int (*compar) (const ``` """ function sc_array_pqueue_add(array, temp, compar) - @ccall libsc.sc_array_pqueue_add(array::Ptr{sc_array_t}, temp::Ptr{Cvoid}, - compar::Ptr{Cvoid})::Csize_t + @ccall libsc.sc_array_pqueue_add(array::Ptr{sc_array_t}, temp::Ptr{Cvoid}, compar::Ptr{Cvoid})::Csize_t end """ @@ -1681,8 +1650,7 @@ size_t sc_array_pqueue_pop (sc_array_t * array, void *result, int (*compar) (con ``` """ function sc_array_pqueue_pop(array, result, compar) - @ccall libsc.sc_array_pqueue_pop(array::Ptr{sc_array_t}, result::Ptr{Cvoid}, - compar::Ptr{Cvoid})::Csize_t + @ccall libsc.sc_array_pqueue_pop(array::Ptr{sc_array_t}, result::Ptr{Cvoid}, compar::Ptr{Cvoid})::Csize_t end """ @@ -1846,8 +1814,7 @@ void sc_mstamp_init (sc_mstamp_t * mst, size_t stamp_unit, size_t elem_size); ``` """ function sc_mstamp_init(mst, stamp_unit, elem_size) - @ccall libsc.sc_mstamp_init(mst::Ptr{sc_mstamp_t}, stamp_unit::Csize_t, - elem_size::Csize_t)::Cvoid + @ccall libsc.sc_mstamp_init(mst::Ptr{sc_mstamp_t}, stamp_unit::Csize_t, elem_size::Csize_t)::Cvoid end """ @@ -2308,8 +2275,7 @@ sc_link_t *sc_list_insert (sc_list_t * list, sc_link_t * pred, void *data); ``` """ function sc_list_insert(list, pred, data) - @ccall libsc.sc_list_insert(list::Ptr{sc_list_t}, pred::Ptr{sc_link_t}, - data::Ptr{Cvoid})::Ptr{sc_link_t} + @ccall libsc.sc_list_insert(list::Ptr{sc_list_t}, pred::Ptr{sc_link_t}, data::Ptr{Cvoid})::Ptr{sc_link_t} end """ @@ -2434,9 +2400,7 @@ sc_hash_t *sc_hash_new (sc_hash_function_t hash_fn, sc_equal_function_t equal_fn ``` """ function sc_hash_new(hash_fn, equal_fn, user_data, allocator) - @ccall libsc.sc_hash_new(hash_fn::sc_hash_function_t, equal_fn::sc_equal_function_t, - user_data::Ptr{Cvoid}, - allocator::Ptr{sc_mempool_t})::Ptr{sc_hash_t} + @ccall libsc.sc_hash_new(hash_fn::sc_hash_function_t, equal_fn::sc_equal_function_t, user_data::Ptr{Cvoid}, allocator::Ptr{sc_mempool_t})::Ptr{sc_hash_t} end """ @@ -2542,8 +2506,7 @@ int sc_hash_lookup (sc_hash_t * hash, void *v, void ***found); ``` """ function sc_hash_lookup(hash, v, found) - @ccall libsc.sc_hash_lookup(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, - found::Ptr{Ptr{Ptr{Cvoid}}})::Cint + @ccall libsc.sc_hash_lookup(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, found::Ptr{Ptr{Ptr{Cvoid}}})::Cint end """ @@ -2563,8 +2526,7 @@ int sc_hash_insert_unique (sc_hash_t * hash, void *v, void ***found); ``` """ function sc_hash_insert_unique(hash, v, found) - @ccall libsc.sc_hash_insert_unique(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, - found::Ptr{Ptr{Ptr{Cvoid}}})::Cint + @ccall libsc.sc_hash_insert_unique(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, found::Ptr{Ptr{Ptr{Cvoid}}})::Cint end """ @@ -2584,8 +2546,7 @@ int sc_hash_remove (sc_hash_t * hash, void *v, void **found); ``` """ function sc_hash_remove(hash, v, found) - @ccall libsc.sc_hash_remove(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, - found::Ptr{Ptr{Cvoid}})::Cint + @ccall libsc.sc_hash_remove(hash::Ptr{sc_hash_t}, v::Ptr{Cvoid}, found::Ptr{Ptr{Cvoid}})::Cint end """ @@ -2620,8 +2581,7 @@ void sc_hash_print_statistics (int package_id, int log_priority, sc_hash_t * has ``` """ function sc_hash_print_statistics(package_id, log_priority, hash) - @ccall libsc.sc_hash_print_statistics(package_id::Cint, log_priority::Cint, - hash::Ptr{sc_hash_t})::Cvoid + @ccall libsc.sc_hash_print_statistics(package_id::Cint, log_priority::Cint, hash::Ptr{sc_hash_t})::Cvoid end mutable struct sc_hash_array_data end @@ -2685,9 +2645,7 @@ sc_hash_array_t *sc_hash_array_new (size_t elem_size, sc_hash_function_t hash_fn ``` """ function sc_hash_array_new(elem_size, hash_fn, equal_fn, user_data) - @ccall libsc.sc_hash_array_new(elem_size::Csize_t, hash_fn::sc_hash_function_t, - equal_fn::sc_equal_function_t, - user_data::Ptr{Cvoid})::Ptr{sc_hash_array_t} + @ccall libsc.sc_hash_array_new(elem_size::Csize_t, hash_fn::sc_hash_function_t, equal_fn::sc_equal_function_t, user_data::Ptr{Cvoid})::Ptr{sc_hash_array_t} end """ @@ -2757,8 +2715,7 @@ int sc_hash_array_lookup (sc_hash_array_t * hash_array, void *v, size_t *positio ``` """ function sc_hash_array_lookup(hash_array, v, position) - @ccall libsc.sc_hash_array_lookup(hash_array::Ptr{sc_hash_array_t}, v::Ptr{Cvoid}, - position::Ptr{Csize_t})::Cint + @ccall libsc.sc_hash_array_lookup(hash_array::Ptr{sc_hash_array_t}, v::Ptr{Cvoid}, position::Ptr{Csize_t})::Cint end """ @@ -2778,9 +2735,7 @@ void *sc_hash_array_insert_unique (sc_hash_array_t * hash_array, void *v, size_t ``` """ function sc_hash_array_insert_unique(hash_array, v, position) - @ccall libsc.sc_hash_array_insert_unique(hash_array::Ptr{sc_hash_array_t}, - v::Ptr{Cvoid}, - position::Ptr{Csize_t})::Ptr{Cvoid} + @ccall libsc.sc_hash_array_insert_unique(hash_array::Ptr{sc_hash_array_t}, v::Ptr{Cvoid}, position::Ptr{Csize_t})::Ptr{Cvoid} end """ @@ -2797,8 +2752,7 @@ void sc_hash_array_foreach (sc_hash_array_t * hash_array, sc_hash_foreach_t fn); ``` """ function sc_hash_array_foreach(hash_array, fn) - @ccall libsc.sc_hash_array_foreach(hash_array::Ptr{sc_hash_array_t}, - fn::sc_hash_foreach_t)::Cvoid + @ccall libsc.sc_hash_array_foreach(hash_array::Ptr{sc_hash_array_t}, fn::sc_hash_foreach_t)::Cvoid end """ @@ -2815,8 +2769,7 @@ void sc_hash_array_rip (sc_hash_array_t * hash_array, sc_array_t * rip); ``` """ function sc_hash_array_rip(hash_array, rip) - @ccall libsc.sc_hash_array_rip(hash_array::Ptr{sc_hash_array_t}, - rip::Ptr{sc_array_t})::Cvoid + @ccall libsc.sc_hash_array_rip(hash_array::Ptr{sc_hash_array_t}, rip::Ptr{sc_array_t})::Cvoid end """ @@ -2859,8 +2812,7 @@ void sc_recycle_array_init (sc_recycle_array_t * rec_array, size_t elem_size); ``` """ function sc_recycle_array_init(rec_array, elem_size) - @ccall libsc.sc_recycle_array_init(rec_array::Ptr{sc_recycle_array_t}, - elem_size::Csize_t)::Cvoid + @ccall libsc.sc_recycle_array_init(rec_array::Ptr{sc_recycle_array_t}, elem_size::Csize_t)::Cvoid end """ @@ -2895,8 +2847,7 @@ void *sc_recycle_array_insert (sc_recycle_array_t * rec_array, size_t *position) ``` """ function sc_recycle_array_insert(rec_array, position) - @ccall libsc.sc_recycle_array_insert(rec_array::Ptr{sc_recycle_array_t}, - position::Ptr{Csize_t})::Ptr{Cvoid} + @ccall libsc.sc_recycle_array_insert(rec_array::Ptr{sc_recycle_array_t}, position::Ptr{Csize_t})::Ptr{Cvoid} end """ @@ -2915,8 +2866,7 @@ void *sc_recycle_array_remove (sc_recycle_array_t * rec_array, size_t position); ``` """ function sc_recycle_array_remove(rec_array, position) - @ccall libsc.sc_recycle_array_remove(rec_array::Ptr{sc_recycle_array_t}, - position::Csize_t)::Ptr{Cvoid} + @ccall libsc.sc_recycle_array_remove(rec_array::Ptr{sc_recycle_array_t}, position::Csize_t)::Ptr{Cvoid} end """A type for storing SFC indices""" @@ -2947,9 +2897,8 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_logf(category, priority, fmt, va_list...) - :(@ccall(libt8.t8_logf(category::Cint, priority::Cint, fmt::Cstring; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_logf(category::Cint, priority::Cint, fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end """ t8_log_indent_push() @@ -2981,45 +2930,43 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_errorf(fmt, va_list...) - :(@ccall(libt8.t8_global_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_global_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_essentialf(fmt, va_list...) - :(@ccall(libt8.t8_global_essentialf(fmt::Cstring; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_global_essentialf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_productionf(fmt, va_list...) - :(@ccall(libt8.t8_global_productionf(fmt::Cstring; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_global_productionf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_global_infof(fmt, va_list...) - :(@ccall(libt8.t8_global_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_global_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_infof(fmt, va_list...) - :(@ccall(libt8.t8_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_infof(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_productionf(fmt, va_list...) - :(@ccall(libt8.t8_productionf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_productionf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_debugf(fmt, va_list...) - :(@ccall(libt8.t8_debugf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_debugf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function t8_errorf(fmt, va_list...) - :(@ccall(libt8.t8_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libt8.t8_errorf(fmt::Cstring; $(to_c_type_pairs(va_list)...))::Cvoid)) + end """ t8_init(log_threshold) @@ -3052,8 +2999,7 @@ void * t8_sc_array_index_locidx (const sc_array_t *array, const t8_locidx_t it); ``` """ function t8_sc_array_index_locidx(array, it) - @ccall libt8.t8_sc_array_index_locidx(array::Ptr{sc_array_t}, - it::t8_locidx_t)::Ptr{Cvoid} + @ccall libt8.t8_sc_array_index_locidx(array::Ptr{sc_array_t}, it::t8_locidx_t)::Ptr{Cvoid} end """ @@ -3134,8 +3080,7 @@ void sc_shmem_memcpy (void *destarray, void *srcarray, size_t bytes, sc_MPI_Comm ``` """ function sc_shmem_memcpy(destarray, srcarray, bytes, comm) - @ccall libsc.sc_shmem_memcpy(destarray::Ptr{Cvoid}, srcarray::Ptr{Cvoid}, - bytes::Csize_t, comm::MPI_Comm)::Cvoid + @ccall libsc.sc_shmem_memcpy(destarray::Ptr{Cvoid}, srcarray::Ptr{Cvoid}, bytes::Csize_t, comm::MPI_Comm)::Cvoid end """ @@ -3146,11 +3091,8 @@ end void sc_shmem_allgather (void *sendbuf, int sendcount, sc_MPI_Datatype sendtype, void *recvbuf, int recvcount, sc_MPI_Datatype recvtype, sc_MPI_Comm comm); ``` """ -function sc_shmem_allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, - comm) - @ccall libsc.sc_shmem_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, - recvbuf::Ptr{Cvoid}, recvcount::Cint, recvtype::Cint, - comm::MPI_Comm)::Cvoid +function sc_shmem_allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm) + @ccall libsc.sc_shmem_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, recvbuf::Ptr{Cvoid}, recvcount::Cint, recvtype::Cint, comm::MPI_Comm)::Cvoid end """ @@ -3162,8 +3104,7 @@ void sc_shmem_prefix (void *sendbuf, void *recvbuf, int count, sc_MPI_Datatype t ``` """ function sc_shmem_prefix(sendbuf, recvbuf, count, type, op, comm) - @ccall libsc.sc_shmem_prefix(sendbuf::Ptr{Cvoid}, recvbuf::Ptr{Cvoid}, count::Cint, - type::Cint, op::Cint, comm::MPI_Comm)::Cvoid + @ccall libsc.sc_shmem_prefix(sendbuf::Ptr{Cvoid}, recvbuf::Ptr{Cvoid}, count::Cint, type::Cint, op::Cint, comm::MPI_Comm)::Cvoid end """ @@ -3660,9 +3601,7 @@ int t8_cmesh_tree_vertices_negative_volume (const t8_eclass_t eclass, const doub ``` """ function t8_cmesh_tree_vertices_negative_volume(eclass, vertices, num_vertices) - @ccall libt8.t8_cmesh_tree_vertices_negative_volume(eclass::t8_eclass_t, - vertices::Ptr{Cdouble}, - num_vertices::Cint)::Cint + @ccall libt8.t8_cmesh_tree_vertices_negative_volume(eclass::t8_eclass_t, vertices::Ptr{Cdouble}, num_vertices::Cint)::Cint end """ @@ -3716,11 +3655,8 @@ t8\\_cmesh\\_set\\_partition\\_offset, [`t8_cmesh_set_partition_uniform`](@ref) void t8_cmesh_set_partition_range (t8_cmesh_t cmesh, int set_face_knowledge, t8_gloidx_t first_local_tree, t8_gloidx_t last_local_tree); ``` """ -function t8_cmesh_set_partition_range(cmesh, set_face_knowledge, first_local_tree, - last_local_tree) - @ccall libt8.t8_cmesh_set_partition_range(cmesh::t8_cmesh_t, set_face_knowledge::Cint, - first_local_tree::t8_gloidx_t, - last_local_tree::t8_gloidx_t)::Cvoid +function t8_cmesh_set_partition_range(cmesh, set_face_knowledge, first_local_tree, last_local_tree) + @ccall libt8.t8_cmesh_set_partition_range(cmesh::t8_cmesh_t, set_face_knowledge::Cint, first_local_tree::t8_gloidx_t, last_local_tree::t8_gloidx_t)::Cvoid end """ @@ -3737,8 +3673,7 @@ void t8_cmesh_set_partition_offsets (t8_cmesh_t cmesh, t8_shmem_array_t tree_off ``` """ function t8_cmesh_set_partition_offsets(cmesh, tree_offsets) - @ccall libt8.t8_cmesh_set_partition_offsets(cmesh::t8_cmesh_t, - tree_offsets::t8_shmem_array_t)::Cvoid + @ccall libt8.t8_cmesh_set_partition_offsets(cmesh::t8_cmesh_t, tree_offsets::t8_shmem_array_t)::Cvoid end """ @@ -3756,8 +3691,7 @@ void t8_cmesh_set_partition_uniform (t8_cmesh_t cmesh, int element_level, t8_sch ``` """ function t8_cmesh_set_partition_uniform(cmesh, element_level, ts) - @ccall libt8.t8_cmesh_set_partition_uniform(cmesh::t8_cmesh_t, element_level::Cint, - ts::Ptr{t8_scheme_cxx_t})::Cvoid + @ccall libt8.t8_cmesh_set_partition_uniform(cmesh::t8_cmesh_t, element_level::Cint, ts::Ptr{t8_scheme_cxx_t})::Cvoid end """ @@ -3771,8 +3705,7 @@ void t8_cmesh_set_refine (t8_cmesh_t cmesh, int level, t8_scheme_cxx_t *scheme); ``` """ function t8_cmesh_set_refine(cmesh, level, scheme) - @ccall libt8.t8_cmesh_set_refine(cmesh::t8_cmesh_t, level::Cint, - scheme::Ptr{t8_scheme_cxx_t})::Cvoid + @ccall libt8.t8_cmesh_set_refine(cmesh::t8_cmesh_t, level::Cint, scheme::Ptr{t8_scheme_cxx_t})::Cvoid end """ @@ -3807,8 +3740,7 @@ void t8_cmesh_set_tree_class (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, t8_eclass_ ``` """ function t8_cmesh_set_tree_class(cmesh, gtree_id, tree_class) - @ccall libt8.t8_cmesh_set_tree_class(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, - tree_class::t8_eclass_t)::Cvoid + @ccall libt8.t8_cmesh_set_tree_class(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, tree_class::t8_eclass_t)::Cvoid end """ @@ -3836,11 +3768,8 @@ Store an attribute at a tree in a cmesh. Attributes can be arbitrary data that i void t8_cmesh_set_attribute (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, int package_id, int key, void *data, size_t data_size, int data_persists); ``` """ -function t8_cmesh_set_attribute(cmesh, gtree_id, package_id, key, data, data_size, - data_persists) - @ccall libt8.t8_cmesh_set_attribute(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, - package_id::Cint, key::Cint, data::Ptr{Cvoid}, - data_size::Csize_t, data_persists::Cint)::Cvoid +function t8_cmesh_set_attribute(cmesh, gtree_id, package_id, key, data, data_size, data_persists) + @ccall libt8.t8_cmesh_set_attribute(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, package_id::Cint, key::Cint, data::Ptr{Cvoid}, data_size::Csize_t, data_persists::Cint)::Cvoid end """ @@ -3871,9 +3800,7 @@ void t8_cmesh_set_attribute_string (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, int ``` """ function t8_cmesh_set_attribute_string(cmesh, gtree_id, package_id, key, string) - @ccall libt8.t8_cmesh_set_attribute_string(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, - package_id::Cint, key::Cint, - string::Cstring)::Cvoid + @ccall libt8.t8_cmesh_set_attribute_string(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, package_id::Cint, key::Cint, string::Cstring)::Cvoid end """ @@ -3909,14 +3836,8 @@ Store an array of [`t8_gloidx_t`](@ref) as an attribute at a tree in a cmesh. void t8_cmesh_set_attribute_gloidx_array (t8_cmesh_t cmesh, t8_gloidx_t gtree_id, int package_id, int key, const t8_gloidx_t *data, const size_t data_count, int data_persists); ``` """ -function t8_cmesh_set_attribute_gloidx_array(cmesh, gtree_id, package_id, key, data, - data_count, data_persists) - @ccall libt8.t8_cmesh_set_attribute_gloidx_array(cmesh::t8_cmesh_t, - gtree_id::t8_gloidx_t, - package_id::Cint, key::Cint, - data::Ptr{t8_gloidx_t}, - data_count::Csize_t, - data_persists::Cint)::Cvoid +function t8_cmesh_set_attribute_gloidx_array(cmesh, gtree_id, package_id, key, data, data_count, data_persists) + @ccall libt8.t8_cmesh_set_attribute_gloidx_array(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, package_id::Cint, key::Cint, data::Ptr{t8_gloidx_t}, data_count::Csize_t, data_persists::Cint)::Cvoid end """ @@ -3937,9 +3858,7 @@ void t8_cmesh_set_join (t8_cmesh_t cmesh, t8_gloidx_t gtree1, t8_gloidx_t gtree2 ``` """ function t8_cmesh_set_join(cmesh, gtree1, gtree2, face1, face2, orientation) - @ccall libt8.t8_cmesh_set_join(cmesh::t8_cmesh_t, gtree1::t8_gloidx_t, - gtree2::t8_gloidx_t, face1::Cint, face2::Cint, - orientation::Cint)::Cvoid + @ccall libt8.t8_cmesh_set_join(cmesh::t8_cmesh_t, gtree1::t8_gloidx_t, gtree2::t8_gloidx_t, face1::Cint, face2::Cint, orientation::Cint)::Cvoid end """ @@ -4010,8 +3929,7 @@ t8_cmesh_t t8_cmesh_bcast (t8_cmesh_t cmesh_in, int root, sc_MPI_Comm comm); ``` """ function t8_cmesh_bcast(cmesh_in, root, comm) - @ccall libt8.t8_cmesh_bcast(cmesh_in::t8_cmesh_t, root::Cint, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_bcast(cmesh_in::t8_cmesh_t, root::Cint, comm::MPI_Comm)::t8_cmesh_t end mutable struct t8_geometry end @@ -4039,8 +3957,7 @@ void t8_cmesh_register_geometry (t8_cmesh_t cmesh, t8_geometry_c *geometry); ``` """ function t8_cmesh_register_geometry(cmesh, geometry) - @ccall libt8.t8_cmesh_register_geometry(cmesh::t8_cmesh_t, - geometry::Ptr{t8_geometry_c})::Cvoid + @ccall libt8.t8_cmesh_register_geometry(cmesh::t8_cmesh_t, geometry::Ptr{t8_geometry_c})::Cvoid end """ @@ -4058,8 +3975,7 @@ void t8_cmesh_set_tree_geometry (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const t8 ``` """ function t8_cmesh_set_tree_geometry(cmesh, gtreeid, geom) - @ccall libt8.t8_cmesh_set_tree_geometry(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, - geom::Ptr{t8_geometry_c})::Cvoid + @ccall libt8.t8_cmesh_set_tree_geometry(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, geom::Ptr{t8_geometry_c})::Cvoid end """ @@ -4130,9 +4046,7 @@ t8_cmesh_t t8_cmesh_load_and_distribute (const char *fileprefix, int num_files, ``` """ function t8_cmesh_load_and_distribute(fileprefix, num_files, comm, mode, procs_per_node) - @ccall libt8.t8_cmesh_load_and_distribute(fileprefix::Cstring, num_files::Cint, - comm::MPI_Comm, mode::t8_load_mode_t, - procs_per_node::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_load_and_distribute(fileprefix::Cstring, num_files::Cint, comm::MPI_Comm, mode::t8_load_mode_t, procs_per_node::Cint)::t8_cmesh_t end """ @@ -4269,8 +4183,7 @@ const t8_geometry_c * t8_cmesh_get_tree_geometry (t8_cmesh_t cmesh, t8_gloidx_t ``` """ function t8_cmesh_get_tree_geometry(cmesh, gtreeid) - @ccall libt8.t8_cmesh_get_tree_geometry(cmesh::t8_cmesh_t, - gtreeid::t8_gloidx_t)::Ptr{t8_geometry_c} + @ccall libt8.t8_cmesh_get_tree_geometry(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::Ptr{t8_geometry_c} end """ @@ -4289,8 +4202,7 @@ int t8_cmesh_treeid_is_local_tree (const t8_cmesh_t cmesh, const t8_locidx_t ltr ``` """ function t8_cmesh_treeid_is_local_tree(cmesh, ltreeid) - @ccall libt8.t8_cmesh_treeid_is_local_tree(cmesh::t8_cmesh_t, - ltreeid::t8_locidx_t)::Cint + @ccall libt8.t8_cmesh_treeid_is_local_tree(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t)::Cint end """ @@ -4328,8 +4240,7 @@ t8_locidx_t t8_cmesh_ltreeid_to_ghostid (const t8_cmesh_t cmesh, const t8_locidx ``` """ function t8_cmesh_ltreeid_to_ghostid(cmesh, ltreeid) - @ccall libt8.t8_cmesh_ltreeid_to_ghostid(cmesh::t8_cmesh_t, - ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_cmesh_ltreeid_to_ghostid(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -4404,8 +4315,7 @@ t8_eclass_t t8_cmesh_get_tree_class (t8_cmesh_t cmesh, t8_locidx_t ltree_id); ``` """ function t8_cmesh_get_tree_class(cmesh, ltree_id) - @ccall libt8.t8_cmesh_get_tree_class(cmesh::t8_cmesh_t, - ltree_id::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_cmesh_get_tree_class(cmesh::t8_cmesh_t, ltree_id::t8_locidx_t)::t8_eclass_t end """ @@ -4425,8 +4335,7 @@ int t8_cmesh_tree_face_is_boundary (t8_cmesh_t cmesh, t8_locidx_t ltree_id, int ``` """ function t8_cmesh_tree_face_is_boundary(cmesh, ltree_id, face) - @ccall libt8.t8_cmesh_tree_face_is_boundary(cmesh::t8_cmesh_t, ltree_id::t8_locidx_t, - face::Cint)::Cint + @ccall libt8.t8_cmesh_tree_face_is_boundary(cmesh::t8_cmesh_t, ltree_id::t8_locidx_t, face::Cint)::Cint end """ @@ -4445,8 +4354,7 @@ t8_eclass_t t8_cmesh_get_ghost_class (t8_cmesh_t cmesh, t8_locidx_t lghost_id); ``` """ function t8_cmesh_get_ghost_class(cmesh, lghost_id) - @ccall libt8.t8_cmesh_get_ghost_class(cmesh::t8_cmesh_t, - lghost_id::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_cmesh_get_ghost_class(cmesh::t8_cmesh_t, lghost_id::t8_locidx_t)::t8_eclass_t end """ @@ -4468,8 +4376,7 @@ t8_gloidx_t t8_cmesh_get_global_id (t8_cmesh_t cmesh, t8_locidx_t local_id); ``` """ function t8_cmesh_get_global_id(cmesh, local_id) - @ccall libt8.t8_cmesh_get_global_id(cmesh::t8_cmesh_t, - local_id::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_cmesh_get_global_id(cmesh::t8_cmesh_t, local_id::t8_locidx_t)::t8_gloidx_t end """ @@ -4491,8 +4398,7 @@ t8_locidx_t t8_cmesh_get_local_id (t8_cmesh_t cmesh, t8_gloidx_t global_id); ``` """ function t8_cmesh_get_local_id(cmesh, global_id) - @ccall libt8.t8_cmesh_get_local_id(cmesh::t8_cmesh_t, - global_id::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_cmesh_get_local_id(cmesh::t8_cmesh_t, global_id::t8_gloidx_t)::t8_locidx_t end """ @@ -4521,9 +4427,7 @@ t8_locidx_t t8_cmesh_get_face_neighbor (const t8_cmesh_t cmesh, const t8_locidx_ ``` """ function t8_cmesh_get_face_neighbor(cmesh, ltreeid, face, dual_face, orientation) - @ccall libt8.t8_cmesh_get_face_neighbor(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t, - face::Cint, dual_face::Ptr{Cint}, - orientation::Ptr{Cint})::t8_locidx_t + @ccall libt8.t8_cmesh_get_face_neighbor(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t, face::Cint, dual_face::Ptr{Cint}, orientation::Ptr{Cint})::t8_locidx_t end """ @@ -4563,8 +4467,7 @@ double * t8_cmesh_get_tree_vertices (t8_cmesh_t cmesh, t8_locidx_t ltreeid); ``` """ function t8_cmesh_get_tree_vertices(cmesh, ltreeid) - @ccall libt8.t8_cmesh_get_tree_vertices(cmesh::t8_cmesh_t, - ltreeid::t8_locidx_t)::Ptr{Cdouble} + @ccall libt8.t8_cmesh_get_tree_vertices(cmesh::t8_cmesh_t, ltreeid::t8_locidx_t)::Ptr{Cdouble} end """ @@ -4592,8 +4495,7 @@ void * t8_cmesh_get_attribute (const t8_cmesh_t cmesh, const int package_id, con ``` """ function t8_cmesh_get_attribute(cmesh, package_id, key, ltree_id) - @ccall libt8.t8_cmesh_get_attribute(cmesh::t8_cmesh_t, package_id::Cint, key::Cint, - ltree_id::t8_locidx_t)::Ptr{Cvoid} + @ccall libt8.t8_cmesh_get_attribute(cmesh::t8_cmesh_t, package_id::Cint, key::Cint, ltree_id::t8_locidx_t)::Ptr{Cvoid} end """ @@ -4626,9 +4528,7 @@ t8_gloidx_t * t8_cmesh_get_attribute_gloidx_array (const t8_cmesh_t cmesh, const ``` """ function t8_cmesh_get_attribute_gloidx_array(cmesh, package_id, key, ltree_id, data_count) - @ccall libt8.t8_cmesh_get_attribute_gloidx_array(cmesh::t8_cmesh_t, package_id::Cint, - key::Cint, ltree_id::t8_locidx_t, - data_count::Csize_t)::Ptr{t8_gloidx_t} + @ccall libt8.t8_cmesh_get_attribute_gloidx_array(cmesh::t8_cmesh_t, package_id::Cint, key::Cint, ltree_id::t8_locidx_t, data_count::Csize_t)::Ptr{t8_gloidx_t} end """ @@ -4668,15 +4568,8 @@ Calculate the section of a uniform forest for the current rank. void t8_cmesh_uniform_bounds (t8_cmesh_t cmesh, int level, const t8_scheme_cxx_t *ts, t8_gloidx_t *first_local_tree, t8_gloidx_t *child_in_tree_begin, t8_gloidx_t *last_local_tree, t8_gloidx_t *child_in_tree_end, int8_t *first_tree_shared); ``` """ -function t8_cmesh_uniform_bounds(cmesh, level, ts, first_local_tree, child_in_tree_begin, - last_local_tree, child_in_tree_end, first_tree_shared) - @ccall libt8.t8_cmesh_uniform_bounds(cmesh::t8_cmesh_t, level::Cint, - ts::Ptr{t8_scheme_cxx_t}, - first_local_tree::Ptr{t8_gloidx_t}, - child_in_tree_begin::Ptr{t8_gloidx_t}, - last_local_tree::Ptr{t8_gloidx_t}, - child_in_tree_end::Ptr{t8_gloidx_t}, - first_tree_shared::Ptr{Int8})::Cvoid +function t8_cmesh_uniform_bounds(cmesh, level, ts, first_local_tree, child_in_tree_begin, last_local_tree, child_in_tree_end, first_tree_shared) + @ccall libt8.t8_cmesh_uniform_bounds(cmesh::t8_cmesh_t, level::Cint, ts::Ptr{t8_scheme_cxx_t}, first_local_tree::Ptr{t8_gloidx_t}, child_in_tree_begin::Ptr{t8_gloidx_t}, last_local_tree::Ptr{t8_gloidx_t}, child_in_tree_end::Ptr{t8_gloidx_t}, first_tree_shared::Ptr{Int8})::Cvoid end """ @@ -4757,9 +4650,7 @@ void t8_cmesh_coords_axb (const double *coords_in, double *coords_out, int num_v ``` """ function t8_cmesh_coords_axb(coords_in, coords_out, num_vertices, alpha, b) - @ccall libt8.t8_cmesh_coords_axb(coords_in::Ptr{Cdouble}, coords_out::Ptr{Cdouble}, - num_vertices::Cint, alpha::Cdouble, - b::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_cmesh_coords_axb(coords_in::Ptr{Cdouble}, coords_out::Ptr{Cdouble}, num_vertices::Cint, alpha::Cdouble, b::Ptr{Cdouble})::Cvoid end """ @@ -4778,10 +4669,7 @@ void t8_cmesh_translate_coordinates (const double *coords_in, double *coords_out ``` """ function t8_cmesh_translate_coordinates(coords_in, coords_out, num_vertices, translate) - @ccall libt8.t8_cmesh_translate_coordinates(coords_in::Ptr{Cdouble}, - coords_out::Ptr{Cdouble}, - num_vertices::Cint, - translate::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_cmesh_translate_coordinates(coords_in::Ptr{Cdouble}, coords_out::Ptr{Cdouble}, num_vertices::Cint, translate::Ptr{Cdouble})::Cvoid end """ @@ -4794,12 +4682,8 @@ TODO: Add proper documentation void t8_cmesh_new_translate_vertices_to_attributes (const t8_locidx_t *tvertices, const double *vertices, double *attr_vertices, const int num_vertices); ``` """ -function t8_cmesh_new_translate_vertices_to_attributes(tvertices, vertices, attr_vertices, - num_vertices) - @ccall libt8.t8_cmesh_new_translate_vertices_to_attributes(tvertices::Ptr{t8_locidx_t}, - vertices::Ptr{Cdouble}, - attr_vertices::Ptr{Cdouble}, - num_vertices::Cint)::Cvoid +function t8_cmesh_new_translate_vertices_to_attributes(tvertices, vertices, attr_vertices, num_vertices) + @ccall libt8.t8_cmesh_new_translate_vertices_to_attributes(tvertices::Ptr{t8_locidx_t}, vertices::Ptr{Cdouble}, attr_vertices::Ptr{Cdouble}, num_vertices::Cint)::Cvoid end """ @@ -4851,13 +4735,8 @@ end void t8_cmesh_write_netcdf (t8_cmesh_t cmesh, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *variables[], sc_MPI_Comm comm); ``` """ -function t8_cmesh_write_netcdf(cmesh, file_prefix, file_title, dim, num_extern_netcdf_vars, - variables, comm) - @ccall libt8.t8_cmesh_write_netcdf(cmesh::t8_cmesh_t, file_prefix::Cstring, - file_title::Cstring, dim::Cint, - num_extern_netcdf_vars::Cint, - variables::Ptr{Ptr{t8_netcdf_variable_t}}, - comm::MPI_Comm)::Cvoid +function t8_cmesh_write_netcdf(cmesh, file_prefix, file_title, dim, num_extern_netcdf_vars, variables, comm) + @ccall libt8.t8_cmesh_write_netcdf(cmesh::t8_cmesh_t, file_prefix::Cstring, file_title::Cstring, dim::Cint, num_extern_netcdf_vars::Cint, variables::Ptr{Ptr{t8_netcdf_variable_t}}, comm::MPI_Comm)::Cvoid end struct t8_msh_file_node_t @@ -4883,9 +4762,7 @@ t8_cmesh_t t8_cmesh_from_msh_file (const char *fileprefix, int partition, sc_MPI ``` """ function t8_cmesh_from_msh_file(fileprefix, partition, comm, dim, master, use_cad_geometry) - @ccall libt8.t8_cmesh_from_msh_file(fileprefix::Cstring, partition::Cint, - comm::MPI_Comm, dim::Cint, master::Cint, - use_cad_geometry::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_from_msh_file(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, dim::Cint, master::Cint, use_cad_geometry::Cint)::t8_cmesh_t end struct sc_stats @@ -4985,8 +4862,7 @@ void sc_statistics_accumulate (sc_statistics_t * stats, const char *name, double ``` """ function sc_statistics_accumulate(stats, name, value) - @ccall libsc.sc_statistics_accumulate(stats::Ptr{sc_statistics_t}, name::Cstring, - value::Cdouble)::Cvoid + @ccall libsc.sc_statistics_accumulate(stats::Ptr{sc_statistics_t}, name::Cstring, value::Cdouble)::Cvoid end """ @@ -5000,8 +4876,7 @@ void sc_flops_papi (float *rtime, float *ptime, long long *flpops, float *mflops ``` """ function sc_flops_papi(rtime, ptime, flpops, mflops) - @ccall libsc.sc_flops_papi(rtime::Ptr{Cfloat}, ptime::Ptr{Cfloat}, - flpops::Ptr{Clonglong}, mflops::Ptr{Cfloat})::Cvoid + @ccall libsc.sc_flops_papi(rtime::Ptr{Cfloat}, ptime::Ptr{Cfloat}, flpops::Ptr{Clonglong}, mflops::Ptr{Cfloat})::Cvoid end """ @@ -5054,9 +4929,8 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_flops_shotv(fi, va_list...) - :(@ccall(libsc.sc_flops_shotv(fi::Ptr{sc_flopinfo_t}; - $(to_c_type_pairs(va_list)...))::Cvoid)) -end + :(@ccall(libsc.sc_flops_shotv(fi::Ptr{sc_flopinfo_t}; $(to_c_type_pairs(va_list)...))::Cvoid)) + end """ sc_keyvalue_entry_type_t @@ -5100,7 +4974,7 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_keyvalue_newf(dummy, va_list...) -end + end """ sc_keyvalue_destroy(kv) @@ -5390,8 +5264,7 @@ void sc_stats_set1 (sc_statinfo_t * stats, double value, const char *variable); ``` """ function sc_stats_set1(stats, value, variable) - @ccall libsc.sc_stats_set1(stats::Ptr{sc_statinfo_t}, value::Cdouble, - variable::Cstring)::Cvoid + @ccall libsc.sc_stats_set1(stats::Ptr{sc_statinfo_t}, value::Cdouble, variable::Cstring)::Cvoid end """ @@ -5412,9 +5285,7 @@ void sc_stats_set1_ext (sc_statinfo_t * stats, double value, const char *variabl ``` """ function sc_stats_set1_ext(stats, value, variable, copy_variable, stats_group, stats_prio) - @ccall libsc.sc_stats_set1_ext(stats::Ptr{sc_statinfo_t}, value::Cdouble, - variable::Cstring, copy_variable::Cint, - stats_group::Cint, stats_prio::Cint)::Cvoid + @ccall libsc.sc_stats_set1_ext(stats::Ptr{sc_statinfo_t}, value::Cdouble, variable::Cstring, copy_variable::Cint, stats_group::Cint, stats_prio::Cint)::Cvoid end """ @@ -5451,9 +5322,7 @@ void sc_stats_init_ext (sc_statinfo_t * stats, const char *variable, int copy_va ``` """ function sc_stats_init_ext(stats, variable, copy_variable, stats_group, stats_prio) - @ccall libsc.sc_stats_init_ext(stats::Ptr{sc_statinfo_t}, variable::Cstring, - copy_variable::Cint, stats_group::Cint, - stats_prio::Cint)::Cvoid + @ccall libsc.sc_stats_init_ext(stats::Ptr{sc_statinfo_t}, variable::Cstring, copy_variable::Cint, stats_group::Cint, stats_prio::Cint)::Cvoid end """ @@ -5488,8 +5357,7 @@ void sc_stats_set_group_prio (sc_statinfo_t * stats, int stats_group, int stats_ ``` """ function sc_stats_set_group_prio(stats, stats_group, stats_prio) - @ccall libsc.sc_stats_set_group_prio(stats::Ptr{sc_statinfo_t}, stats_group::Cint, - stats_prio::Cint)::Cvoid + @ccall libsc.sc_stats_set_group_prio(stats::Ptr{sc_statinfo_t}, stats_group::Cint, stats_prio::Cint)::Cvoid end """ @@ -5518,8 +5386,7 @@ void sc_stats_compute (sc_MPI_Comm mpicomm, int nvars, sc_statinfo_t * stats); ``` """ function sc_stats_compute(mpicomm, nvars, stats) - @ccall libsc.sc_stats_compute(mpicomm::MPI_Comm, nvars::Cint, - stats::Ptr{sc_statinfo_t})::Cvoid + @ccall libsc.sc_stats_compute(mpicomm::MPI_Comm, nvars::Cint, stats::Ptr{sc_statinfo_t})::Cvoid end """ @@ -5531,8 +5398,7 @@ void sc_stats_compute1 (sc_MPI_Comm mpicomm, int nvars, sc_statinfo_t * stats); ``` """ function sc_stats_compute1(mpicomm, nvars, stats) - @ccall libsc.sc_stats_compute1(mpicomm::MPI_Comm, nvars::Cint, - stats::Ptr{sc_statinfo_t})::Cvoid + @ccall libsc.sc_stats_compute1(mpicomm::MPI_Comm, nvars::Cint, stats::Ptr{sc_statinfo_t})::Cvoid end """ @@ -5553,8 +5419,7 @@ void sc_stats_print (int package_id, int log_priority, int nvars, sc_statinfo_t ``` """ function sc_stats_print(package_id, log_priority, nvars, stats, full, summary) - @ccall libsc.sc_stats_print(package_id::Cint, log_priority::Cint, nvars::Cint, - stats::Ptr{sc_statinfo_t}, full::Cint, summary::Cint)::Cvoid + @ccall libsc.sc_stats_print(package_id::Cint, log_priority::Cint, nvars::Cint, stats::Ptr{sc_statinfo_t}, full::Cint, summary::Cint)::Cvoid end """ @@ -5576,11 +5441,8 @@ Print measured statistics, filter by group and/or priority. This function uses t void sc_stats_print_ext (int package_id, int log_priority, int nvars, sc_statinfo_t * stats, int stats_group, int stats_prio, int full, int summary); ``` """ -function sc_stats_print_ext(package_id, log_priority, nvars, stats, stats_group, stats_prio, - full, summary) - @ccall libsc.sc_stats_print_ext(package_id::Cint, log_priority::Cint, nvars::Cint, - stats::Ptr{sc_statinfo_t}, stats_group::Cint, - stats_prio::Cint, full::Cint, summary::Cint)::Cvoid +function sc_stats_print_ext(package_id, log_priority, nvars, stats, stats_group, stats_prio, full, summary) + @ccall libsc.sc_stats_print_ext(package_id::Cint, log_priority::Cint, nvars::Cint, stats::Ptr{sc_statinfo_t}, stats_group::Cint, stats_prio::Cint, full::Cint, summary::Cint)::Cvoid end """ @@ -5636,8 +5498,7 @@ void sc_statistics_set (sc_statistics_t * stats, const char *name, double value) ``` """ function sc_statistics_set(stats, name, value) - @ccall libsc.sc_statistics_set(stats::Ptr{sc_statistics_t}, name::Cstring, - value::Cdouble)::Cvoid + @ccall libsc.sc_statistics_set(stats::Ptr{sc_statistics_t}, name::Cstring, value::Cdouble)::Cvoid end """ @@ -5665,8 +5526,7 @@ void sc_statistics_print (sc_statistics_t * stats, int package_id, int log_prior ``` """ function sc_statistics_print(stats, package_id, log_priority, full, summary) - @ccall libsc.sc_statistics_print(stats::Ptr{sc_statistics_t}, package_id::Cint, - log_priority::Cint, full::Cint, summary::Cint)::Cvoid + @ccall libsc.sc_statistics_print(stats::Ptr{sc_statistics_t}, package_id::Cint, log_priority::Cint, full::Cint, summary::Cint)::Cvoid end mutable struct sc_options end @@ -5756,8 +5616,7 @@ void sc_options_set_spacing (sc_options_t * opt, int space_type, int space_help) ``` """ function sc_options_set_spacing(opt, space_type, space_help) - @ccall libsc.sc_options_set_spacing(opt::Ptr{sc_options_t}, space_type::Cint, - space_help::Cint)::Cvoid + @ccall libsc.sc_options_set_spacing(opt::Ptr{sc_options_t}, space_type::Cint, space_help::Cint)::Cvoid end """ @@ -5777,9 +5636,7 @@ void sc_options_add_switch (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_switch(opt, opt_char, opt_name, variable, help_string) - @ccall libsc.sc_options_add_switch(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, variable::Ptr{Cint}, - help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_switch(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cint}, help_string::Cstring)::Cvoid end """ @@ -5800,9 +5657,7 @@ void sc_options_add_bool (sc_options_t * opt, int opt_char, const char *opt_name ``` """ function sc_options_add_bool(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_bool(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, variable::Ptr{Cint}, - init_value::Cint, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_bool(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cint}, init_value::Cint, help_string::Cstring)::Cvoid end """ @@ -5823,9 +5678,7 @@ void sc_options_add_int (sc_options_t * opt, int opt_char, const char *opt_name, ``` """ function sc_options_add_int(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_int(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, variable::Ptr{Cint}, - init_value::Cint, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_int(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cint}, init_value::Cint, help_string::Cstring)::Cvoid end """ @@ -5846,9 +5699,7 @@ void sc_options_add_size_t (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_size_t(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_size_t(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, variable::Ptr{Csize_t}, - init_value::Csize_t, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_size_t(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Csize_t}, init_value::Csize_t, help_string::Cstring)::Cvoid end """ @@ -5869,9 +5720,7 @@ void sc_options_add_double (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_double(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_double(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, variable::Ptr{Cdouble}, - init_value::Cdouble, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_double(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cdouble}, init_value::Cdouble, help_string::Cstring)::Cvoid end """ @@ -5892,9 +5741,7 @@ void sc_options_add_string (sc_options_t * opt, int opt_char, const char *opt_na ``` """ function sc_options_add_string(opt, opt_char, opt_name, variable, init_value, help_string) - @ccall libsc.sc_options_add_string(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, variable::Ptr{Cstring}, - init_value::Cstring, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_string(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, variable::Ptr{Cstring}, init_value::Cstring, help_string::Cstring)::Cvoid end """ @@ -5913,8 +5760,7 @@ void sc_options_add_inifile (sc_options_t * opt, int opt_char, const char *opt_n ``` """ function sc_options_add_inifile(opt, opt_char, opt_name, help_string) - @ccall libsc.sc_options_add_inifile(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_inifile(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, help_string::Cstring)::Cvoid end """ @@ -5935,8 +5781,7 @@ void sc_options_add_jsonfile (sc_options_t * opt, int opt_char, const char *opt_ ``` """ function sc_options_add_jsonfile(opt, opt_char, opt_name, help_string) - @ccall libsc.sc_options_add_jsonfile(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_jsonfile(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, help_string::Cstring)::Cvoid end """ @@ -5958,10 +5803,7 @@ void sc_options_add_callback (sc_options_t * opt, int opt_char, const char *opt_ ``` """ function sc_options_add_callback(opt, opt_char, opt_name, has_arg, fn, data, help_string) - @ccall libsc.sc_options_add_callback(opt::Ptr{sc_options_t}, opt_char::Cint, - opt_name::Cstring, has_arg::Cint, - fn::sc_options_callback_t, data::Ptr{Cvoid}, - help_string::Cstring)::Cvoid + @ccall libsc.sc_options_add_callback(opt::Ptr{sc_options_t}, opt_char::Cint, opt_name::Cstring, has_arg::Cint, fn::sc_options_callback_t, data::Ptr{Cvoid}, help_string::Cstring)::Cvoid end """ @@ -5981,8 +5823,7 @@ Add an option that takes string keys into a lookup table of integers. On calling ```c ``` """ -function sc_options_add_keyvalue(opt, opt_char, opt_name, variable, init_value, keyvalue, - help_string) +function sc_options_add_keyvalue(opt, opt_char, opt_name, variable, init_value, keyvalue, help_string) end """ @@ -6000,9 +5841,7 @@ void sc_options_add_suboptions (sc_options_t * opt, sc_options_t * subopt, const ``` """ function sc_options_add_suboptions(opt, subopt, prefix) - @ccall libsc.sc_options_add_suboptions(opt::Ptr{sc_options_t}, - subopt::Ptr{sc_options_t}, - prefix::Cstring)::Cvoid + @ccall libsc.sc_options_add_suboptions(opt::Ptr{sc_options_t}, subopt::Ptr{sc_options_t}, prefix::Cstring)::Cvoid end """ @@ -6021,8 +5860,7 @@ void sc_options_print_usage (int package_id, int log_priority, sc_options_t * op ``` """ function sc_options_print_usage(package_id, log_priority, opt, arg_usage) - @ccall libsc.sc_options_print_usage(package_id::Cint, log_priority::Cint, - opt::Ptr{sc_options_t}, arg_usage::Cstring)::Cvoid + @ccall libsc.sc_options_print_usage(package_id::Cint, log_priority::Cint, opt::Ptr{sc_options_t}, arg_usage::Cstring)::Cvoid end """ @@ -6040,8 +5878,7 @@ void sc_options_print_summary (int package_id, int log_priority, sc_options_t * ``` """ function sc_options_print_summary(package_id, log_priority, opt) - @ccall libsc.sc_options_print_summary(package_id::Cint, log_priority::Cint, - opt::Ptr{sc_options_t})::Cvoid + @ccall libsc.sc_options_print_summary(package_id::Cint, log_priority::Cint, opt::Ptr{sc_options_t})::Cvoid end """ @@ -6062,8 +5899,7 @@ int sc_options_load (int package_id, int err_priority, sc_options_t * opt, const ``` """ function sc_options_load(package_id, err_priority, opt, file) - @ccall libsc.sc_options_load(package_id::Cint, err_priority::Cint, - opt::Ptr{sc_options_t}, file::Cstring)::Cint + @ccall libsc.sc_options_load(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, file::Cstring)::Cint end """ @@ -6085,9 +5921,7 @@ int sc_options_load_ini (int package_id, int err_priority, sc_options_t * opt, c ``` """ function sc_options_load_ini(package_id, err_priority, opt, inifile, re) - @ccall libsc.sc_options_load_ini(package_id::Cint, err_priority::Cint, - opt::Ptr{sc_options_t}, inifile::Cstring, - re::Ptr{Cvoid})::Cint + @ccall libsc.sc_options_load_ini(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, inifile::Cstring, re::Ptr{Cvoid})::Cint end """ @@ -6109,9 +5943,7 @@ int sc_options_load_json (int package_id, int err_priority, sc_options_t * opt, ``` """ function sc_options_load_json(package_id, err_priority, opt, jsonfile, re) - @ccall libsc.sc_options_load_json(package_id::Cint, err_priority::Cint, - opt::Ptr{sc_options_t}, jsonfile::Cstring, - re::Ptr{Cvoid})::Cint + @ccall libsc.sc_options_load_json(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, jsonfile::Cstring, re::Ptr{Cvoid})::Cint end """ @@ -6132,8 +5964,7 @@ int sc_options_save (int package_id, int err_priority, sc_options_t * opt, const ``` """ function sc_options_save(package_id, err_priority, opt, inifile) - @ccall libsc.sc_options_save(package_id::Cint, err_priority::Cint, - opt::Ptr{sc_options_t}, inifile::Cstring)::Cint + @ccall libsc.sc_options_save(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, inifile::Cstring)::Cint end """ @@ -6154,8 +5985,7 @@ int sc_options_load_args (int package_id, int err_priority, sc_options_t * opt, ``` """ function sc_options_load_args(package_id, err_priority, opt, inifile) - @ccall libsc.sc_options_load_args(package_id::Cint, err_priority::Cint, - opt::Ptr{sc_options_t}, inifile::Cstring)::Cint + @ccall libsc.sc_options_load_args(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, inifile::Cstring)::Cint end """ @@ -6177,9 +6007,7 @@ int sc_options_parse (int package_id, int err_priority, sc_options_t * opt, int ``` """ function sc_options_parse(package_id, err_priority, opt, argc, argv) - @ccall libsc.sc_options_parse(package_id::Cint, err_priority::Cint, - opt::Ptr{sc_options_t}, argc::Cint, - argv::Ptr{Cstring})::Cint + @ccall libsc.sc_options_parse(package_id::Cint, err_priority::Cint, opt::Ptr{sc_options_t}, argc::Cint, argv::Ptr{Cstring})::Cint end """ @@ -6191,8 +6019,7 @@ t8_cmesh_t t8_cmesh_from_tetgen_file (char *fileprefix, int partition, sc_MPI_Co ``` """ function t8_cmesh_from_tetgen_file(fileprefix, partition, comm, do_dup) - @ccall libt8.t8_cmesh_from_tetgen_file(fileprefix::Cstring, partition::Cint, - comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_from_tetgen_file(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t end """ @@ -6203,14 +6030,8 @@ end t8_cmesh_t t8_cmesh_from_tetgen_file_time (char *fileprefix, int partition, sc_MPI_Comm comm, int do_dup, sc_flopinfo_t *fi, sc_flopinfo_t *snapshot, sc_statinfo_t *stats, int statentry); ``` """ -function t8_cmesh_from_tetgen_file_time(fileprefix, partition, comm, do_dup, fi, snapshot, - stats, statentry) - @ccall libt8.t8_cmesh_from_tetgen_file_time(fileprefix::Cstring, partition::Cint, - comm::MPI_Comm, do_dup::Cint, - fi::Ptr{sc_flopinfo_t}, - snapshot::Ptr{sc_flopinfo_t}, - stats::Ptr{sc_statinfo_t}, - statentry::Cint)::t8_cmesh_t +function t8_cmesh_from_tetgen_file_time(fileprefix, partition, comm, do_dup, fi, snapshot, stats, statentry) + @ccall libt8.t8_cmesh_from_tetgen_file_time(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, do_dup::Cint, fi::Ptr{sc_flopinfo_t}, snapshot::Ptr{sc_flopinfo_t}, stats::Ptr{sc_statinfo_t}, statentry::Cint)::t8_cmesh_t end """ @@ -6222,8 +6043,7 @@ t8_cmesh_t t8_cmesh_from_triangle_file (char *fileprefix, int partition, sc_MPI_ ``` """ function t8_cmesh_from_triangle_file(fileprefix, partition, comm, do_dup) - @ccall libt8.t8_cmesh_from_triangle_file(fileprefix::Cstring, partition::Cint, - comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_from_triangle_file(fileprefix::Cstring, partition::Cint, comm::MPI_Comm, do_dup::Cint)::t8_cmesh_t end """ @@ -6243,8 +6063,7 @@ int t8_eclass_count_boundary (t8_eclass_t theclass, int min_dim, int *per_eclass ``` """ function t8_eclass_count_boundary(theclass, min_dim, per_eclass) - @ccall libt8.t8_eclass_count_boundary(theclass::t8_eclass_t, min_dim::Cint, - per_eclass::Ptr{Cint})::Cint + @ccall libt8.t8_eclass_count_boundary(theclass::t8_eclass_t, min_dim::Cint, per_eclass::Ptr{Cint})::Cint end """ @@ -6390,8 +6209,7 @@ int t8_element_level (const t8_eclass_scheme_c *ts, const t8_element_t *elem); ``` """ function t8_element_level(ts, elem) - @ccall libt8.t8_element_level(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_level(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6413,8 +6231,7 @@ void t8_element_copy (const t8_eclass_scheme_c *ts, const t8_element_t *source, ``` """ function t8_element_copy(ts, source, dest) - @ccall libt8.t8_element_copy(ts::Ptr{t8_eclass_scheme_c}, source::Ptr{t8_element_t}, - dest::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_copy(ts::Ptr{t8_eclass_scheme_c}, source::Ptr{t8_element_t}, dest::Ptr{t8_element_t})::Cvoid end """ @@ -6434,8 +6251,7 @@ int t8_element_compare (const t8_eclass_scheme_c *ts, const t8_element_t *elem1, ``` """ function t8_element_compare(ts, elem1, elem2) - @ccall libt8.t8_element_compare(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, - elem2::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_compare(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t})::Cint end """ @@ -6455,8 +6271,7 @@ int t8_element_equal (const t8_eclass_scheme_c *ts, const t8_element_t *elem1, c ``` """ function t8_element_equal(ts, elem1, elem2) - @ccall libt8.t8_element_equal(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, - elem2::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_equal(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t})::Cint end """ @@ -6474,8 +6289,7 @@ void t8_element_parent (const t8_eclass_scheme_c *ts, const t8_element_t *elem, ``` """ function t8_element_parent(ts, elem, parent) - @ccall libt8.t8_element_parent(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, - parent::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_parent(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, parent::Ptr{t8_element_t})::Cvoid end """ @@ -6494,8 +6308,7 @@ int t8_element_num_siblings (const t8_eclass_scheme_c *ts, const t8_element_t *e ``` """ function t8_element_num_siblings(ts, elem) - @ccall libt8.t8_element_num_siblings(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_siblings(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6514,8 +6327,7 @@ void t8_element_sibling (const t8_eclass_scheme_c *ts, const t8_element_t *elem, ``` """ function t8_element_sibling(ts, elem, sibid, sibling) - @ccall libt8.t8_element_sibling(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, - sibid::Cint, sibling::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_sibling(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, sibid::Cint, sibling::Ptr{t8_element_t})::Cvoid end """ @@ -6534,8 +6346,7 @@ int t8_element_num_corners (const t8_eclass_scheme_c *ts, const t8_element_t *el ``` """ function t8_element_num_corners(ts, elem) - @ccall libt8.t8_element_num_corners(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_corners(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6554,8 +6365,7 @@ int t8_element_num_faces (const t8_eclass_scheme_c *ts, const t8_element_t *elem ``` """ function t8_element_num_faces(ts, elem) - @ccall libt8.t8_element_num_faces(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_faces(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6574,8 +6384,7 @@ int t8_element_max_num_faces (const t8_eclass_scheme_c *ts, const t8_element_t * ``` """ function t8_element_max_num_faces(ts, elem) - @ccall libt8.t8_element_max_num_faces(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_max_num_faces(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6594,8 +6403,7 @@ int t8_element_num_children (const t8_eclass_scheme_c *ts, const t8_element_t *e ``` """ function t8_element_num_children(ts, elem) - @ccall libt8.t8_element_num_children(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_num_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6615,8 +6423,7 @@ int t8_element_num_face_children (const t8_eclass_scheme_c *ts, const t8_element ``` """ function t8_element_num_face_children(ts, elem, face) - @ccall libt8.t8_element_num_face_children(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_num_face_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -6639,9 +6446,7 @@ int t8_element_get_face_corner (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_get_face_corner(ts, elem, face, corner) - @ccall libt8.t8_element_get_face_corner(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint, - corner::Cint)::Cint + @ccall libt8.t8_element_get_face_corner(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, corner::Cint)::Cint end """ @@ -6662,9 +6467,7 @@ int t8_element_get_corner_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_get_corner_face(ts, elem, corner, face) - @ccall libt8.t8_element_get_corner_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, corner::Cint, - face::Cint)::Cint + @ccall libt8.t8_element_get_corner_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, corner::Cint, face::Cint)::Cint end """ @@ -6683,8 +6486,7 @@ void t8_element_child (const t8_eclass_scheme_c *ts, const t8_element_t *elem, i ``` """ function t8_element_child(ts, elem, childid, child) - @ccall libt8.t8_element_child(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, - childid::Cint, child::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_child(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, childid::Cint, child::Ptr{t8_element_t})::Cvoid end """ @@ -6706,8 +6508,7 @@ void t8_element_children (const t8_eclass_scheme_c *ts, const t8_element_t *elem ``` """ function t8_element_children(ts, elem, length, c) - @ccall libt8.t8_element_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, - length::Cint, c::Ptr{Ptr{t8_element_t}})::Cvoid + @ccall libt8.t8_element_children(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, length::Cint, c::Ptr{Ptr{t8_element_t}})::Cvoid end """ @@ -6726,8 +6527,7 @@ int t8_element_child_id (const t8_eclass_scheme_c *ts, const t8_element_t *elem) ``` """ function t8_element_child_id(ts, elem) - @ccall libt8.t8_element_child_id(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cint + @ccall libt8.t8_element_child_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cint end """ @@ -6747,8 +6547,7 @@ int t8_element_ancestor_id (const t8_eclass_scheme_c *ts, const t8_element_t *el ``` """ function t8_element_ancestor_id(ts, elem, level) - @ccall libt8.t8_element_ancestor_id(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, level::Cint)::Cint + @ccall libt8.t8_element_ancestor_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, level::Cint)::Cint end """ @@ -6767,8 +6566,7 @@ int t8_element_is_family (const t8_eclass_scheme_c *ts, t8_element_t *const *fam ``` """ function t8_element_is_family(ts, fam) - @ccall libt8.t8_element_is_family(ts::Ptr{t8_eclass_scheme_c}, - fam::Ptr{Ptr{t8_element_t}})::Cint + @ccall libt8.t8_element_is_family(ts::Ptr{t8_eclass_scheme_c}, fam::Ptr{Ptr{t8_element_t}})::Cint end """ @@ -6787,8 +6585,7 @@ void t8_element_nca (const t8_eclass_scheme_c *ts, const t8_element_t *elem1, co ``` """ function t8_element_nca(ts, elem1, elem2, nca) - @ccall libt8.t8_element_nca(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, - elem2::Ptr{t8_element_t}, nca::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_nca(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t}, nca::Ptr{t8_element_t})::Cvoid end """Type definition for the geometric shape of an element. Currently the possible shapes are the same as the possible element classes. I.e. T8\\_ECLASS\\_VERTEX, T8\\_ECLASS\\_TET, etc...""" @@ -6811,8 +6608,7 @@ t8_element_shape_t t8_element_face_shape (const t8_eclass_scheme_c *ts, const t8 ``` """ function t8_element_face_shape(ts, elem, face) - @ccall libt8.t8_element_face_shape(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, - face::Cint)::t8_element_shape_t + @ccall libt8.t8_element_face_shape(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::t8_element_shape_t end """ @@ -6833,11 +6629,7 @@ void t8_element_children_at_face (const t8_eclass_scheme_c *ts, const t8_element ``` """ function t8_element_children_at_face(ts, elem, face, children, num_children, child_indices) - @ccall libt8.t8_element_children_at_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint, - children::Ptr{Ptr{t8_element_t}}, - num_children::Cint, - child_indices::Ptr{Cint})::Cvoid + @ccall libt8.t8_element_children_at_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, children::Ptr{Ptr{t8_element_t}}, num_children::Cint, child_indices::Ptr{Cint})::Cvoid end """ @@ -6867,9 +6659,7 @@ int t8_element_face_child_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_face_child_face(ts, elem, face, face_child) - @ccall libt8.t8_element_face_child_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint, - face_child::Cint)::Cint + @ccall libt8.t8_element_face_child_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, face_child::Cint)::Cint end """ @@ -6893,8 +6683,7 @@ int t8_element_face_parent_face (const t8_eclass_scheme_c *ts, const t8_element_ ``` """ function t8_element_face_parent_face(ts, elem, face) - @ccall libt8.t8_element_face_parent_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_face_parent_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -6914,8 +6703,7 @@ int t8_element_tree_face (const t8_eclass_scheme_c *ts, const t8_element_t *elem ``` """ function t8_element_tree_face(ts, elem, face) - @ccall libt8.t8_element_tree_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, - face::Cint)::Cint + @ccall libt8.t8_element_tree_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -6943,10 +6731,7 @@ void t8_element_transform_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_transform_face(ts, elem1, elem2, orientation, sign, is_smaller_face) - @ccall libt8.t8_element_transform_face(ts::Ptr{t8_eclass_scheme_c}, - elem1::Ptr{t8_element_t}, - elem2::Ptr{t8_element_t}, orientation::Cint, - sign::Cint, is_smaller_face::Cint)::Cvoid + @ccall libt8.t8_element_transform_face(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t}, orientation::Cint, sign::Cint, is_smaller_face::Cint)::Cvoid end """ @@ -6968,10 +6753,7 @@ int t8_element_extrude_face (const t8_eclass_scheme_c *ts, const t8_element_t *f ``` """ function t8_element_extrude_face(ts, face, face_scheme, elem, root_face) - @ccall libt8.t8_element_extrude_face(ts::Ptr{t8_eclass_scheme_c}, - face::Ptr{t8_element_t}, - face_scheme::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, root_face::Cint)::Cint + @ccall libt8.t8_element_extrude_face(ts::Ptr{t8_eclass_scheme_c}, face::Ptr{t8_element_t}, face_scheme::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, root_face::Cint)::Cint end """ @@ -6991,10 +6773,7 @@ void t8_element_boundary_face (const t8_eclass_scheme_c *ts, const t8_element_t ``` """ function t8_element_boundary_face(ts, elem, face, boundary, boundary_scheme) - @ccall libt8.t8_element_boundary_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint, - boundary::Ptr{t8_element_t}, - boundary_scheme::Ptr{t8_eclass_scheme_c})::Cvoid + @ccall libt8.t8_element_boundary_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, boundary::Ptr{t8_element_t}, boundary_scheme::Ptr{t8_eclass_scheme_c})::Cvoid end """ @@ -7014,10 +6793,7 @@ void t8_element_first_descendant_face (const t8_eclass_scheme_c *ts, const t8_el ``` """ function t8_element_first_descendant_face(ts, elem, face, first_desc, level) - @ccall libt8.t8_element_first_descendant_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint, - first_desc::Ptr{t8_element_t}, - level::Cint)::Cvoid + @ccall libt8.t8_element_first_descendant_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, first_desc::Ptr{t8_element_t}, level::Cint)::Cvoid end """ @@ -7037,10 +6813,7 @@ void t8_element_last_descendant_face (const t8_eclass_scheme_c *ts, const t8_ele ``` """ function t8_element_last_descendant_face(ts, elem, face, last_desc, level) - @ccall libt8.t8_element_last_descendant_face(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint, - last_desc::Ptr{t8_element_t}, - level::Cint)::Cvoid + @ccall libt8.t8_element_last_descendant_face(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint, last_desc::Ptr{t8_element_t}, level::Cint)::Cvoid end """ @@ -7060,8 +6833,7 @@ int t8_element_is_root_boundary (const t8_eclass_scheme_c *ts, const t8_element_ ``` """ function t8_element_is_root_boundary(ts, elem, face) - @ccall libt8.t8_element_is_root_boundary(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_element_is_root_boundary(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -7083,10 +6855,7 @@ int t8_element_face_neighbor_inside (const t8_eclass_scheme_c *ts, const t8_elem ``` """ function t8_element_face_neighbor_inside(ts, elem, neigh, face, neigh_face) - @ccall libt8.t8_element_face_neighbor_inside(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, - neigh::Ptr{t8_element_t}, face::Cint, - neigh_face::Ptr{Cint})::Cint + @ccall libt8.t8_element_face_neighbor_inside(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, neigh::Ptr{t8_element_t}, face::Cint, neigh_face::Ptr{Cint})::Cint end """ @@ -7105,8 +6874,7 @@ t8_element_shape_t t8_element_shape (const t8_eclass_scheme_c *ts, const t8_elem ``` """ function t8_element_shape(ts, elem) - @ccall libt8.t8_element_shape(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::t8_element_shape_t + @ccall libt8.t8_element_shape(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::t8_element_shape_t end """ @@ -7125,9 +6893,7 @@ void t8_element_set_linear_id (const t8_eclass_scheme_c *ts, t8_element_t *elem, ``` """ function t8_element_set_linear_id(ts, elem, level, id) - @ccall libt8.t8_element_set_linear_id(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, level::Cint, - id::t8_linearidx_t)::Cvoid + @ccall libt8.t8_element_set_linear_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, level::Cint, id::t8_linearidx_t)::Cvoid end """ @@ -7147,9 +6913,7 @@ t8_linearidx_t t8_element_get_linear_id (const t8_eclass_scheme_c *ts, const t8_ ``` """ function t8_element_get_linear_id(ts, elem, level) - @ccall libt8.t8_element_get_linear_id(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, - level::Cint)::t8_linearidx_t + @ccall libt8.t8_element_get_linear_id(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, level::Cint)::t8_linearidx_t end """ @@ -7167,9 +6931,7 @@ void t8_element_first_descendant (const t8_eclass_scheme_c *ts, const t8_element ``` """ function t8_element_first_descendant(ts, elem, desc, level) - @ccall libt8.t8_element_first_descendant(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, - desc::Ptr{t8_element_t}, level::Cint)::Cvoid + @ccall libt8.t8_element_first_descendant(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, desc::Ptr{t8_element_t}, level::Cint)::Cvoid end """ @@ -7187,9 +6949,7 @@ void t8_element_last_descendant (const t8_eclass_scheme_c *ts, const t8_element_ ``` """ function t8_element_last_descendant(ts, elem, desc, level) - @ccall libt8.t8_element_last_descendant(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t}, - desc::Ptr{t8_element_t}, level::Cint)::Cvoid + @ccall libt8.t8_element_last_descendant(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t}, desc::Ptr{t8_element_t}, level::Cint)::Cvoid end """ @@ -7208,8 +6968,7 @@ void t8_element_successor (const t8_eclass_scheme_c *ts, const t8_element_t *ele ``` """ function t8_element_successor(ts, elem1, elem2) - @ccall libt8.t8_element_successor(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, - elem2::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_successor(ts::Ptr{t8_eclass_scheme_c}, elem1::Ptr{t8_element_t}, elem2::Ptr{t8_element_t})::Cvoid end """ @@ -7231,9 +6990,7 @@ void t8_element_vertex_reference_coords (const t8_eclass_scheme_c *ts, const t8_ ``` """ function t8_element_vertex_reference_coords(ts, t, vertex, coords) - @ccall libt8.t8_element_vertex_reference_coords(ts::Ptr{t8_eclass_scheme_c}, - t::Ptr{t8_element_t}, vertex::Cint, - coords::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_element_vertex_reference_coords(ts::Ptr{t8_eclass_scheme_c}, t::Ptr{t8_element_t}, vertex::Cint, coords::Ptr{Cdouble})::Cvoid end """ @@ -7255,8 +7012,7 @@ t8_gloidx_t t8_element_count_leaves (const t8_eclass_scheme_c *ts, const t8_elem ``` """ function t8_element_count_leaves(ts, t, level) - @ccall libt8.t8_element_count_leaves(ts::Ptr{t8_eclass_scheme_c}, t::Ptr{t8_element_t}, - level::Cint)::t8_gloidx_t + @ccall libt8.t8_element_count_leaves(ts::Ptr{t8_eclass_scheme_c}, t::Ptr{t8_element_t}, level::Cint)::t8_gloidx_t end """ @@ -7277,8 +7033,7 @@ t8_gloidx_t t8_element_count_leaves_from_root (const t8_eclass_scheme_c *ts, int ``` """ function t8_element_count_leaves_from_root(ts, level) - @ccall libt8.t8_element_count_leaves_from_root(ts::Ptr{t8_eclass_scheme_c}, - level::Cint)::t8_gloidx_t + @ccall libt8.t8_element_count_leaves_from_root(ts::Ptr{t8_eclass_scheme_c}, level::Cint)::t8_gloidx_t end """ @@ -7311,8 +7066,7 @@ void t8_element_new (const t8_eclass_scheme_c *ts, int length, t8_element_t **el ``` """ function t8_element_new(ts, length, elems) - @ccall libt8.t8_element_new(ts::Ptr{t8_eclass_scheme_c}, length::Cint, - elems::Ptr{Ptr{t8_element_t}})::Cvoid + @ccall libt8.t8_element_new(ts::Ptr{t8_eclass_scheme_c}, length::Cint, elems::Ptr{Ptr{t8_element_t}})::Cvoid end """ @@ -7330,8 +7084,7 @@ void t8_element_destroy (const t8_eclass_scheme_c *ts, int length, t8_element_t ``` """ function t8_element_destroy(ts, length, elems) - @ccall libt8.t8_element_destroy(ts::Ptr{t8_eclass_scheme_c}, length::Cint, - elems::Ptr{Ptr{t8_element_t}})::Cvoid + @ccall libt8.t8_element_destroy(ts::Ptr{t8_eclass_scheme_c}, length::Cint, elems::Ptr{Ptr{t8_element_t}})::Cvoid end """ @@ -7348,8 +7101,7 @@ void t8_element_root (const t8_eclass_scheme_c *ts, t8_element_t *elem); ``` """ function t8_element_root(ts, elem) - @ccall libt8.t8_element_root(ts::Ptr{t8_eclass_scheme_c}, - elem::Ptr{t8_element_t})::Cvoid + @ccall libt8.t8_element_root(ts::Ptr{t8_eclass_scheme_c}, elem::Ptr{t8_element_t})::Cvoid end """ @@ -7361,10 +7113,7 @@ void t8_element_MPI_Pack (const t8_eclass_scheme_c *ts, t8_element_t **const ele ``` """ function t8_element_MPI_Pack(ts, elements, count, send_buffer, buffer_size, position, comm) - @ccall libt8.t8_element_MPI_Pack(ts::Ptr{t8_eclass_scheme_c}, - elements::Ptr{Ptr{t8_element_t}}, count::Cuint, - send_buffer::Ptr{Cvoid}, buffer_size::Cint, - position::Ptr{Cint}, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_element_MPI_Pack(ts::Ptr{t8_eclass_scheme_c}, elements::Ptr{Ptr{t8_element_t}}, count::Cuint, send_buffer::Ptr{Cvoid}, buffer_size::Cint, position::Ptr{Cint}, comm::MPI_Comm)::Cvoid end """ @@ -7376,8 +7125,7 @@ void t8_element_MPI_Pack_size (const t8_eclass_scheme_c *ts, const unsigned int ``` """ function t8_element_MPI_Pack_size(ts, count, comm, pack_size) - @ccall libt8.t8_element_MPI_Pack_size(ts::Ptr{t8_eclass_scheme_c}, count::Cuint, - comm::MPI_Comm, pack_size::Ptr{Cint})::Cvoid + @ccall libt8.t8_element_MPI_Pack_size(ts::Ptr{t8_eclass_scheme_c}, count::Cuint, comm::MPI_Comm, pack_size::Ptr{Cint})::Cvoid end """ @@ -7389,10 +7137,7 @@ void t8_element_MPI_Unpack (const t8_eclass_scheme_c *ts, void *recvbuf, const i ``` """ function t8_element_MPI_Unpack(ts, recvbuf, buffer_size, position, elements, count, comm) - @ccall libt8.t8_element_MPI_Unpack(ts::Ptr{t8_eclass_scheme_c}, recvbuf::Ptr{Cvoid}, - buffer_size::Cint, position::Ptr{Cint}, - elements::Ptr{Ptr{t8_element_t}}, count::Cuint, - comm::MPI_Comm)::Cvoid + @ccall libt8.t8_element_MPI_Unpack(ts::Ptr{t8_eclass_scheme_c}, recvbuf::Ptr{Cvoid}, buffer_size::Cint, position::Ptr{Cint}, elements::Ptr{Ptr{t8_element_t}}, count::Cuint, comm::MPI_Comm)::Cvoid end """ @@ -7495,8 +7240,7 @@ int t8_element_shape_compare (t8_element_shape_t element_shape1, t8_element_shap ``` """ function t8_element_shape_compare(element_shape1, element_shape2) - @ccall libt8.t8_element_shape_compare(element_shape1::t8_element_shape_t, - element_shape2::t8_element_shape_t)::Cint + @ccall libt8.t8_element_shape_compare(element_shape1::t8_element_shape_t, element_shape2::t8_element_shape_t)::Cint end """ @@ -7596,13 +7340,8 @@ const t8_forest_t = Ptr{t8_forest} void t8_forest_write_netcdf (t8_forest_t forest, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *ext_variables[], sc_MPI_Comm comm); ``` """ -function t8_forest_write_netcdf(forest, file_prefix, file_title, dim, - num_extern_netcdf_vars, ext_variables, comm) - @ccall libt8.t8_forest_write_netcdf(forest::t8_forest_t, file_prefix::Cstring, - file_title::Cstring, dim::Cint, - num_extern_netcdf_vars::Cint, - ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, - comm::MPI_Comm)::Cvoid +function t8_forest_write_netcdf(forest, file_prefix, file_title, dim, num_extern_netcdf_vars, ext_variables, comm) + @ccall libt8.t8_forest_write_netcdf(forest::t8_forest_t, file_prefix::Cstring, file_title::Cstring, dim::Cint, num_extern_netcdf_vars::Cint, ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, comm::MPI_Comm)::Cvoid end """ @@ -7613,15 +7352,8 @@ end void t8_forest_write_netcdf_ext (t8_forest_t forest, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *ext_variables[], sc_MPI_Comm comm, int netcdf_var_storage_mode, int netcdf_var_mpi_access); ``` """ -function t8_forest_write_netcdf_ext(forest, file_prefix, file_title, dim, - num_extern_netcdf_vars, ext_variables, comm, - netcdf_var_storage_mode, netcdf_var_mpi_access) - @ccall libt8.t8_forest_write_netcdf_ext(forest::t8_forest_t, file_prefix::Cstring, - file_title::Cstring, dim::Cint, - num_extern_netcdf_vars::Cint, - ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, - comm::MPI_Comm, netcdf_var_storage_mode::Cint, - netcdf_var_mpi_access::Cint)::Cvoid +function t8_forest_write_netcdf_ext(forest, file_prefix, file_title, dim, num_extern_netcdf_vars, ext_variables, comm, netcdf_var_storage_mode, netcdf_var_mpi_access) + @ccall libt8.t8_forest_write_netcdf_ext(forest::t8_forest_t, file_prefix::Cstring, file_title::Cstring, dim::Cint, num_extern_netcdf_vars::Cint, ext_variables::Ptr{Ptr{t8_netcdf_variable_t}}, comm::MPI_Comm, netcdf_var_storage_mode::Cint, netcdf_var_mpi_access::Cint)::Cvoid end """ @@ -7690,8 +7422,7 @@ static inline void t8_mat_mult_vec (const double mat[3][3], const double a[3], d ``` """ function t8_mat_mult_vec(mat, a, b) - @ccall libt8.t8_mat_mult_vec(mat::Ptr{NTuple{3, Cdouble}}, a::Ptr{Cdouble}, - b::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_mat_mult_vec(mat::Ptr{NTuple{3, Cdouble}}, a::Ptr{Cdouble}, b::Ptr{Cdouble})::Cvoid end """ @@ -7709,8 +7440,7 @@ static inline void t8_mat_mult_mat (const double A[3][3], const double B[3][3], ``` """ function t8_mat_mult_mat(A, B, C) - @ccall libt8.t8_mat_mult_mat(A::Ptr{NTuple{3, Cdouble}}, B::Ptr{NTuple{3, Cdouble}}, - C::Ptr{NTuple{3, Cdouble}})::Cvoid + @ccall libt8.t8_mat_mult_mat(A::Ptr{NTuple{3, Cdouble}}, B::Ptr{NTuple{3, Cdouble}}, C::Ptr{NTuple{3, Cdouble}})::Cvoid end mutable struct t8_mesh end @@ -7728,8 +7458,7 @@ t8_mesh_t * t8_mesh_new (int dimension, t8_gloidx_t Kglobal, t8_locidx_t Klocal) ``` """ function t8_mesh_new(dimension, Kglobal, Klocal) - @ccall libt8.t8_mesh_new(dimension::Cint, Kglobal::t8_gloidx_t, - Klocal::t8_locidx_t)::Ptr{t8_mesh_t} + @ccall libt8.t8_mesh_new(dimension::Cint, Kglobal::t8_gloidx_t, Klocal::t8_locidx_t)::Ptr{t8_mesh_t} end """ @@ -7781,8 +7510,7 @@ void t8_mesh_set_element (t8_mesh_t *mesh, t8_eclass_t theclass, t8_gloidx_t glo ``` """ function t8_mesh_set_element(mesh, theclass, gloid, locid) - @ccall libt8.t8_mesh_set_element(mesh::Ptr{t8_mesh_t}, theclass::t8_eclass_t, - gloid::t8_gloidx_t, locid::t8_locidx_t)::Cvoid + @ccall libt8.t8_mesh_set_element(mesh::Ptr{t8_mesh_t}, theclass::t8_eclass_t, gloid::t8_gloidx_t, locid::t8_locidx_t)::Cvoid end """ @@ -7794,8 +7522,7 @@ void t8_mesh_set_local_to_global (t8_mesh_t *mesh, t8_locidx_t ltog_length, cons ``` """ function t8_mesh_set_local_to_global(mesh, ltog_length, ltog) - @ccall libt8.t8_mesh_set_local_to_global(mesh::Ptr{t8_mesh_t}, ltog_length::t8_locidx_t, - ltog::Ptr{t8_gloidx_t})::Cvoid + @ccall libt8.t8_mesh_set_local_to_global(mesh::Ptr{t8_mesh_t}, ltog_length::t8_locidx_t, ltog::Ptr{t8_gloidx_t})::Cvoid end """ @@ -7807,9 +7534,7 @@ void t8_mesh_set_face (t8_mesh_t *mesh, t8_locidx_t locid1, int face1, t8_locidx ``` """ function t8_mesh_set_face(mesh, locid1, face1, locid2, face2, orientation) - @ccall libt8.t8_mesh_set_face(mesh::Ptr{t8_mesh_t}, locid1::t8_locidx_t, face1::Cint, - locid2::t8_locidx_t, face2::Cint, - orientation::Cint)::Cvoid + @ccall libt8.t8_mesh_set_face(mesh::Ptr{t8_mesh_t}, locid1::t8_locidx_t, face1::Cint, locid2::t8_locidx_t, face2::Cint, orientation::Cint)::Cvoid end """ @@ -7821,9 +7546,7 @@ void t8_mesh_set_element_vertices (t8_mesh_t *mesh, t8_locidx_t locid, t8_locidx ``` """ function t8_mesh_set_element_vertices(mesh, locid, vids_length, vids) - @ccall libt8.t8_mesh_set_element_vertices(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, - vids_length::t8_locidx_t, - vids::Ptr{t8_locidx_t})::Cvoid + @ccall libt8.t8_mesh_set_element_vertices(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, vids_length::t8_locidx_t, vids::Ptr{t8_locidx_t})::Cvoid end """ @@ -7861,8 +7584,7 @@ t8_locidx_t t8_mesh_get_element_count (t8_mesh_t *mesh, t8_eclass_t theclass); ``` """ function t8_mesh_get_element_count(mesh, theclass) - @ccall libt8.t8_mesh_get_element_count(mesh::Ptr{t8_mesh_t}, - theclass::t8_eclass_t)::t8_locidx_t + @ccall libt8.t8_mesh_get_element_count(mesh::Ptr{t8_mesh_t}, theclass::t8_eclass_t)::t8_locidx_t end """ @@ -7876,8 +7598,7 @@ t8_locidx_t t8_mesh_get_element_class (t8_mesh_t *mesh, t8_locidx_t locid); ``` """ function t8_mesh_get_element_class(mesh, locid) - @ccall libt8.t8_mesh_get_element_class(mesh::Ptr{t8_mesh_t}, - locid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_mesh_get_element_class(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t)::t8_locidx_t end """ @@ -7889,8 +7610,7 @@ t8_locidx_t t8_mesh_get_element_locid (t8_mesh_t *mesh, t8_gloidx_t gloid); ``` """ function t8_mesh_get_element_locid(mesh, gloid) - @ccall libt8.t8_mesh_get_element_locid(mesh::Ptr{t8_mesh_t}, - gloid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_mesh_get_element_locid(mesh::Ptr{t8_mesh_t}, gloid::t8_gloidx_t)::t8_locidx_t end """ @@ -7902,8 +7622,7 @@ t8_gloidx_t t8_mesh_get_element_gloid (t8_mesh_t *mesh, t8_locidx_t locid); ``` """ function t8_mesh_get_element_gloid(mesh, locid) - @ccall libt8.t8_mesh_get_element_gloid(mesh::Ptr{t8_mesh_t}, - locid::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_mesh_get_element_gloid(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t)::t8_gloidx_t end """ @@ -7927,10 +7646,7 @@ void t8_mesh_get_element_boundary (t8_mesh_t *mesh, t8_locidx_t locid, int lengt ``` """ function t8_mesh_get_element_boundary(mesh, locid, length_boundary, elemid, orientation) - @ccall libt8.t8_mesh_get_element_boundary(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, - length_boundary::Cint, - elemid::Ptr{t8_locidx_t}, - orientation::Ptr{Cint})::Cvoid + @ccall libt8.t8_mesh_get_element_boundary(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, length_boundary::Cint, elemid::Ptr{t8_locidx_t}, orientation::Ptr{Cint})::Cvoid end """ @@ -7958,10 +7674,7 @@ void t8_mesh_get_element_support (t8_mesh_t *mesh, t8_locidx_t locid, int *lengt ``` """ function t8_mesh_get_element_support(mesh, locid, length_support, elemid, orientation) - @ccall libt8.t8_mesh_get_element_support(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, - length_support::Ptr{Cint}, - elemid::Ptr{t8_locidx_t}, - orientation::Ptr{Cint})::Cvoid + @ccall libt8.t8_mesh_get_element_support(mesh::Ptr{t8_mesh_t}, locid::t8_locidx_t, length_support::Ptr{Cint}, elemid::Ptr{t8_locidx_t}, orientation::Ptr{Cint})::Cvoid end """ @@ -8000,10 +7713,7 @@ t8_netcdf_variable_t * t8_netcdf_create_var (t8_netcdf_variable_type_t var_type, ``` """ function t8_netcdf_create_var(var_type, var_name, var_long_name, var_unit, var_data) - @ccall libt8.t8_netcdf_create_var(var_type::t8_netcdf_variable_type_t, - var_name::Cstring, var_long_name::Cstring, - var_unit::Cstring, - var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} + @ccall libt8.t8_netcdf_create_var(var_type::t8_netcdf_variable_type_t, var_name::Cstring, var_long_name::Cstring, var_unit::Cstring, var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} end """ @@ -8023,9 +7733,7 @@ t8_netcdf_variable_t * t8_netcdf_create_integer_var (const char *var_name, const ``` """ function t8_netcdf_create_integer_var(var_name, var_long_name, var_unit, var_data) - @ccall libt8.t8_netcdf_create_integer_var(var_name::Cstring, var_long_name::Cstring, - var_unit::Cstring, - var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} + @ccall libt8.t8_netcdf_create_integer_var(var_name::Cstring, var_long_name::Cstring, var_unit::Cstring, var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} end """ @@ -8045,9 +7753,7 @@ t8_netcdf_variable_t * t8_netcdf_create_double_var (const char *var_name, const ``` """ function t8_netcdf_create_double_var(var_name, var_long_name, var_unit, var_data) - @ccall libt8.t8_netcdf_create_double_var(var_name::Cstring, var_long_name::Cstring, - var_unit::Cstring, - var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} + @ccall libt8.t8_netcdf_create_double_var(var_name::Cstring, var_long_name::Cstring, var_unit::Cstring, var_data::Ptr{sc_array_t})::Ptr{t8_netcdf_variable_t} end """ @@ -8239,8 +7945,7 @@ static inline void t8_vec_axb (const double vec_x[3], double vec_y[3], const dou ``` """ function t8_vec_axb(vec_x, vec_y, alpha, b) - @ccall libt8.t8_vec_axb(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, alpha::Cdouble, - b::Cdouble)::Cvoid + @ccall libt8.t8_vec_axb(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, alpha::Cdouble, b::Cdouble)::Cvoid end """ @@ -8258,8 +7963,7 @@ static inline void t8_vec_axpy (const double vec_x[3], double vec_y[3], const do ``` """ function t8_vec_axpy(vec_x, vec_y, alpha) - @ccall libt8.t8_vec_axpy(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, - alpha::Cdouble)::Cvoid + @ccall libt8.t8_vec_axpy(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, alpha::Cdouble)::Cvoid end """ @@ -8277,8 +7981,7 @@ static inline void t8_vec_axpyz (const double vec_x[3], const double vec_y[3], d ``` """ function t8_vec_axpyz(vec_x, vec_y, vec_z, alpha) - @ccall libt8.t8_vec_axpyz(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, vec_z::Ptr{Cdouble}, - alpha::Cdouble)::Cvoid + @ccall libt8.t8_vec_axpyz(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, vec_z::Ptr{Cdouble}, alpha::Cdouble)::Cvoid end """ @@ -8315,8 +8018,7 @@ static inline void t8_vec_cross (const double vec_x[3], const double vec_y[3], d ``` """ function t8_vec_cross(vec_x, vec_y, cross) - @ccall libt8.t8_vec_cross(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, - cross::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_cross(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, cross::Ptr{Cdouble})::Cvoid end """ @@ -8334,8 +8036,7 @@ static inline void t8_vec_diff (const double vec_x[3], const double vec_y[3], do ``` """ function t8_vec_diff(vec_x, vec_y, diff) - @ccall libt8.t8_vec_diff(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, - diff::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_diff(vec_x::Ptr{Cdouble}, vec_y::Ptr{Cdouble}, diff::Ptr{Cdouble})::Cvoid end """ @@ -8391,8 +8092,7 @@ static inline void t8_vec_tri_normal (const double p1[3], const double p2[3], co ``` """ function t8_vec_tri_normal(p1, p2, p3, normal) - @ccall libt8.t8_vec_tri_normal(p1::Ptr{Cdouble}, p2::Ptr{Cdouble}, p3::Ptr{Cdouble}, - normal::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_tri_normal(p1::Ptr{Cdouble}, p2::Ptr{Cdouble}, p3::Ptr{Cdouble}, normal::Ptr{Cdouble})::Cvoid end """ @@ -8410,8 +8110,7 @@ static inline void t8_vec_orthogonal_tripod (const double v1[3], double v2[3], d ``` """ function t8_vec_orthogonal_tripod(v1, v2, v3) - @ccall libt8.t8_vec_orthogonal_tripod(v1::Ptr{Cdouble}, v2::Ptr{Cdouble}, - v3::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_vec_orthogonal_tripod(v1::Ptr{Cdouble}, v2::Ptr{Cdouble}, v3::Ptr{Cdouble})::Cvoid end """ @@ -8563,11 +8262,8 @@ end int t8_write_pvtu (const char *filename, int num_procs, int write_tree, int write_rank, int write_level, int write_id, int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_write_pvtu(filename, num_procs, write_tree, write_rank, write_level, write_id, - num_data, data) - @ccall libt8.t8_write_pvtu(filename::Cstring, num_procs::Cint, write_tree::Cint, - write_rank::Cint, write_level::Cint, write_id::Cint, - num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint +function t8_write_pvtu(filename, num_procs, write_tree, write_rank, write_level, write_id, num_data, data) + @ccall libt8.t8_write_pvtu(filename::Cstring, num_procs::Cint, write_tree::Cint, write_rank::Cint, write_level::Cint, write_id::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -8579,8 +8275,7 @@ static ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *stream) ``` """ function getdelim(lineptr, n, delimiter, stream) - @ccall libt8.getdelim(lineptr::Ptr{Cstring}, n::Ptr{Cint}, delimiter::Cint, - stream::Ptr{Cint})::Cint + @ccall libt8.getdelim(lineptr::Ptr{Cstring}, n::Ptr{Cint}, delimiter::Cint, stream::Ptr{Cint})::Cint end """ @@ -8620,8 +8315,7 @@ void t8_cmesh_copy (t8_cmesh_t cmesh, t8_cmesh_t cmesh_from, sc_MPI_Comm comm); ``` """ function t8_cmesh_copy(cmesh, cmesh_from, comm) - @ccall libt8.t8_cmesh_copy(cmesh::t8_cmesh_t, cmesh_from::t8_cmesh_t, - comm::MPI_Comm)::Cvoid + @ccall libt8.t8_cmesh_copy(cmesh::t8_cmesh_t, cmesh_from::t8_cmesh_t, comm::MPI_Comm)::Cvoid end """ @@ -8633,8 +8327,7 @@ void sc_io_read (sc_MPI_File mpifile, void *ptr, size_t zcount, sc_MPI_Datatype ``` """ function sc_io_read(mpifile, ptr, zcount, t, errmsg) - @ccall libsc.sc_io_read(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, - t::MPI_Datatype, errmsg::Cstring)::Cvoid + @ccall libsc.sc_io_read(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, t::MPI_Datatype, errmsg::Cstring)::Cvoid end """ @@ -8646,8 +8339,7 @@ void sc_io_write (sc_MPI_File mpifile, const void *ptr, size_t zcount, sc_MPI_Da ``` """ function sc_io_write(mpifile, ptr, zcount, t, errmsg) - @ccall libsc.sc_io_write(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, - t::MPI_Datatype, errmsg::Cstring)::Cvoid + @ccall libsc.sc_io_write(mpifile::MPI_File, ptr::Ptr{Cvoid}, zcount::Csize_t, t::MPI_Datatype, errmsg::Cstring)::Cvoid end """Typedef for quadrant coordinates.""" @@ -8815,9 +8507,8 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_io_sink_new(iotype, iomode, ioencode, va_list...) - :(@ccall(libsc.sc_io_sink_new(iotype::Cint, iomode::Cint, ioencode::Cint; - $(to_c_type_pairs(va_list)...))::Ptr{sc_io_sink_t})) -end + :(@ccall(libsc.sc_io_sink_new(iotype::Cint, iomode::Cint, ioencode::Cint; $(to_c_type_pairs(va_list)...))::Ptr{sc_io_sink_t})) + end """ sc_io_sink_destroy(sink) @@ -8872,8 +8563,7 @@ int sc_io_sink_write (sc_io_sink_t * sink, const void *data, size_t bytes_avail) ``` """ function sc_io_sink_write(sink, data, bytes_avail) - @ccall libsc.sc_io_sink_write(sink::Ptr{sc_io_sink_t}, data::Ptr{Cvoid}, - bytes_avail::Csize_t)::Cint + @ccall libsc.sc_io_sink_write(sink::Ptr{sc_io_sink_t}, data::Ptr{Cvoid}, bytes_avail::Csize_t)::Cint end """ @@ -8893,8 +8583,7 @@ int sc_io_sink_complete (sc_io_sink_t * sink, size_t *bytes_in, size_t *bytes_ou ``` """ function sc_io_sink_complete(sink, bytes_in, bytes_out) - @ccall libsc.sc_io_sink_complete(sink::Ptr{sc_io_sink_t}, bytes_in::Ptr{Csize_t}, - bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_sink_complete(sink::Ptr{sc_io_sink_t}, bytes_in::Ptr{Csize_t}, bytes_out::Ptr{Csize_t})::Cint end """ @@ -8918,9 +8607,8 @@ end # automatic type deduction for variadic arguments may not be what you want, please use with caution @generated function sc_io_source_new(iotype, ioencode, va_list...) - :(@ccall(libsc.sc_io_source_new(iotype::Cint, ioencode::Cint; - $(to_c_type_pairs(va_list)...))::Ptr{sc_io_source_t})) -end + :(@ccall(libsc.sc_io_source_new(iotype::Cint, ioencode::Cint; $(to_c_type_pairs(va_list)...))::Ptr{sc_io_source_t})) + end """ sc_io_source_destroy(source) @@ -8976,8 +8664,7 @@ int sc_io_source_read (sc_io_source_t * source, void *data, size_t bytes_avail, ``` """ function sc_io_source_read(source, data, bytes_avail, bytes_out) - @ccall libsc.sc_io_source_read(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, - bytes_avail::Csize_t, bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_source_read(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, bytes_avail::Csize_t, bytes_out::Ptr{Csize_t})::Cint end """ @@ -8997,8 +8684,7 @@ int sc_io_source_complete (sc_io_source_t * source, size_t *bytes_in, size_t *by ``` """ function sc_io_source_complete(source, bytes_in, bytes_out) - @ccall libsc.sc_io_source_complete(source::Ptr{sc_io_source_t}, bytes_in::Ptr{Csize_t}, - bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_source_complete(source::Ptr{sc_io_source_t}, bytes_in::Ptr{Csize_t}, bytes_out::Ptr{Csize_t})::Cint end """ @@ -9056,9 +8742,7 @@ int sc_io_source_read_mirror (sc_io_source_t * source, void *data, size_t bytes_ ``` """ function sc_io_source_read_mirror(source, data, bytes_avail, bytes_out) - @ccall libsc.sc_io_source_read_mirror(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, - bytes_avail::Csize_t, - bytes_out::Ptr{Csize_t})::Cint + @ccall libsc.sc_io_source_read_mirror(source::Ptr{sc_io_source_t}, data::Ptr{Cvoid}, bytes_avail::Csize_t, bytes_out::Ptr{Csize_t})::Cint end """ @@ -9142,9 +8826,7 @@ void sc_io_encode_zlib (sc_array_t *data, sc_array_t *out, int zlib_compression_ ``` """ function sc_io_encode_zlib(data, out, zlib_compression_level, line_break_character) - @ccall libsc.sc_io_encode_zlib(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, - zlib_compression_level::Cint, - line_break_character::Cint)::Cvoid + @ccall libsc.sc_io_encode_zlib(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, zlib_compression_level::Cint, line_break_character::Cint)::Cvoid end """ @@ -9169,8 +8851,7 @@ int sc_io_decode_info (sc_array_t *data, size_t *original_size, char *format_cha ``` """ function sc_io_decode_info(data, original_size, format_char, re) - @ccall libsc.sc_io_decode_info(data::Ptr{sc_array_t}, original_size::Ptr{Csize_t}, - format_char::Cstring, re::Ptr{Cvoid})::Cint + @ccall libsc.sc_io_decode_info(data::Ptr{sc_array_t}, original_size::Ptr{Csize_t}, format_char::Cstring, re::Ptr{Cvoid})::Cint end """ @@ -9203,8 +8884,7 @@ int sc_io_decode (sc_array_t *data, sc_array_t *out, size_t max_original_size, v ``` """ function sc_io_decode(data, out, max_original_size, re) - @ccall libsc.sc_io_decode(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, - max_original_size::Csize_t, re::Ptr{Cvoid})::Cint + @ccall libsc.sc_io_decode(data::Ptr{sc_array_t}, out::Ptr{sc_array_t}, max_original_size::Csize_t, re::Ptr{Cvoid})::Cint end """ @@ -9224,8 +8904,7 @@ int sc_vtk_write_binary (FILE * vtkfile, char *numeric_data, size_t byte_length) ``` """ function sc_vtk_write_binary(vtkfile, numeric_data, byte_length) - @ccall libsc.sc_vtk_write_binary(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, - byte_length::Csize_t)::Cint + @ccall libsc.sc_vtk_write_binary(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, byte_length::Csize_t)::Cint end """ @@ -9245,8 +8924,7 @@ int sc_vtk_write_compressed (FILE * vtkfile, char *numeric_data, size_t byte_len ``` """ function sc_vtk_write_compressed(vtkfile, numeric_data, byte_length) - @ccall libsc.sc_vtk_write_compressed(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, - byte_length::Csize_t)::Cint + @ccall libsc.sc_vtk_write_compressed(vtkfile::Ptr{Libc.FILE}, numeric_data::Cstring, byte_length::Csize_t)::Cint end """ @@ -9284,8 +8962,7 @@ void sc_fwrite (const void *ptr, size_t size, size_t nmemb, FILE * file, const c ``` """ function sc_fwrite(ptr, size, nmemb, file, errmsg) - @ccall libsc.sc_fwrite(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, - file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid + @ccall libsc.sc_fwrite(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid end """ @@ -9309,8 +8986,7 @@ void sc_fread (void *ptr, size_t size, size_t nmemb, FILE * file, const char *er ``` """ function sc_fread(ptr, size, nmemb, file, errmsg) - @ccall libsc.sc_fread(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, - file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid + @ccall libsc.sc_fread(ptr::Ptr{Cvoid}, size::Csize_t, nmemb::Csize_t, file::Ptr{Libc.FILE}, errmsg::Cstring)::Cvoid end """ @@ -9338,8 +9014,7 @@ int sc_io_open (sc_MPI_Comm mpicomm, const char *filename, sc_io_open_mode_t amo ``` """ function sc_io_open(mpicomm, filename, amode, mpiinfo, mpifile) - @ccall libsc.sc_io_open(mpicomm::MPI_Comm, filename::Cstring, amode::sc_io_open_mode_t, - mpiinfo::Cint, mpifile::Ptr{Cint})::Cint + @ccall libsc.sc_io_open(mpicomm::MPI_Comm, filename::Cstring, amode::sc_io_open_mode_t, mpiinfo::Cint, mpifile::Ptr{Cint})::Cint end """ @@ -9351,8 +9026,7 @@ int sc_io_read_at (sc_MPI_File mpifile, sc_MPI_Offset offset, void *ptr, int cou ``` """ function sc_io_read_at(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_read_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, - count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_read_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9364,8 +9038,7 @@ int sc_io_read_at_all (sc_MPI_File mpifile, sc_MPI_Offset offset, void *ptr, int ``` """ function sc_io_read_at_all(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_read_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, - count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_read_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9377,8 +9050,7 @@ int sc_io_write_at (sc_MPI_File mpifile, sc_MPI_Offset offset, const void *ptr, ``` """ function sc_io_write_at(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_write_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, - count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_write_at(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9390,8 +9062,7 @@ int sc_io_write_at_all (sc_MPI_File mpifile, sc_MPI_Offset offset, const void *p ``` """ function sc_io_write_at_all(mpifile, offset, ptr, count, t, ocount) - @ccall libsc.sc_io_write_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, - count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint + @ccall libsc.sc_io_write_at_all(mpifile::MPI_File, offset::Cint, ptr::Ptr{Cvoid}, count::Cint, t::MPI_Datatype, ocount::Ptr{Cint})::Cint end """ @@ -9600,8 +9271,7 @@ static inline uint64_t p4est_partition_cut_uint64 (uint64_t global_num, int p, i ``` """ function p4est_partition_cut_uint64(global_num, p, num_procs) - @ccall libp4est.p4est_partition_cut_uint64(global_num::UInt64, p::Cint, - num_procs::Cint)::UInt64 + @ccall libp4est.p4est_partition_cut_uint64(global_num::UInt64, p::Cint, num_procs::Cint)::UInt64 end """ @@ -9613,8 +9283,7 @@ static inline p4est_gloidx_t p4est_partition_cut_gloidx (p4est_gloidx_t global_n ``` """ function p4est_partition_cut_gloidx(global_num, p, num_procs) - @ccall libp4est.p4est_partition_cut_gloidx(global_num::p4est_gloidx_t, p::Cint, - num_procs::Cint)::p4est_gloidx_t + @ccall libp4est.p4est_partition_cut_gloidx(global_num::p4est_gloidx_t, p::Cint, num_procs::Cint)::p4est_gloidx_t end """ @@ -9902,9 +9571,7 @@ void p4est_neighbor_transform_coordinates (const p4est_neighbor_transform_t * nt ``` """ function p4est_neighbor_transform_coordinates(nt, self_coords, neigh_coords) - @ccall libp4est.p4est_neighbor_transform_coordinates(nt::Ptr{p4est_neighbor_transform_t}, - self_coords::Ptr{p4est_qcoord_t}, - neigh_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p4est_neighbor_transform_coordinates(nt::Ptr{p4est_neighbor_transform_t}, self_coords::Ptr{p4est_qcoord_t}, neigh_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -9922,9 +9589,7 @@ void p4est_neighbor_transform_coordinates_reverse (const p4est_neighbor_transfor ``` """ function p4est_neighbor_transform_coordinates_reverse(nt, neigh_coords, self_coords) - @ccall libp4est.p4est_neighbor_transform_coordinates_reverse(nt::Ptr{p4est_neighbor_transform_t}, - neigh_coords::Ptr{p4est_qcoord_t}, - self_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p4est_neighbor_transform_coordinates_reverse(nt::Ptr{p4est_neighbor_transform_t}, neigh_coords::Ptr{p4est_qcoord_t}, self_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -9943,14 +9608,8 @@ Fill an array with the neighbor transforms based on a specific boundary type. Th void p4est_connectivity_get_neighbor_transforms (p4est_connectivity_t *conn, p4est_topidx_t tree_id, p4est_connect_type_t boundary_type, int boundary_index, sc_array_t *neighbor_transform_array); ``` """ -function p4est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, - boundary_index, - neighbor_transform_array) - @ccall libp4est.p4est_connectivity_get_neighbor_transforms(conn::Ptr{p4est_connectivity_t}, - tree_id::p4est_topidx_t, - boundary_type::p4est_connect_type_t, - boundary_index::Cint, - neighbor_transform_array::Ptr{sc_array_t})::Cvoid +function p4est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, boundary_index, neighbor_transform_array) + @ccall libp4est.p4est_connectivity_get_neighbor_transforms(conn::Ptr{p4est_connectivity_t}, tree_id::p4est_topidx_t, boundary_type::p4est_connect_type_t, boundary_index::Cint, neighbor_transform_array::Ptr{sc_array_t})::Cvoid end """ @@ -9971,8 +9630,7 @@ int p4est_connectivity_face_neighbor_face_corner (int fc, int f, int nf, int o); ``` """ function p4est_connectivity_face_neighbor_face_corner(fc, f, nf, o) - @ccall libp4est.p4est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, - nf::Cint, o::Cint)::Cint + @ccall libp4est.p4est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, nf::Cint, o::Cint)::Cint end """ @@ -9993,8 +9651,7 @@ int p4est_connectivity_face_neighbor_corner (int c, int f, int nf, int o); ``` """ function p4est_connectivity_face_neighbor_corner(c, f, nf, o) - @ccall libp4est.p4est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, - o::Cint)::Cint + @ccall libp4est.p4est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, o::Cint)::Cint end """ @@ -10015,10 +9672,7 @@ p4est_connectivity_t *p4est_connectivity_new (p4est_topidx_t num_vertices, p4est ``` """ function p4est_connectivity_new(num_vertices, num_trees, num_corners, num_ctt) - @ccall libp4est.p4est_connectivity_new(num_vertices::p4est_topidx_t, - num_trees::p4est_topidx_t, - num_corners::p4est_topidx_t, - num_ctt::p4est_topidx_t)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_corners::p4est_topidx_t, num_ctt::p4est_topidx_t)::Ptr{p4est_connectivity_t} end """ @@ -10045,18 +9699,8 @@ The connectivity is checked for validity. p4est_connectivity_t *p4est_connectivity_new_copy (p4est_topidx_t num_vertices, p4est_topidx_t num_trees, p4est_topidx_t num_corners, const double *vertices, const p4est_topidx_t * ttv, const p4est_topidx_t * ttt, const int8_t * ttf, const p4est_topidx_t * ttc, const p4est_topidx_t * coff, const p4est_topidx_t * ctt, const int8_t * ctc); ``` """ -function p4est_connectivity_new_copy(num_vertices, num_trees, num_corners, vertices, ttv, - ttt, ttf, ttc, coff, ctt, ctc) - @ccall libp4est.p4est_connectivity_new_copy(num_vertices::p4est_topidx_t, - num_trees::p4est_topidx_t, - num_corners::p4est_topidx_t, - vertices::Ptr{Cdouble}, - ttv::Ptr{p4est_topidx_t}, - ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, - ttc::Ptr{p4est_topidx_t}, - coff::Ptr{p4est_topidx_t}, - ctt::Ptr{p4est_topidx_t}, - ctc::Ptr{Int8})::Ptr{p4est_connectivity_t} +function p4est_connectivity_new_copy(num_vertices, num_trees, num_corners, vertices, ttv, ttt, ttf, ttc, coff, ctt, ctc) + @ccall libp4est.p4est_connectivity_new_copy(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_corners::p4est_topidx_t, vertices::Ptr{Cdouble}, ttv::Ptr{p4est_topidx_t}, ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, ttc::Ptr{p4est_topidx_t}, coff::Ptr{p4est_topidx_t}, ctt::Ptr{p4est_topidx_t}, ctc::Ptr{Int8})::Ptr{p4est_connectivity_t} end """ @@ -10068,8 +9712,7 @@ p4est_connectivity_t *p4est_connectivity_bcast (p4est_connectivity_t * conn_in, ``` """ function p4est_connectivity_bcast(conn_in, root, comm) - @ccall libp4est.p4est_connectivity_bcast(conn_in::Ptr{p4est_connectivity_t}, root::Cint, - comm::MPI_Comm)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_bcast(conn_in::Ptr{p4est_connectivity_t}, root::Cint, comm::MPI_Comm)::Ptr{p4est_connectivity_t} end """ @@ -10100,8 +9743,7 @@ void p4est_connectivity_set_attr (p4est_connectivity_t * conn, size_t bytes_per_ ``` """ function p4est_connectivity_set_attr(conn, bytes_per_tree) - @ccall libp4est.p4est_connectivity_set_attr(conn::Ptr{p4est_connectivity_t}, - bytes_per_tree::Csize_t)::Cvoid + @ccall libp4est.p4est_connectivity_set_attr(conn::Ptr{p4est_connectivity_t}, bytes_per_tree::Csize_t)::Cvoid end """ @@ -10133,8 +9775,7 @@ int p4est_connectivity_is_equal (p4est_connectivity_t * conn1, p4est_connectivit ``` """ function p4est_connectivity_is_equal(conn1, conn2) - @ccall libp4est.p4est_connectivity_is_equal(conn1::Ptr{p4est_connectivity_t}, - conn2::Ptr{p4est_connectivity_t})::Cint + @ccall libp4est.p4est_connectivity_is_equal(conn1::Ptr{p4est_connectivity_t}, conn2::Ptr{p4est_connectivity_t})::Cint end """ @@ -10153,8 +9794,7 @@ int p4est_connectivity_sink (p4est_connectivity_t * conn, sc_io_sink_t * sink); ``` """ function p4est_connectivity_sink(conn, sink) - @ccall libp4est.p4est_connectivity_sink(conn::Ptr{p4est_connectivity_t}, - sink::Ptr{sc_io_sink_t})::Cint + @ccall libp4est.p4est_connectivity_sink(conn::Ptr{p4est_connectivity_t}, sink::Ptr{sc_io_sink_t})::Cint end """ @@ -10173,8 +9813,7 @@ sc_array_t *p4est_connectivity_deflate (p4est_connectivity_t * conn, p4est_conne ``` """ function p4est_connectivity_deflate(conn, code) - @ccall libp4est.p4est_connectivity_deflate(conn::Ptr{p4est_connectivity_t}, - code::p4est_connectivity_encode_t)::Ptr{sc_array_t} + @ccall libp4est.p4est_connectivity_deflate(conn::Ptr{p4est_connectivity_t}, code::p4est_connectivity_encode_t)::Ptr{sc_array_t} end """ @@ -10193,8 +9832,7 @@ int p4est_connectivity_save (const char *filename, p4est_connectivity_t * connec ``` """ function p4est_connectivity_save(filename, connectivity) - @ccall libp4est.p4est_connectivity_save(filename::Cstring, - connectivity::Ptr{p4est_connectivity_t})::Cint + @ccall libp4est.p4est_connectivity_save(filename::Cstring, connectivity::Ptr{p4est_connectivity_t})::Cint end """ @@ -10249,8 +9887,7 @@ p4est_connectivity_t *p4est_connectivity_load (const char *filename, size_t *byt ``` """ function p4est_connectivity_load(filename, bytes) - @ccall libp4est.p4est_connectivity_load(filename::Cstring, - bytes::Ptr{Csize_t})::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_load(filename::Cstring, bytes::Ptr{Csize_t})::Ptr{p4est_connectivity_t} end """ @@ -10338,8 +9975,7 @@ p4est_connectivity_t *p4est_connectivity_new_twotrees (int l_face, int r_face, i ``` """ function p4est_connectivity_new_twotrees(l_face, r_face, orientation) - @ccall libp4est.p4est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, - orientation::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, orientation::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10460,8 +10096,7 @@ p4est_connectivity_t *p4est_connectivity_new_disk (int periodic_a, int periodic_ ``` """ function p4est_connectivity_new_disk(periodic_a, periodic_b) - @ccall libp4est.p4est_connectivity_new_disk(periodic_a::Cint, - periodic_b::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new_disk(periodic_a::Cint, periodic_b::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10551,8 +10186,7 @@ p4est_connectivity_t *p4est_connectivity_new_brick (int mi, int ni, int periodic ``` """ function p4est_connectivity_new_brick(mi, ni, periodic_a, periodic_b) - @ccall libp4est.p4est_connectivity_new_brick(mi::Cint, ni::Cint, periodic_a::Cint, - periodic_b::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_new_brick(mi::Cint, ni::Cint, periodic_a::Cint, periodic_b::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10589,8 +10223,7 @@ p4est_connectivity_t *p4est_connectivity_refine (p4est_connectivity_t * conn, in ``` """ function p4est_connectivity_refine(conn, num_per_dim) - @ccall libp4est.p4est_connectivity_refine(conn::Ptr{p4est_connectivity_t}, - num_per_dim::Cint)::Ptr{p4est_connectivity_t} + @ccall libp4est.p4est_connectivity_refine(conn::Ptr{p4est_connectivity_t}, num_per_dim::Cint)::Ptr{p4est_connectivity_t} end """ @@ -10608,8 +10241,7 @@ void p4est_expand_face_transform (int iface, int nface, int ftransform[]); ``` """ function p4est_expand_face_transform(iface, nface, ftransform) - @ccall libp4est.p4est_expand_face_transform(iface::Cint, nface::Cint, - ftransform::Ptr{Cint})::Cvoid + @ccall libp4est.p4est_expand_face_transform(iface::Cint, nface::Cint, ftransform::Ptr{Cint})::Cvoid end """ @@ -10633,9 +10265,7 @@ p4est_topidx_t p4est_find_face_transform (p4est_connectivity_t * connectivity, p ``` """ function p4est_find_face_transform(connectivity, itree, iface, ftransform) - @ccall libp4est.p4est_find_face_transform(connectivity::Ptr{p4est_connectivity_t}, - itree::p4est_topidx_t, iface::Cint, - ftransform::Ptr{Cint})::p4est_topidx_t + @ccall libp4est.p4est_find_face_transform(connectivity::Ptr{p4est_connectivity_t}, itree::p4est_topidx_t, iface::Cint, ftransform::Ptr{Cint})::p4est_topidx_t end """ @@ -10654,9 +10284,7 @@ void p4est_find_corner_transform (p4est_connectivity_t * connectivity, p4est_top ``` """ function p4est_find_corner_transform(connectivity, itree, icorner, ci) - @ccall libp4est.p4est_find_corner_transform(connectivity::Ptr{p4est_connectivity_t}, - itree::p4est_topidx_t, icorner::Cint, - ci::Ptr{p4est_corner_info_t})::Cvoid + @ccall libp4est.p4est_find_corner_transform(connectivity::Ptr{p4est_connectivity_t}, itree::p4est_topidx_t, icorner::Cint, ci::Ptr{p4est_corner_info_t})::Cvoid end """ @@ -10706,9 +10334,7 @@ void p4est_connectivity_permute (p4est_connectivity_t * conn, sc_array_t * perm, ``` """ function p4est_connectivity_permute(conn, perm, is_current_to_new) - @ccall libp4est.p4est_connectivity_permute(conn::Ptr{p4est_connectivity_t}, - perm::Ptr{sc_array_t}, - is_current_to_new::Cint)::Cvoid + @ccall libp4est.p4est_connectivity_permute(conn::Ptr{p4est_connectivity_t}, perm::Ptr{sc_array_t}, is_current_to_new::Cint)::Cvoid end """ @@ -10728,13 +10354,8 @@ end void p4est_connectivity_join_faces (p4est_connectivity_t * conn, p4est_topidx_t tree_left, p4est_topidx_t tree_right, int face_left, int face_right, int orientation); ``` """ -function p4est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, - orientation) - @ccall libp4est.p4est_connectivity_join_faces(conn::Ptr{p4est_connectivity_t}, - tree_left::p4est_topidx_t, - tree_right::p4est_topidx_t, - face_left::Cint, face_right::Cint, - orientation::Cint)::Cvoid +function p4est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, orientation) + @ccall libp4est.p4est_connectivity_join_faces(conn::Ptr{p4est_connectivity_t}, tree_left::p4est_topidx_t, tree_right::p4est_topidx_t, face_left::Cint, face_right::Cint, orientation::Cint)::Cvoid end """ @@ -10751,8 +10372,7 @@ int p4est_connectivity_is_equivalent (p4est_connectivity_t * conn1, p4est_connec ``` """ function p4est_connectivity_is_equivalent(conn1, conn2) - @ccall libp4est.p4est_connectivity_is_equivalent(conn1::Ptr{p4est_connectivity_t}, - conn2::Ptr{p4est_connectivity_t})::Cint + @ccall libp4est.p4est_connectivity_is_equivalent(conn1::Ptr{p4est_connectivity_t}, conn2::Ptr{p4est_connectivity_t})::Cint end """ @@ -10764,8 +10384,7 @@ static inline p4est_corner_transform_t * p4est_corner_array_index (sc_array_t * ``` """ function p4est_corner_array_index(array, it) - @ccall libp4est.p4est_corner_array_index(array::Ptr{sc_array_t}, - it::Csize_t)::Ptr{p4est_corner_transform_t} + @ccall libp4est.p4est_corner_array_index(array::Ptr{sc_array_t}, it::Csize_t)::Ptr{p4est_corner_transform_t} end """ @@ -10822,13 +10441,8 @@ This code can be called two ways. The first, when `vertex`==NULL and `tree_to_ve int p4est_connectivity_read_inp_stream (FILE * stream, p4est_topidx_t * num_vertices, p4est_topidx_t * num_trees, double *vertices, p4est_topidx_t * tree_to_vertex); ``` """ -function p4est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, - tree_to_vertex) - @ccall libp4est.p4est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, - num_vertices::Ptr{p4est_topidx_t}, - num_trees::Ptr{p4est_topidx_t}, - vertices::Ptr{Cdouble}, - tree_to_vertex::Ptr{p4est_topidx_t})::Cint +function p4est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, tree_to_vertex) + @ccall libp4est.p4est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, num_vertices::Ptr{p4est_topidx_t}, num_trees::Ptr{p4est_topidx_t}, vertices::Ptr{Cdouble}, tree_to_vertex::Ptr{p4est_topidx_t})::Cint end """ @@ -11178,9 +10792,7 @@ void p8est_neighbor_transform_coordinates (const p8est_neighbor_transform_t * nt ``` """ function p8est_neighbor_transform_coordinates(nt, self_coords, neigh_coords) - @ccall libp4est.p8est_neighbor_transform_coordinates(nt::Ptr{p8est_neighbor_transform_t}, - self_coords::Ptr{p4est_qcoord_t}, - neigh_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p8est_neighbor_transform_coordinates(nt::Ptr{p8est_neighbor_transform_t}, self_coords::Ptr{p4est_qcoord_t}, neigh_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -11198,9 +10810,7 @@ void p8est_neighbor_transform_coordinates_reverse (const p8est_neighbor_transfor ``` """ function p8est_neighbor_transform_coordinates_reverse(nt, neigh_coords, self_coords) - @ccall libp4est.p8est_neighbor_transform_coordinates_reverse(nt::Ptr{p8est_neighbor_transform_t}, - neigh_coords::Ptr{p4est_qcoord_t}, - self_coords::Ptr{p4est_qcoord_t})::Cvoid + @ccall libp4est.p8est_neighbor_transform_coordinates_reverse(nt::Ptr{p8est_neighbor_transform_t}, neigh_coords::Ptr{p4est_qcoord_t}, self_coords::Ptr{p4est_qcoord_t})::Cvoid end """ @@ -11219,14 +10829,8 @@ Fill an array with the neighbor transforms based on a specific boundary type. Th void p8est_connectivity_get_neighbor_transforms (p8est_connectivity_t *conn, p4est_topidx_t tree_id, p8est_connect_type_t boundary_type, int boundary_index, sc_array_t *neighbor_transform_array); ``` """ -function p8est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, - boundary_index, - neighbor_transform_array) - @ccall libp4est.p8est_connectivity_get_neighbor_transforms(conn::Ptr{p8est_connectivity_t}, - tree_id::p4est_topidx_t, - boundary_type::p8est_connect_type_t, - boundary_index::Cint, - neighbor_transform_array::Ptr{sc_array_t})::Cvoid +function p8est_connectivity_get_neighbor_transforms(conn, tree_id, boundary_type, boundary_index, neighbor_transform_array) + @ccall libp4est.p8est_connectivity_get_neighbor_transforms(conn::Ptr{p8est_connectivity_t}, tree_id::p4est_topidx_t, boundary_type::p8est_connect_type_t, boundary_index::Cint, neighbor_transform_array::Ptr{sc_array_t})::Cvoid end """ @@ -11247,8 +10851,7 @@ int p8est_connectivity_face_neighbor_corner_set (int c, int f, int nf, int set); ``` """ function p8est_connectivity_face_neighbor_corner_set(c, f, nf, set) - @ccall libp4est.p8est_connectivity_face_neighbor_corner_set(c::Cint, f::Cint, nf::Cint, - set::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_corner_set(c::Cint, f::Cint, nf::Cint, set::Cint)::Cint end """ @@ -11269,8 +10872,7 @@ int p8est_connectivity_face_neighbor_face_corner (int fc, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_face_corner(fc, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, - nf::Cint, o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_face_corner(fc::Cint, f::Cint, nf::Cint, o::Cint)::Cint end """ @@ -11291,8 +10893,7 @@ int p8est_connectivity_face_neighbor_corner (int c, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_corner(c, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, - o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_corner(c::Cint, f::Cint, nf::Cint, o::Cint)::Cint end """ @@ -11313,8 +10914,7 @@ int p8est_connectivity_face_neighbor_face_edge (int fe, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_face_edge(fe, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_face_edge(fe::Cint, f::Cint, nf::Cint, - o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_face_edge(fe::Cint, f::Cint, nf::Cint, o::Cint)::Cint end """ @@ -11335,8 +10935,7 @@ int p8est_connectivity_face_neighbor_edge (int e, int f, int nf, int o); ``` """ function p8est_connectivity_face_neighbor_edge(e, f, nf, o) - @ccall libp4est.p8est_connectivity_face_neighbor_edge(e::Cint, f::Cint, nf::Cint, - o::Cint)::Cint + @ccall libp4est.p8est_connectivity_face_neighbor_edge(e::Cint, f::Cint, nf::Cint, o::Cint)::Cint end """ @@ -11376,8 +10975,7 @@ int p8est_connectivity_edge_neighbor_corner (int c, int e, int ne, int o); ``` """ function p8est_connectivity_edge_neighbor_corner(c, e, ne, o) - @ccall libp4est.p8est_connectivity_edge_neighbor_corner(c::Cint, e::Cint, ne::Cint, - o::Cint)::Cint + @ccall libp4est.p8est_connectivity_edge_neighbor_corner(c::Cint, e::Cint, ne::Cint, o::Cint)::Cint end """ @@ -11399,14 +10997,8 @@ A connectivity structure with allocated arrays. p8est_connectivity_t *p8est_connectivity_new (p4est_topidx_t num_vertices, p4est_topidx_t num_trees, p4est_topidx_t num_edges, p4est_topidx_t num_ett, p4est_topidx_t num_corners, p4est_topidx_t num_ctt); ``` """ -function p8est_connectivity_new(num_vertices, num_trees, num_edges, num_ett, num_corners, - num_ctt) - @ccall libp4est.p8est_connectivity_new(num_vertices::p4est_topidx_t, - num_trees::p4est_topidx_t, - num_edges::p4est_topidx_t, - num_ett::p4est_topidx_t, - num_corners::p4est_topidx_t, - num_ctt::p4est_topidx_t)::Ptr{p8est_connectivity_t} +function p8est_connectivity_new(num_vertices, num_trees, num_edges, num_ett, num_corners, num_ctt) + @ccall libp4est.p8est_connectivity_new(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_edges::p4est_topidx_t, num_ett::p4est_topidx_t, num_corners::p4est_topidx_t, num_ctt::p4est_topidx_t)::Ptr{p8est_connectivity_t} end """ @@ -11438,23 +11030,8 @@ The connectivity is checked for validity. p8est_connectivity_t *p8est_connectivity_new_copy (p4est_topidx_t num_vertices, p4est_topidx_t num_trees, p4est_topidx_t num_edges, p4est_topidx_t num_corners, const double *vertices, const p4est_topidx_t * ttv, const p4est_topidx_t * ttt, const int8_t * ttf, const p4est_topidx_t * tte, const p4est_topidx_t * eoff, const p4est_topidx_t * ett, const int8_t * ete, const p4est_topidx_t * ttc, const p4est_topidx_t * coff, const p4est_topidx_t * ctt, const int8_t * ctc); ``` """ -function p8est_connectivity_new_copy(num_vertices, num_trees, num_edges, num_corners, - vertices, ttv, ttt, ttf, tte, eoff, ett, ete, ttc, - coff, ctt, ctc) - @ccall libp4est.p8est_connectivity_new_copy(num_vertices::p4est_topidx_t, - num_trees::p4est_topidx_t, - num_edges::p4est_topidx_t, - num_corners::p4est_topidx_t, - vertices::Ptr{Cdouble}, - ttv::Ptr{p4est_topidx_t}, - ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, - tte::Ptr{p4est_topidx_t}, - eoff::Ptr{p4est_topidx_t}, - ett::Ptr{p4est_topidx_t}, ete::Ptr{Int8}, - ttc::Ptr{p4est_topidx_t}, - coff::Ptr{p4est_topidx_t}, - ctt::Ptr{p4est_topidx_t}, - ctc::Ptr{Int8})::Ptr{p8est_connectivity_t} +function p8est_connectivity_new_copy(num_vertices, num_trees, num_edges, num_corners, vertices, ttv, ttt, ttf, tte, eoff, ett, ete, ttc, coff, ctt, ctc) + @ccall libp4est.p8est_connectivity_new_copy(num_vertices::p4est_topidx_t, num_trees::p4est_topidx_t, num_edges::p4est_topidx_t, num_corners::p4est_topidx_t, vertices::Ptr{Cdouble}, ttv::Ptr{p4est_topidx_t}, ttt::Ptr{p4est_topidx_t}, ttf::Ptr{Int8}, tte::Ptr{p4est_topidx_t}, eoff::Ptr{p4est_topidx_t}, ett::Ptr{p4est_topidx_t}, ete::Ptr{Int8}, ttc::Ptr{p4est_topidx_t}, coff::Ptr{p4est_topidx_t}, ctt::Ptr{p4est_topidx_t}, ctc::Ptr{Int8})::Ptr{p8est_connectivity_t} end """ @@ -11466,8 +11043,7 @@ p8est_connectivity_t *p8est_connectivity_bcast (p8est_connectivity_t * conn_in, ``` """ function p8est_connectivity_bcast(conn_in, root, comm) - @ccall libp4est.p8est_connectivity_bcast(conn_in::Ptr{p8est_connectivity_t}, root::Cint, - comm::MPI_Comm)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_bcast(conn_in::Ptr{p8est_connectivity_t}, root::Cint, comm::MPI_Comm)::Ptr{p8est_connectivity_t} end """ @@ -11498,8 +11074,7 @@ void p8est_connectivity_set_attr (p8est_connectivity_t * conn, size_t bytes_per_ ``` """ function p8est_connectivity_set_attr(conn, bytes_per_tree) - @ccall libp4est.p8est_connectivity_set_attr(conn::Ptr{p8est_connectivity_t}, - bytes_per_tree::Csize_t)::Cvoid + @ccall libp4est.p8est_connectivity_set_attr(conn::Ptr{p8est_connectivity_t}, bytes_per_tree::Csize_t)::Cvoid end """ @@ -11531,8 +11106,7 @@ int p8est_connectivity_is_equal (p8est_connectivity_t * conn1, p8est_connectivit ``` """ function p8est_connectivity_is_equal(conn1, conn2) - @ccall libp4est.p8est_connectivity_is_equal(conn1::Ptr{p8est_connectivity_t}, - conn2::Ptr{p8est_connectivity_t})::Cint + @ccall libp4est.p8est_connectivity_is_equal(conn1::Ptr{p8est_connectivity_t}, conn2::Ptr{p8est_connectivity_t})::Cint end """ @@ -11551,8 +11125,7 @@ int p8est_connectivity_sink (p8est_connectivity_t * conn, sc_io_sink_t * sink); ``` """ function p8est_connectivity_sink(conn, sink) - @ccall libp4est.p8est_connectivity_sink(conn::Ptr{p8est_connectivity_t}, - sink::Ptr{sc_io_sink_t})::Cint + @ccall libp4est.p8est_connectivity_sink(conn::Ptr{p8est_connectivity_t}, sink::Ptr{sc_io_sink_t})::Cint end """ @@ -11571,8 +11144,7 @@ sc_array_t *p8est_connectivity_deflate (p8est_connectivity_t * conn, p8est_conne ``` """ function p8est_connectivity_deflate(conn, code) - @ccall libp4est.p8est_connectivity_deflate(conn::Ptr{p8est_connectivity_t}, - code::p8est_connectivity_encode_t)::Ptr{sc_array_t} + @ccall libp4est.p8est_connectivity_deflate(conn::Ptr{p8est_connectivity_t}, code::p8est_connectivity_encode_t)::Ptr{sc_array_t} end """ @@ -11591,8 +11163,7 @@ int p8est_connectivity_save (const char *filename, p8est_connectivity_t * connec ``` """ function p8est_connectivity_save(filename, connectivity) - @ccall libp4est.p8est_connectivity_save(filename::Cstring, - connectivity::Ptr{p8est_connectivity_t})::Cint + @ccall libp4est.p8est_connectivity_save(filename::Cstring, connectivity::Ptr{p8est_connectivity_t})::Cint end """ @@ -11647,8 +11218,7 @@ p8est_connectivity_t *p8est_connectivity_load (const char *filename, size_t *byt ``` """ function p8est_connectivity_load(filename, bytes) - @ccall libp4est.p8est_connectivity_load(filename::Cstring, - bytes::Ptr{Csize_t})::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_load(filename::Cstring, bytes::Ptr{Csize_t})::Ptr{p8est_connectivity_t} end """ @@ -11736,8 +11306,7 @@ p8est_connectivity_t *p8est_connectivity_new_twotrees (int l_face, int r_face, i ``` """ function p8est_connectivity_new_twotrees(l_face, r_face, orientation) - @ccall libp4est.p8est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, - orientation::Cint)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_new_twotrees(l_face::Cint, r_face::Cint, orientation::Cint)::Ptr{p8est_connectivity_t} end """ @@ -11779,9 +11348,7 @@ p8est_connectivity_t *p8est_connectivity_new_brick (int m, int n, int p, int per ``` """ function p8est_connectivity_new_brick(m, n, p, periodic_a, periodic_b, periodic_c) - @ccall libp4est.p8est_connectivity_new_brick(m::Cint, n::Cint, p::Cint, - periodic_a::Cint, periodic_b::Cint, - periodic_c::Cint)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_new_brick(m::Cint, n::Cint, p::Cint, periodic_a::Cint, periodic_b::Cint, periodic_c::Cint)::Ptr{p8est_connectivity_t} end """ @@ -11868,8 +11435,7 @@ p8est_connectivity_t *p8est_connectivity_refine (p8est_connectivity_t * conn, in ``` """ function p8est_connectivity_refine(conn, num_per_dim) - @ccall libp4est.p8est_connectivity_refine(conn::Ptr{p8est_connectivity_t}, - num_per_dim::Cint)::Ptr{p8est_connectivity_t} + @ccall libp4est.p8est_connectivity_refine(conn::Ptr{p8est_connectivity_t}, num_per_dim::Cint)::Ptr{p8est_connectivity_t} end """ @@ -11887,8 +11453,7 @@ void p8est_expand_face_transform (int iface, int nface, int ftransform[]); ``` """ function p8est_expand_face_transform(iface, nface, ftransform) - @ccall libp4est.p8est_expand_face_transform(iface::Cint, nface::Cint, - ftransform::Ptr{Cint})::Cvoid + @ccall libp4est.p8est_expand_face_transform(iface::Cint, nface::Cint, ftransform::Ptr{Cint})::Cvoid end """ @@ -11912,9 +11477,7 @@ p4est_topidx_t p8est_find_face_transform (p8est_connectivity_t * connectivity, p ``` """ function p8est_find_face_transform(connectivity, itree, iface, ftransform) - @ccall libp4est.p8est_find_face_transform(connectivity::Ptr{p8est_connectivity_t}, - itree::p4est_topidx_t, iface::Cint, - ftransform::Ptr{Cint})::p4est_topidx_t + @ccall libp4est.p8est_find_face_transform(connectivity::Ptr{p8est_connectivity_t}, itree::p4est_topidx_t, iface::Cint, ftransform::Ptr{Cint})::p4est_topidx_t end """ @@ -11933,9 +11496,7 @@ void p8est_find_edge_transform (p8est_connectivity_t * connectivity, p4est_topid ``` """ function p8est_find_edge_transform(connectivity, itree, iedge, ei) - @ccall libp4est.p8est_find_edge_transform(connectivity::Ptr{p8est_connectivity_t}, - itree::p4est_topidx_t, iedge::Cint, - ei::Ptr{p8est_edge_info_t})::Cvoid + @ccall libp4est.p8est_find_edge_transform(connectivity::Ptr{p8est_connectivity_t}, itree::p4est_topidx_t, iedge::Cint, ei::Ptr{p8est_edge_info_t})::Cvoid end """ @@ -11954,9 +11515,7 @@ void p8est_find_corner_transform (p8est_connectivity_t * connectivity, p4est_top ``` """ function p8est_find_corner_transform(connectivity, itree, icorner, ci) - @ccall libp4est.p8est_find_corner_transform(connectivity::Ptr{p8est_connectivity_t}, - itree::p4est_topidx_t, icorner::Cint, - ci::Ptr{p8est_corner_info_t})::Cvoid + @ccall libp4est.p8est_find_corner_transform(connectivity::Ptr{p8est_connectivity_t}, itree::p4est_topidx_t, icorner::Cint, ci::Ptr{p8est_corner_info_t})::Cvoid end """ @@ -12006,9 +11565,7 @@ void p8est_connectivity_permute (p8est_connectivity_t * conn, sc_array_t * perm, ``` """ function p8est_connectivity_permute(conn, perm, is_current_to_new) - @ccall libp4est.p8est_connectivity_permute(conn::Ptr{p8est_connectivity_t}, - perm::Ptr{sc_array_t}, - is_current_to_new::Cint)::Cvoid + @ccall libp4est.p8est_connectivity_permute(conn::Ptr{p8est_connectivity_t}, perm::Ptr{sc_array_t}, is_current_to_new::Cint)::Cvoid end """ @@ -12028,13 +11585,8 @@ end void p8est_connectivity_join_faces (p8est_connectivity_t * conn, p4est_topidx_t tree_left, p4est_topidx_t tree_right, int face_left, int face_right, int orientation); ``` """ -function p8est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, - orientation) - @ccall libp4est.p8est_connectivity_join_faces(conn::Ptr{p8est_connectivity_t}, - tree_left::p4est_topidx_t, - tree_right::p4est_topidx_t, - face_left::Cint, face_right::Cint, - orientation::Cint)::Cvoid +function p8est_connectivity_join_faces(conn, tree_left, tree_right, face_left, face_right, orientation) + @ccall libp4est.p8est_connectivity_join_faces(conn::Ptr{p8est_connectivity_t}, tree_left::p4est_topidx_t, tree_right::p4est_topidx_t, face_left::Cint, face_right::Cint, orientation::Cint)::Cvoid end """ @@ -12051,8 +11603,7 @@ int p8est_connectivity_is_equivalent (p8est_connectivity_t * conn1, p8est_connec ``` """ function p8est_connectivity_is_equivalent(conn1, conn2) - @ccall libp4est.p8est_connectivity_is_equivalent(conn1::Ptr{p8est_connectivity_t}, - conn2::Ptr{p8est_connectivity_t})::Cint + @ccall libp4est.p8est_connectivity_is_equivalent(conn1::Ptr{p8est_connectivity_t}, conn2::Ptr{p8est_connectivity_t})::Cint end """ @@ -12064,8 +11615,7 @@ static inline p8est_edge_transform_t * p8est_edge_array_index (sc_array_t * arra ``` """ function p8est_edge_array_index(array, it) - @ccall libp4est.p8est_edge_array_index(array::Ptr{sc_array_t}, - it::Csize_t)::Ptr{p8est_edge_transform_t} + @ccall libp4est.p8est_edge_array_index(array::Ptr{sc_array_t}, it::Csize_t)::Ptr{p8est_edge_transform_t} end """ @@ -12077,8 +11627,7 @@ static inline p8est_corner_transform_t * p8est_corner_array_index (sc_array_t * ``` """ function p8est_corner_array_index(array, it) - @ccall libp4est.p8est_corner_array_index(array::Ptr{sc_array_t}, - it::Csize_t)::Ptr{p8est_corner_transform_t} + @ccall libp4est.p8est_corner_array_index(array::Ptr{sc_array_t}, it::Csize_t)::Ptr{p8est_corner_transform_t} end """ @@ -12153,13 +11702,8 @@ This code can be called two ways. The first, when `vertex`==NULL and `tree_to_ve int p8est_connectivity_read_inp_stream (FILE * stream, p4est_topidx_t * num_vertices, p4est_topidx_t * num_trees, double *vertices, p4est_topidx_t * tree_to_vertex); ``` """ -function p8est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, - tree_to_vertex) - @ccall libp4est.p8est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, - num_vertices::Ptr{p4est_topidx_t}, - num_trees::Ptr{p4est_topidx_t}, - vertices::Ptr{Cdouble}, - tree_to_vertex::Ptr{p4est_topidx_t})::Cint +function p8est_connectivity_read_inp_stream(stream, num_vertices, num_trees, vertices, tree_to_vertex) + @ccall libp4est.p8est_connectivity_read_inp_stream(stream::Ptr{Libc.FILE}, num_vertices::Ptr{p4est_topidx_t}, num_trees::Ptr{p4est_topidx_t}, vertices::Ptr{Cdouble}, tree_to_vertex::Ptr{p4est_topidx_t})::Cint end """ @@ -12243,8 +11787,7 @@ t8_cmesh_t t8_cmesh_new_from_p4est (p4est_connectivity_t *conn, sc_MPI_Comm comm ``` """ function t8_cmesh_new_from_p4est(conn, comm, do_partition) - @ccall libt8.t8_cmesh_new_from_p4est(conn::Ptr{p4est_connectivity_t}, comm::MPI_Comm, - do_partition::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_from_p4est(conn::Ptr{p4est_connectivity_t}, comm::MPI_Comm, do_partition::Cint)::t8_cmesh_t end """ @@ -12256,8 +11799,7 @@ t8_cmesh_t t8_cmesh_new_from_p8est (p8est_connectivity_t *conn, sc_MPI_Comm comm ``` """ function t8_cmesh_new_from_p8est(conn, comm, do_partition) - @ccall libt8.t8_cmesh_new_from_p8est(conn::Ptr{p8est_connectivity_t}, comm::MPI_Comm, - do_partition::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_from_p8est(conn::Ptr{p8est_connectivity_t}, comm::MPI_Comm, do_partition::Cint)::t8_cmesh_t end """ @@ -12269,8 +11811,7 @@ t8_cmesh_t t8_cmesh_new_empty (sc_MPI_Comm comm, const int do_partition, const i ``` """ function t8_cmesh_new_empty(comm, do_partition, dimension) - @ccall libt8.t8_cmesh_new_empty(comm::MPI_Comm, do_partition::Cint, - dimension::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_empty(comm::MPI_Comm, do_partition::Cint, dimension::Cint)::t8_cmesh_t end """ @@ -12294,8 +11835,7 @@ t8_cmesh_t t8_cmesh_new_hypercube (t8_eclass_t eclass, sc_MPI_Comm comm, int do_ ``` """ function t8_cmesh_new_hypercube(eclass, comm, do_bcast, do_partition, periodic) - @ccall libt8.t8_cmesh_new_hypercube(eclass::t8_eclass_t, comm::MPI_Comm, do_bcast::Cint, - do_partition::Cint, periodic::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_hypercube(eclass::t8_eclass_t, comm::MPI_Comm, do_bcast::Cint, do_partition::Cint, periodic::Cint)::t8_cmesh_t end """ @@ -12306,13 +11846,8 @@ end t8_cmesh_t t8_cmesh_new_hypercube_pad (const t8_eclass_t eclass, sc_MPI_Comm comm, const double *boundary, t8_locidx_t polygons_x, t8_locidx_t polygons_y, t8_locidx_t polygons_z, const int use_axis_aligned); ``` """ -function t8_cmesh_new_hypercube_pad(eclass, comm, boundary, polygons_x, polygons_y, - polygons_z, use_axis_aligned) - @ccall libt8.t8_cmesh_new_hypercube_pad(eclass::t8_eclass_t, comm::MPI_Comm, - boundary::Ptr{Cdouble}, polygons_x::t8_locidx_t, - polygons_y::t8_locidx_t, - polygons_z::t8_locidx_t, - use_axis_aligned::Cint)::t8_cmesh_t +function t8_cmesh_new_hypercube_pad(eclass, comm, boundary, polygons_x, polygons_y, polygons_z, use_axis_aligned) + @ccall libt8.t8_cmesh_new_hypercube_pad(eclass::t8_eclass_t, comm::MPI_Comm, boundary::Ptr{Cdouble}, polygons_x::t8_locidx_t, polygons_y::t8_locidx_t, polygons_z::t8_locidx_t, use_axis_aligned::Cint)::t8_cmesh_t end """ @@ -12323,17 +11858,8 @@ end t8_cmesh_t t8_cmesh_new_hypercube_pad_ext (const t8_eclass_t eclass, sc_MPI_Comm comm, const double *boundary, t8_locidx_t polygons_x, t8_locidx_t polygons_y, t8_locidx_t polygons_z, const int periodic_x, const int periodic_y, const int periodic_z, const int use_axis_aligned, const int set_partition, t8_gloidx_t offset); ``` """ -function t8_cmesh_new_hypercube_pad_ext(eclass, comm, boundary, polygons_x, polygons_y, - polygons_z, periodic_x, periodic_y, periodic_z, - use_axis_aligned, set_partition, offset) - @ccall libt8.t8_cmesh_new_hypercube_pad_ext(eclass::t8_eclass_t, comm::MPI_Comm, - boundary::Ptr{Cdouble}, - polygons_x::t8_locidx_t, - polygons_y::t8_locidx_t, - polygons_z::t8_locidx_t, periodic_x::Cint, - periodic_y::Cint, periodic_z::Cint, - use_axis_aligned::Cint, set_partition::Cint, - offset::t8_gloidx_t)::t8_cmesh_t +function t8_cmesh_new_hypercube_pad_ext(eclass, comm, boundary, polygons_x, polygons_y, polygons_z, periodic_x, periodic_y, periodic_z, use_axis_aligned, set_partition, offset) + @ccall libt8.t8_cmesh_new_hypercube_pad_ext(eclass::t8_eclass_t, comm::MPI_Comm, boundary::Ptr{Cdouble}, polygons_x::t8_locidx_t, polygons_y::t8_locidx_t, polygons_z::t8_locidx_t, periodic_x::Cint, periodic_y::Cint, periodic_z::Cint, use_axis_aligned::Cint, set_partition::Cint, offset::t8_gloidx_t)::t8_cmesh_t end """ @@ -12345,8 +11871,7 @@ t8_cmesh_t t8_cmesh_new_hypercube_hybrid (sc_MPI_Comm comm, int do_partition, in ``` """ function t8_cmesh_new_hypercube_hybrid(comm, do_partition, periodic) - @ccall libt8.t8_cmesh_new_hypercube_hybrid(comm::MPI_Comm, do_partition::Cint, - periodic::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_hypercube_hybrid(comm::MPI_Comm, do_partition::Cint, periodic::Cint)::t8_cmesh_t end """ @@ -12406,8 +11931,7 @@ t8_cmesh_t t8_cmesh_new_bigmesh (t8_eclass_t eclass, int num_trees, sc_MPI_Comm ``` """ function t8_cmesh_new_bigmesh(eclass, num_trees, comm) - @ccall libt8.t8_cmesh_new_bigmesh(eclass::t8_eclass_t, num_trees::Cint, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_bigmesh(eclass::t8_eclass_t, num_trees::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12491,9 +12015,7 @@ t8_cmesh_t t8_cmesh_new_brick_2d (t8_gloidx_t num_x, t8_gloidx_t num_y, int x_pe ``` """ function t8_cmesh_new_brick_2d(num_x, num_y, x_periodic, y_periodic, comm) - @ccall libt8.t8_cmesh_new_brick_2d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, - x_periodic::Cint, y_periodic::Cint, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_brick_2d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, x_periodic::Cint, y_periodic::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12504,12 +12026,8 @@ end t8_cmesh_t t8_cmesh_new_brick_3d (t8_gloidx_t num_x, t8_gloidx_t num_y, t8_gloidx_t num_z, int x_periodic, int y_periodic, int z_periodic, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_brick_3d(num_x, num_y, num_z, x_periodic, y_periodic, z_periodic, - comm) - @ccall libt8.t8_cmesh_new_brick_3d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, - num_z::t8_gloidx_t, x_periodic::Cint, - y_periodic::Cint, z_periodic::Cint, - comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_brick_3d(num_x, num_y, num_z, x_periodic, y_periodic, z_periodic, comm) + @ccall libt8.t8_cmesh_new_brick_3d(num_x::t8_gloidx_t, num_y::t8_gloidx_t, num_z::t8_gloidx_t, x_periodic::Cint, y_periodic::Cint, z_periodic::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12520,12 +12038,8 @@ end t8_cmesh_t t8_cmesh_new_disjoint_bricks (t8_gloidx_t num_x, t8_gloidx_t num_y, t8_gloidx_t num_z, int x_periodic, int y_periodic, int z_periodic, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_disjoint_bricks(num_x, num_y, num_z, x_periodic, y_periodic, - z_periodic, comm) - @ccall libt8.t8_cmesh_new_disjoint_bricks(num_x::t8_gloidx_t, num_y::t8_gloidx_t, - num_z::t8_gloidx_t, x_periodic::Cint, - y_periodic::Cint, z_periodic::Cint, - comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_disjoint_bricks(num_x, num_y, num_z, x_periodic, y_periodic, z_periodic, comm) + @ccall libt8.t8_cmesh_new_disjoint_bricks(num_x::t8_gloidx_t, num_y::t8_gloidx_t, num_z::t8_gloidx_t, x_periodic::Cint, y_periodic::Cint, z_periodic::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12597,8 +12111,7 @@ t8_cmesh_t t8_cmesh_new_long_brick_pyramid (sc_MPI_Comm comm, int num_cubes); ``` """ function t8_cmesh_new_long_brick_pyramid(comm, num_cubes) - @ccall libt8.t8_cmesh_new_long_brick_pyramid(comm::MPI_Comm, - num_cubes::Cint)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_long_brick_pyramid(comm::MPI_Comm, num_cubes::Cint)::t8_cmesh_t end """ @@ -12610,8 +12123,7 @@ t8_cmesh_t t8_cmesh_new_row_of_cubes (t8_locidx_t num_trees, const int set_attri ``` """ function t8_cmesh_new_row_of_cubes(num_trees, set_attributes, do_partition, comm) - @ccall libt8.t8_cmesh_new_row_of_cubes(num_trees::t8_locidx_t, set_attributes::Cint, - do_partition::Cint, comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_row_of_cubes(num_trees::t8_locidx_t, set_attributes::Cint, do_partition::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12623,8 +12135,7 @@ t8_cmesh_t t8_cmesh_new_quadrangulated_disk (const double radius, sc_MPI_Comm co ``` """ function t8_cmesh_new_quadrangulated_disk(radius, comm) - @ccall libt8.t8_cmesh_new_quadrangulated_disk(radius::Cdouble, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_quadrangulated_disk(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12636,8 +12147,7 @@ t8_cmesh_t t8_cmesh_new_triangulated_spherical_surface_octahedron (const double ``` """ function t8_cmesh_new_triangulated_spherical_surface_octahedron(radius, comm) - @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_octahedron(radius::Cdouble, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_octahedron(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12649,8 +12159,7 @@ t8_cmesh_t t8_cmesh_new_triangulated_spherical_surface_icosahedron (const double ``` """ function t8_cmesh_new_triangulated_spherical_surface_icosahedron(radius, comm) - @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_icosahedron(radius::Cdouble, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_icosahedron(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12662,8 +12171,7 @@ t8_cmesh_t t8_cmesh_new_triangulated_spherical_surface_cube (const double radius ``` """ function t8_cmesh_new_triangulated_spherical_surface_cube(radius, comm) - @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_cube(radius::Cdouble, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_triangulated_spherical_surface_cube(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12675,8 +12183,7 @@ t8_cmesh_t t8_cmesh_new_quadrangulated_spherical_surface (const double radius, s ``` """ function t8_cmesh_new_quadrangulated_spherical_surface(radius, comm) - @ccall libt8.t8_cmesh_new_quadrangulated_spherical_surface(radius::Cdouble, - comm::MPI_Comm)::t8_cmesh_t + @ccall libt8.t8_cmesh_new_quadrangulated_spherical_surface(radius::Cdouble, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12687,13 +12194,8 @@ end t8_cmesh_t t8_cmesh_new_prismed_spherical_shell_octahedron (const double inner_radius, const double shell_thickness, const int num_levels, const int num_layers, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius, shell_thickness, - num_levels, num_layers, comm) - @ccall libt8.t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius::Cdouble, - shell_thickness::Cdouble, - num_levels::Cint, - num_layers::Cint, - comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius, shell_thickness, num_levels, num_layers, comm) + @ccall libt8.t8_cmesh_new_prismed_spherical_shell_octahedron(inner_radius::Cdouble, shell_thickness::Cdouble, num_levels::Cint, num_layers::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12704,13 +12206,8 @@ end t8_cmesh_t t8_cmesh_new_prismed_spherical_shell_icosahedron (const double inner_radius, const double shell_thickness, const int num_levels, const int num_layers, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius, shell_thickness, - num_levels, num_layers, comm) - @ccall libt8.t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius::Cdouble, - shell_thickness::Cdouble, - num_levels::Cint, - num_layers::Cint, - comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius, shell_thickness, num_levels, num_layers, comm) + @ccall libt8.t8_cmesh_new_prismed_spherical_shell_icosahedron(inner_radius::Cdouble, shell_thickness::Cdouble, num_levels::Cint, num_layers::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12721,12 +12218,8 @@ end t8_cmesh_t t8_cmesh_new_cubed_spherical_shell (const double inner_radius, const double shell_thickness, const int num_trees, const int num_layers, sc_MPI_Comm comm); ``` """ -function t8_cmesh_new_cubed_spherical_shell(inner_radius, shell_thickness, num_trees, - num_layers, comm) - @ccall libt8.t8_cmesh_new_cubed_spherical_shell(inner_radius::Cdouble, - shell_thickness::Cdouble, - num_trees::Cint, num_layers::Cint, - comm::MPI_Comm)::t8_cmesh_t +function t8_cmesh_new_cubed_spherical_shell(inner_radius, shell_thickness, num_trees, num_layers, comm) + @ccall libt8.t8_cmesh_new_cubed_spherical_shell(inner_radius::Cdouble, shell_thickness::Cdouble, num_trees::Cint, num_layers::Cint, comm::MPI_Comm)::t8_cmesh_t end """ @@ -12757,8 +12250,7 @@ size_t t8_cmesh_get_tree_geom_hash (t8_cmesh_t cmesh, t8_gloidx_t gtreeid); ``` """ function t8_cmesh_get_tree_geom_hash(cmesh, gtreeid) - @ccall libt8.t8_cmesh_get_tree_geom_hash(cmesh::t8_cmesh_t, - gtreeid::t8_gloidx_t)::Csize_t + @ccall libt8.t8_cmesh_get_tree_geom_hash(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::Csize_t end """ @@ -12786,13 +12278,8 @@ Sets the face connectivity information of an un-committed based on a list of tr void t8_cmesh_set_join_by_vertices (t8_cmesh_t cmesh, const t8_gloidx_t ntrees, const t8_eclass_t *eclasses, const double *vertices, int **connectivity, const int do_both_directions); ``` """ -function t8_cmesh_set_join_by_vertices(cmesh, ntrees, eclasses, vertices, connectivity, - do_both_directions) - @ccall libt8.t8_cmesh_set_join_by_vertices(cmesh::t8_cmesh_t, ntrees::t8_gloidx_t, - eclasses::Ptr{t8_eclass_t}, - vertices::Ptr{Cdouble}, - connectivity::Ptr{Ptr{Cint}}, - do_both_directions::Cint)::Cvoid +function t8_cmesh_set_join_by_vertices(cmesh, ntrees, eclasses, vertices, connectivity, do_both_directions) + @ccall libt8.t8_cmesh_set_join_by_vertices(cmesh::t8_cmesh_t, ntrees::t8_gloidx_t, eclasses::Ptr{t8_eclass_t}, vertices::Ptr{Cdouble}, connectivity::Ptr{Ptr{Cint}}, do_both_directions::Cint)::Cvoid end """ @@ -12818,8 +12305,7 @@ void t8_cmesh_set_join_by_stash (t8_cmesh_t cmesh, int **connectivity, const int ``` """ function t8_cmesh_set_join_by_stash(cmesh, connectivity, do_both_directions) - @ccall libt8.t8_cmesh_set_join_by_stash(cmesh::t8_cmesh_t, connectivity::Ptr{Ptr{Cint}}, - do_both_directions::Cint)::Cvoid + @ccall libt8.t8_cmesh_set_join_by_stash(cmesh::t8_cmesh_t, connectivity::Ptr{Ptr{Cint}}, do_both_directions::Cint)::Cvoid end """ @@ -12857,8 +12343,7 @@ t8_gloidx_t t8_offset_first_tree_to_entry (const t8_gloidx_t first_tree, const i ``` """ function t8_offset_first_tree_to_entry(first_tree, shared) - @ccall libt8.t8_offset_first_tree_to_entry(first_tree::t8_gloidx_t, - shared::Cint)::t8_gloidx_t + @ccall libt8.t8_offset_first_tree_to_entry(first_tree::t8_gloidx_t, shared::Cint)::t8_gloidx_t end """ @@ -12935,8 +12420,7 @@ int t8_offset_next_nonempty_rank (const int rank, const int mpisize, const t8_gl ``` """ function t8_offset_next_nonempty_rank(rank, mpisize, offset) - @ccall libt8.t8_offset_next_nonempty_rank(rank::Cint, mpisize::Cint, - offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_next_nonempty_rank(rank::Cint, mpisize::Cint, offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12956,8 +12440,7 @@ int t8_offset_in_range (const t8_gloidx_t tree_id, const int proc, const t8_gloi ``` """ function t8_offset_in_range(tree_id, proc, offset) - @ccall libt8.t8_offset_in_range(tree_id::t8_gloidx_t, proc::Cint, - offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_in_range(tree_id::t8_gloidx_t, proc::Cint, offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12977,8 +12460,7 @@ int t8_offset_any_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, con ``` """ function t8_offset_any_owner_of_tree(mpisize, gtree, offset) - @ccall libt8.t8_offset_any_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_any_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t})::Cint end """ @@ -12999,9 +12481,7 @@ int t8_offset_any_owner_of_tree_ext (const int mpisize, const int start_proc, co ``` """ function t8_offset_any_owner_of_tree_ext(mpisize, start_proc, gtree, offset) - @ccall libt8.t8_offset_any_owner_of_tree_ext(mpisize::Cint, start_proc::Cint, - gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_any_owner_of_tree_ext(mpisize::Cint, start_proc::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t})::Cint end """ @@ -13022,9 +12502,7 @@ int t8_offset_first_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, c ``` """ function t8_offset_first_owner_of_tree(mpisize, gtree, offset, some_owner) - @ccall libt8.t8_offset_first_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t}, - some_owner::Ptr{Cint})::Cint + @ccall libt8.t8_offset_first_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, some_owner::Ptr{Cint})::Cint end """ @@ -13045,9 +12523,7 @@ int t8_offset_last_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, co ``` """ function t8_offset_last_owner_of_tree(mpisize, gtree, offset, some_owner) - @ccall libt8.t8_offset_last_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t}, - some_owner::Ptr{Cint})::Cint + @ccall libt8.t8_offset_last_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, some_owner::Ptr{Cint})::Cint end """ @@ -13068,9 +12544,7 @@ int t8_offset_next_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, co ``` """ function t8_offset_next_owner_of_tree(mpisize, gtree, offset, current_owner) - @ccall libt8.t8_offset_next_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t}, - current_owner::Cint)::Cint + @ccall libt8.t8_offset_next_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, current_owner::Cint)::Cint end """ @@ -13091,9 +12565,7 @@ int t8_offset_prev_owner_of_tree (const int mpisize, const t8_gloidx_t gtree, co ``` """ function t8_offset_prev_owner_of_tree(mpisize, gtree, offset, current_owner) - @ccall libt8.t8_offset_prev_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t}, - current_owner::Cint)::Cint + @ccall libt8.t8_offset_prev_owner_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, current_owner::Cint)::Cint end """ @@ -13112,9 +12584,7 @@ void t8_offset_all_owners_of_tree (const int mpisize, const t8_gloidx_t gtree, c ``` """ function t8_offset_all_owners_of_tree(mpisize, gtree, offset, owners) - @ccall libt8.t8_offset_all_owners_of_tree(mpisize::Cint, gtree::t8_gloidx_t, - offset::Ptr{t8_gloidx_t}, - owners::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_offset_all_owners_of_tree(mpisize::Cint, gtree::t8_gloidx_t, offset::Ptr{t8_gloidx_t}, owners::Ptr{sc_array_t})::Cvoid end """ @@ -13135,8 +12605,7 @@ int t8_offset_nosend (int proc, int mpisize, const t8_gloidx_t *offset_from, con ``` """ function t8_offset_nosend(proc, mpisize, offset_from, offset_to) - @ccall libt8.t8_offset_nosend(proc::Cint, mpisize::Cint, offset_from::Ptr{t8_gloidx_t}, - offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_nosend(proc::Cint, mpisize::Cint, offset_from::Ptr{t8_gloidx_t}, offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -13157,9 +12626,7 @@ int t8_offset_sendsto (int proca, int procb, const t8_gloidx_t *t8_offset_from, ``` """ function t8_offset_sendsto(proca, procb, t8_offset_from, t8_offset_to) - @ccall libt8.t8_offset_sendsto(proca::Cint, procb::Cint, - t8_offset_from::Ptr{t8_gloidx_t}, - t8_offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_sendsto(proca::Cint, procb::Cint, t8_offset_from::Ptr{t8_gloidx_t}, t8_offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -13181,9 +12648,7 @@ int t8_offset_sendstree (int proc_send, int proc_to, t8_gloidx_t gtree, const t8 ``` """ function t8_offset_sendstree(proc_send, proc_to, gtree, offset_from, offset_to) - @ccall libt8.t8_offset_sendstree(proc_send::Cint, proc_to::Cint, gtree::t8_gloidx_t, - offset_from::Ptr{t8_gloidx_t}, - offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_sendstree(proc_send::Cint, proc_to::Cint, gtree::t8_gloidx_t, offset_from::Ptr{t8_gloidx_t}, offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -13205,9 +12670,7 @@ int t8_offset_range_send (int start, int end, int mpirank, const t8_gloidx_t *of ``` """ function t8_offset_range_send(start, _end, mpirank, offset_from, offset_to) - @ccall libt8.t8_offset_range_send(start::Cint, _end::Cint, mpirank::Cint, - offset_from::Ptr{t8_gloidx_t}, - offset_to::Ptr{t8_gloidx_t})::Cint + @ccall libt8.t8_offset_range_send(start::Cint, _end::Cint, mpirank::Cint, offset_from::Ptr{t8_gloidx_t}, offset_to::Ptr{t8_gloidx_t})::Cint end """ @@ -13267,8 +12730,7 @@ void t8_cmesh_gather_treecount_nocommit (t8_cmesh_t cmesh, sc_MPI_Comm comm); ``` """ function t8_cmesh_gather_treecount_nocommit(cmesh, comm) - @ccall libt8.t8_cmesh_gather_treecount_nocommit(cmesh::t8_cmesh_t, - comm::MPI_Comm)::Cvoid + @ccall libt8.t8_cmesh_gather_treecount_nocommit(cmesh::t8_cmesh_t, comm::MPI_Comm)::Cvoid end """ @@ -13292,8 +12754,7 @@ t8_shmem_array_t t8_cmesh_offset_concentrate (int proc, sc_MPI_Comm comm, t8_glo ``` """ function t8_cmesh_offset_concentrate(proc, comm, num_trees) - @ccall libt8.t8_cmesh_offset_concentrate(proc::Cint, comm::MPI_Comm, - num_trees::t8_gloidx_t)::t8_shmem_array_t + @ccall libt8.t8_cmesh_offset_concentrate(proc::Cint, comm::MPI_Comm, num_trees::t8_gloidx_t)::t8_shmem_array_t end """ @@ -13305,8 +12766,7 @@ t8_shmem_array_t t8_cmesh_offset_random (sc_MPI_Comm comm, t8_gloidx_t num_trees ``` """ function t8_cmesh_offset_random(comm, num_trees, shared, seed) - @ccall libt8.t8_cmesh_offset_random(comm::MPI_Comm, num_trees::t8_gloidx_t, - shared::Cint, seed::Cuint)::t8_shmem_array_t + @ccall libt8.t8_cmesh_offset_random(comm::MPI_Comm, num_trees::t8_gloidx_t, shared::Cint, seed::Cuint)::t8_shmem_array_t end """ @@ -13330,8 +12790,7 @@ t8_shmem_array_t t8_cmesh_offset_percent (t8_cmesh_t cmesh, sc_MPI_Comm comm, in ``` """ function t8_cmesh_offset_percent(cmesh, comm, percent) - @ccall libt8.t8_cmesh_offset_percent(cmesh::t8_cmesh_t, comm::MPI_Comm, - percent::Cint)::t8_shmem_array_t + @ccall libt8.t8_cmesh_offset_percent(cmesh::t8_cmesh_t, comm::MPI_Comm, percent::Cint)::t8_shmem_array_t end """ @@ -13452,8 +12911,7 @@ void t8_stash_add_class (t8_stash_t stash, t8_gloidx_t id, t8_eclass_t eclass); ``` """ function t8_stash_add_class(stash, id, eclass) - @ccall libt8.t8_stash_add_class(stash::t8_stash_t, id::t8_gloidx_t, - eclass::t8_eclass_t)::Cvoid + @ccall libt8.t8_stash_add_class(stash::t8_stash_t, id::t8_gloidx_t, eclass::t8_eclass_t)::Cvoid end """ @@ -13474,9 +12932,7 @@ void t8_stash_add_facejoin (t8_stash_t stash, t8_gloidx_t gid1, t8_gloidx_t gid2 ``` """ function t8_stash_add_facejoin(stash, gid1, gid2, face1, face2, orientation) - @ccall libt8.t8_stash_add_facejoin(stash::t8_stash_t, gid1::t8_gloidx_t, - gid2::t8_gloidx_t, face1::Cint, face2::Cint, - orientation::Cint)::Cvoid + @ccall libt8.t8_stash_add_facejoin(stash::t8_stash_t, gid1::t8_gloidx_t, gid2::t8_gloidx_t, face1::Cint, face2::Cint, orientation::Cint)::Cvoid end """ @@ -13549,9 +13005,7 @@ void t8_stash_add_attribute (t8_stash_t stash, t8_gloidx_t id, int package_id, i ``` """ function t8_stash_add_attribute(stash, id, package_id, key, size, attr, copy) - @ccall libt8.t8_stash_add_attribute(stash::t8_stash_t, id::t8_gloidx_t, - package_id::Cint, key::Cint, size::Csize_t, - attr::Ptr{Cvoid}, copy::Cint)::Cvoid + @ccall libt8.t8_stash_add_attribute(stash::t8_stash_t, id::t8_gloidx_t, package_id::Cint, key::Cint, size::Csize_t, attr::Ptr{Cvoid}, copy::Cint)::Cvoid end """ @@ -13608,8 +13062,7 @@ t8_gloidx_t t8_stash_get_attribute_tree_id (t8_stash_t stash, size_t index); ``` """ function t8_stash_get_attribute_tree_id(stash, index) - @ccall libt8.t8_stash_get_attribute_tree_id(stash::t8_stash_t, - index::Csize_t)::t8_gloidx_t + @ccall libt8.t8_stash_get_attribute_tree_id(stash::t8_stash_t, index::Csize_t)::t8_gloidx_t end """ @@ -13694,8 +13147,7 @@ t8_stash_t t8_stash_bcast (t8_stash_t stash, int root, sc_MPI_Comm comm, const s ``` """ function t8_stash_bcast(stash, root, comm, elem_counts) - @ccall libt8.t8_stash_bcast(stash::t8_stash_t, root::Cint, comm::MPI_Comm, - elem_counts::Ptr{Csize_t})::t8_stash_t + @ccall libt8.t8_stash_bcast(stash::t8_stash_t, root::Cint, comm::MPI_Comm, elem_counts::Ptr{Csize_t})::t8_stash_t end """ @@ -13769,8 +13221,7 @@ void t8_cmesh_trees_init (t8_cmesh_trees_t *ptrees, int num_procs, t8_locidx_t n ``` """ function t8_cmesh_trees_init(ptrees, num_procs, num_trees, num_ghosts) - @ccall libt8.t8_cmesh_trees_init(ptrees::Ptr{t8_cmesh_trees_t}, num_procs::Cint, - num_trees::t8_locidx_t, num_ghosts::t8_locidx_t)::Cvoid + @ccall libt8.t8_cmesh_trees_init(ptrees::Ptr{t8_cmesh_trees_t}, num_procs::Cint, num_trees::t8_locidx_t, num_ghosts::t8_locidx_t)::Cvoid end struct t8_part_tree @@ -13804,8 +13255,7 @@ t8_part_tree_t t8_cmesh_trees_get_part (const t8_cmesh_trees_t trees, const int ``` """ function t8_cmesh_trees_get_part(trees, proc) - @ccall libt8.t8_cmesh_trees_get_part(trees::t8_cmesh_trees_t, - proc::Cint)::t8_part_tree_t + @ccall libt8.t8_cmesh_trees_get_part(trees::t8_cmesh_trees_t, proc::Cint)::t8_part_tree_t end """ @@ -13826,12 +13276,8 @@ Allocate the first\\_tree array of a given tree\\_part in a tree struct with a g void t8_cmesh_trees_start_part (t8_cmesh_trees_t trees, int proc, t8_locidx_t lfirst_tree, t8_locidx_t num_trees, t8_locidx_t lfirst_ghost, t8_locidx_t num_ghosts, int alloc); ``` """ -function t8_cmesh_trees_start_part(trees, proc, lfirst_tree, num_trees, lfirst_ghost, - num_ghosts, alloc) - @ccall libt8.t8_cmesh_trees_start_part(trees::t8_cmesh_trees_t, proc::Cint, - lfirst_tree::t8_locidx_t, num_trees::t8_locidx_t, - lfirst_ghost::t8_locidx_t, - num_ghosts::t8_locidx_t, alloc::Cint)::Cvoid +function t8_cmesh_trees_start_part(trees, proc, lfirst_tree, num_trees, lfirst_ghost, num_ghosts, alloc) + @ccall libt8.t8_cmesh_trees_start_part(trees::t8_cmesh_trees_t, proc::Cint, lfirst_tree::t8_locidx_t, num_trees::t8_locidx_t, lfirst_ghost::t8_locidx_t, num_ghosts::t8_locidx_t, alloc::Cint)::Cvoid end """ @@ -13867,10 +13313,7 @@ void t8_cmesh_trees_copy_toproc (t8_cmesh_trees_t trees_dest, t8_cmesh_trees_t t ``` """ function t8_cmesh_trees_copy_toproc(trees_dest, trees_src, lnum_trees, lnum_ghosts) - @ccall libt8.t8_cmesh_trees_copy_toproc(trees_dest::t8_cmesh_trees_t, - trees_src::t8_cmesh_trees_t, - lnum_trees::t8_locidx_t, - lnum_ghosts::t8_locidx_t)::Cvoid + @ccall libt8.t8_cmesh_trees_copy_toproc(trees_dest::t8_cmesh_trees_t, trees_src::t8_cmesh_trees_t, lnum_trees::t8_locidx_t, lnum_ghosts::t8_locidx_t)::Cvoid end """ @@ -13889,9 +13332,7 @@ void t8_cmesh_trees_copy_part (t8_cmesh_trees_t trees_dest, int part_dest, t8_cm ``` """ function t8_cmesh_trees_copy_part(trees_dest, part_dest, trees_src, part_src) - @ccall libt8.t8_cmesh_trees_copy_part(trees_dest::t8_cmesh_trees_t, part_dest::Cint, - trees_src::t8_cmesh_trees_t, - part_src::Cint)::Cvoid + @ccall libt8.t8_cmesh_trees_copy_part(trees_dest::t8_cmesh_trees_t, part_dest::Cint, trees_src::t8_cmesh_trees_t, part_src::Cint)::Cvoid end """ @@ -13910,8 +13351,7 @@ void t8_cmesh_trees_add_tree (t8_cmesh_trees_t trees, t8_locidx_t ltree_id, int ``` """ function t8_cmesh_trees_add_tree(trees, ltree_id, proc, eclass) - @ccall libt8.t8_cmesh_trees_add_tree(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, - proc::Cint, eclass::t8_eclass_t)::Cvoid + @ccall libt8.t8_cmesh_trees_add_tree(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, proc::Cint, eclass::t8_eclass_t)::Cvoid end """ @@ -13931,12 +13371,8 @@ Add a ghost to a trees structure. void t8_cmesh_trees_add_ghost (t8_cmesh_trees_t trees, t8_locidx_t lghost_index, t8_gloidx_t gtree_id, int proc, t8_eclass_t eclass, t8_locidx_t num_local_trees); ``` """ -function t8_cmesh_trees_add_ghost(trees, lghost_index, gtree_id, proc, eclass, - num_local_trees) - @ccall libt8.t8_cmesh_trees_add_ghost(trees::t8_cmesh_trees_t, - lghost_index::t8_locidx_t, gtree_id::t8_gloidx_t, - proc::Cint, eclass::t8_eclass_t, - num_local_trees::t8_locidx_t)::Cvoid +function t8_cmesh_trees_add_ghost(trees, lghost_index, gtree_id, proc, eclass, num_local_trees) + @ccall libt8.t8_cmesh_trees_add_ghost(trees::t8_cmesh_trees_t, lghost_index::t8_locidx_t, gtree_id::t8_gloidx_t, proc::Cint, eclass::t8_eclass_t, num_local_trees::t8_locidx_t)::Cvoid end """ @@ -13953,8 +13389,7 @@ void t8_cmesh_trees_set_all_boundary (t8_cmesh_t cmesh, t8_cmesh_trees_t trees); ``` """ function t8_cmesh_trees_set_all_boundary(cmesh, trees) - @ccall libt8.t8_cmesh_trees_set_all_boundary(cmesh::t8_cmesh_t, - trees::t8_cmesh_trees_t)::Cvoid + @ccall libt8.t8_cmesh_trees_set_all_boundary(cmesh::t8_cmesh_t, trees::t8_cmesh_trees_t)::Cvoid end """ @@ -13965,13 +13400,8 @@ end void t8_cmesh_trees_get_part_data (t8_cmesh_trees_t trees, int proc, t8_locidx_t *first_tree, t8_locidx_t *num_trees, t8_locidx_t *first_ghost, t8_locidx_t *num_ghosts); ``` """ -function t8_cmesh_trees_get_part_data(trees, proc, first_tree, num_trees, first_ghost, - num_ghosts) - @ccall libt8.t8_cmesh_trees_get_part_data(trees::t8_cmesh_trees_t, proc::Cint, - first_tree::Ptr{t8_locidx_t}, - num_trees::Ptr{t8_locidx_t}, - first_ghost::Ptr{t8_locidx_t}, - num_ghosts::Ptr{t8_locidx_t})::Cvoid +function t8_cmesh_trees_get_part_data(trees, proc, first_tree, num_trees, first_ghost, num_ghosts) + @ccall libt8.t8_cmesh_trees_get_part_data(trees::t8_cmesh_trees_t, proc::Cint, first_tree::Ptr{t8_locidx_t}, num_trees::Ptr{t8_locidx_t}, first_ghost::Ptr{t8_locidx_t}, num_ghosts::Ptr{t8_locidx_t})::Cvoid end """ @@ -13990,8 +13420,7 @@ t8_ctree_t t8_cmesh_trees_get_tree (t8_cmesh_trees_t trees, t8_locidx_t ltree); ``` """ function t8_cmesh_trees_get_tree(trees, ltree) - @ccall libt8.t8_cmesh_trees_get_tree(trees::t8_cmesh_trees_t, - ltree::t8_locidx_t)::t8_ctree_t + @ccall libt8.t8_cmesh_trees_get_tree(trees::t8_cmesh_trees_t, ltree::t8_locidx_t)::t8_ctree_t end """ @@ -14012,9 +13441,7 @@ t8_ctree_t t8_cmesh_trees_get_tree_ext (t8_cmesh_trees_t trees, t8_locidx_t ltre ``` """ function t8_cmesh_trees_get_tree_ext(trees, ltree_id, face_neigh, ttf) - @ccall libt8.t8_cmesh_trees_get_tree_ext(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, - face_neigh::Ptr{Ptr{t8_locidx_t}}, - ttf::Ptr{Ptr{Int8}})::t8_ctree_t + @ccall libt8.t8_cmesh_trees_get_tree_ext(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, face_neigh::Ptr{Ptr{t8_locidx_t}}, ttf::Ptr{Ptr{Int8}})::t8_ctree_t end """ @@ -14035,8 +13462,7 @@ t8_locidx_t t8_cmesh_trees_get_face_info (t8_cmesh_trees_t trees, t8_locidx_t lt ``` """ function t8_cmesh_trees_get_face_info(trees, ltreeid, face, ttf) - @ccall libt8.t8_cmesh_trees_get_face_info(trees::t8_cmesh_trees_t, ltreeid::t8_locidx_t, - face::Cint, ttf::Ptr{Int8})::t8_locidx_t + @ccall libt8.t8_cmesh_trees_get_face_info(trees::t8_cmesh_trees_t, ltreeid::t8_locidx_t, face::Cint, ttf::Ptr{Int8})::t8_locidx_t end """ @@ -14075,8 +13501,7 @@ t8_locidx_t t8_cmesh_trees_get_face_neighbor_ext (const t8_ctree_t tree, const i ``` """ function t8_cmesh_trees_get_face_neighbor_ext(tree, face, ttf) - @ccall libt8.t8_cmesh_trees_get_face_neighbor_ext(tree::t8_ctree_t, face::Cint, - ttf::Ptr{Int8})::t8_locidx_t + @ccall libt8.t8_cmesh_trees_get_face_neighbor_ext(tree::t8_ctree_t, face::Cint, ttf::Ptr{Int8})::t8_locidx_t end """ @@ -14096,8 +13521,7 @@ t8_gloidx_t t8_cmesh_trees_get_ghost_face_neighbor_ext (const t8_cghost_t ghost, ``` """ function t8_cmesh_trees_get_ghost_face_neighbor_ext(ghost, face, ttf) - @ccall libt8.t8_cmesh_trees_get_ghost_face_neighbor_ext(ghost::t8_cghost_t, face::Cint, - ttf::Ptr{Int8})::t8_gloidx_t + @ccall libt8.t8_cmesh_trees_get_ghost_face_neighbor_ext(ghost::t8_cghost_t, face::Cint, ttf::Ptr{Int8})::t8_gloidx_t end """ @@ -14116,8 +13540,7 @@ t8_cghost_t t8_cmesh_trees_get_ghost (t8_cmesh_trees_t trees, t8_locidx_t lghost ``` """ function t8_cmesh_trees_get_ghost(trees, lghost) - @ccall libt8.t8_cmesh_trees_get_ghost(trees::t8_cmesh_trees_t, - lghost::t8_locidx_t)::t8_cghost_t + @ccall libt8.t8_cmesh_trees_get_ghost(trees::t8_cmesh_trees_t, lghost::t8_locidx_t)::t8_cghost_t end """ @@ -14138,10 +13561,7 @@ t8_cghost_t t8_cmesh_trees_get_ghost_ext (t8_cmesh_trees_t trees, t8_locidx_t lg ``` """ function t8_cmesh_trees_get_ghost_ext(trees, lghost_id, face_neigh, ttf) - @ccall libt8.t8_cmesh_trees_get_ghost_ext(trees::t8_cmesh_trees_t, - lghost_id::t8_locidx_t, - face_neigh::Ptr{Ptr{t8_gloidx_t}}, - ttf::Ptr{Ptr{Int8}})::t8_cghost_t + @ccall libt8.t8_cmesh_trees_get_ghost_ext(trees::t8_cmesh_trees_t, lghost_id::t8_locidx_t, face_neigh::Ptr{Ptr{t8_gloidx_t}}, ttf::Ptr{Ptr{Int8}})::t8_cghost_t end """ @@ -14160,8 +13580,7 @@ t8_locidx_t t8_cmesh_trees_get_ghost_local_id (t8_cmesh_trees_t trees, t8_gloidx ``` """ function t8_cmesh_trees_get_ghost_local_id(trees, global_id) - @ccall libt8.t8_cmesh_trees_get_ghost_local_id(trees::t8_cmesh_trees_t, - global_id::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_cmesh_trees_get_ghost_local_id(trees::t8_cmesh_trees_t, global_id::t8_gloidx_t)::t8_locidx_t end """ @@ -14192,10 +13611,7 @@ void t8_cmesh_trees_init_attributes (t8_cmesh_trees_t trees, t8_locidx_t ltree_i ``` """ function t8_cmesh_trees_init_attributes(trees, ltree_id, num_attributes, attr_bytes) - @ccall libt8.t8_cmesh_trees_init_attributes(trees::t8_cmesh_trees_t, - ltree_id::t8_locidx_t, - num_attributes::Csize_t, - attr_bytes::Csize_t)::Cvoid + @ccall libt8.t8_cmesh_trees_init_attributes(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, num_attributes::Csize_t, attr_bytes::Csize_t)::Cvoid end """ @@ -14218,10 +13634,7 @@ void * t8_cmesh_trees_get_attribute (const t8_cmesh_trees_t trees, const t8_loci ``` """ function t8_cmesh_trees_get_attribute(trees, ltree_id, package_id, key, size, is_ghost) - @ccall libt8.t8_cmesh_trees_get_attribute(trees::t8_cmesh_trees_t, - ltree_id::t8_locidx_t, package_id::Cint, - key::Cint, size::Ptr{Csize_t}, - is_ghost::Cint)::Ptr{Cvoid} + @ccall libt8.t8_cmesh_trees_get_attribute(trees::t8_cmesh_trees_t, ltree_id::t8_locidx_t, package_id::Cint, key::Cint, size::Ptr{Csize_t}, is_ghost::Cint)::Ptr{Cvoid} end """ @@ -14269,9 +13682,7 @@ void t8_cmesh_trees_add_attribute (const t8_cmesh_trees_t trees, int proc, const ``` """ function t8_cmesh_trees_add_attribute(trees, proc, attr, tree_id, index) - @ccall libt8.t8_cmesh_trees_add_attribute(trees::t8_cmesh_trees_t, proc::Cint, - attr::Ptr{t8_stash_attribute_struct_t}, - tree_id::t8_locidx_t, index::Csize_t)::Cvoid + @ccall libt8.t8_cmesh_trees_add_attribute(trees::t8_cmesh_trees_t, proc::Cint, attr::Ptr{t8_stash_attribute_struct_t}, tree_id::t8_locidx_t, index::Csize_t)::Cvoid end """ @@ -14290,13 +13701,8 @@ Add the next ghost attribute from stash to the correct position in the char poin void t8_cmesh_trees_add_ghost_attribute (const t8_cmesh_trees_t trees, const t8_stash_attribute_struct_t *attr, t8_locidx_t local_ghost_id, t8_locidx_t ghosts_inserted, size_t index); ``` """ -function t8_cmesh_trees_add_ghost_attribute(trees, attr, local_ghost_id, ghosts_inserted, - index) - @ccall libt8.t8_cmesh_trees_add_ghost_attribute(trees::t8_cmesh_trees_t, - attr::Ptr{t8_stash_attribute_struct_t}, - local_ghost_id::t8_locidx_t, - ghosts_inserted::t8_locidx_t, - index::Csize_t)::Cvoid +function t8_cmesh_trees_add_ghost_attribute(trees, attr, local_ghost_id, ghosts_inserted, index) + @ccall libt8.t8_cmesh_trees_add_ghost_attribute(trees::t8_cmesh_trees_t, attr::Ptr{t8_stash_attribute_struct_t}, local_ghost_id::t8_locidx_t, ghosts_inserted::t8_locidx_t, index::Csize_t)::Cvoid end """ @@ -14334,8 +13740,7 @@ int8_t t8_cmesh_tree_to_face_encode (const int dimension, const t8_locidx_t face ``` """ function t8_cmesh_tree_to_face_encode(dimension, face, orientation) - @ccall libt8.t8_cmesh_tree_to_face_encode(dimension::Cint, face::t8_locidx_t, - orientation::Cint)::Int8 + @ccall libt8.t8_cmesh_tree_to_face_encode(dimension::Cint, face::t8_locidx_t, orientation::Cint)::Int8 end """ @@ -14358,9 +13763,7 @@ void t8_cmesh_tree_to_face_decode (const int dimension, const int8_t tree_to_fac ``` """ function t8_cmesh_tree_to_face_decode(dimension, tree_to_face, face, orientation) - @ccall libt8.t8_cmesh_tree_to_face_decode(dimension::Cint, tree_to_face::Int8, - face::Ptr{Cint}, - orientation::Ptr{Cint})::Cvoid + @ccall libt8.t8_cmesh_tree_to_face_decode(dimension::Cint, tree_to_face::Int8, face::Ptr{Cint}, orientation::Ptr{Cint})::Cvoid end """ @@ -14389,8 +13792,7 @@ void t8_cmesh_trees_bcast (t8_cmesh_t cmesh_in, int root, sc_MPI_Comm comm); ``` """ function t8_cmesh_trees_bcast(cmesh_in, root, comm) - @ccall libt8.t8_cmesh_trees_bcast(cmesh_in::t8_cmesh_t, root::Cint, - comm::MPI_Comm)::Cvoid + @ccall libt8.t8_cmesh_trees_bcast(cmesh_in::t8_cmesh_t, root::Cint, comm::MPI_Comm)::Cvoid end """ @@ -14409,8 +13811,7 @@ int t8_cmesh_trees_is_face_consistent (t8_cmesh_t cmesh, t8_cmesh_trees_t trees) ``` """ function t8_cmesh_trees_is_face_consistent(cmesh, trees) - @ccall libt8.t8_cmesh_trees_is_face_consistent(cmesh::t8_cmesh_t, - trees::t8_cmesh_trees_t)::Cint + @ccall libt8.t8_cmesh_trees_is_face_consistent(cmesh::t8_cmesh_t, trees::t8_cmesh_trees_t)::Cint end """ @@ -14422,8 +13823,7 @@ int t8_cmesh_trees_is_equal (t8_cmesh_t cmesh, t8_cmesh_trees_t trees_a, t8_cmes ``` """ function t8_cmesh_trees_is_equal(cmesh, trees_a, trees_b) - @ccall libt8.t8_cmesh_trees_is_equal(cmesh::t8_cmesh_t, trees_a::t8_cmesh_trees_t, - trees_b::t8_cmesh_trees_t)::Cint + @ccall libt8.t8_cmesh_trees_is_equal(cmesh::t8_cmesh_t, trees_a::t8_cmesh_trees_t, trees_b::t8_cmesh_trees_t)::Cint end """ @@ -14522,8 +13922,7 @@ t8_element_array_t * t8_element_array_new_count (t8_eclass_scheme_c *scheme, siz ``` """ function t8_element_array_new_count(scheme, num_elements) - @ccall libt8.t8_element_array_new_count(scheme::Ptr{t8_eclass_scheme_c}, - num_elements::Csize_t)::Ptr{t8_element_array_t} + @ccall libt8.t8_element_array_new_count(scheme::Ptr{t8_eclass_scheme_c}, num_elements::Csize_t)::Ptr{t8_element_array_t} end """ @@ -14540,8 +13939,7 @@ void t8_element_array_init (t8_element_array_t *element_array, t8_eclass_scheme_ ``` """ function t8_element_array_init(element_array, scheme) - @ccall libt8.t8_element_array_init(element_array::Ptr{t8_element_array_t}, - scheme::Ptr{t8_eclass_scheme_c})::Cvoid + @ccall libt8.t8_element_array_init(element_array::Ptr{t8_element_array_t}, scheme::Ptr{t8_eclass_scheme_c})::Cvoid end """ @@ -14559,9 +13957,7 @@ void t8_element_array_init_size (t8_element_array_t *element_array, t8_eclass_sc ``` """ function t8_element_array_init_size(element_array, scheme, num_elements) - @ccall libt8.t8_element_array_init_size(element_array::Ptr{t8_element_array_t}, - scheme::Ptr{t8_eclass_scheme_c}, - num_elements::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_size(element_array::Ptr{t8_element_array_t}, scheme::Ptr{t8_eclass_scheme_c}, num_elements::Csize_t)::Cvoid end """ @@ -14580,9 +13976,7 @@ void t8_element_array_init_view (t8_element_array_t *view, t8_element_array_t *a ``` """ function t8_element_array_init_view(view, array, offset, length) - @ccall libt8.t8_element_array_init_view(view::Ptr{t8_element_array_t}, - array::Ptr{t8_element_array_t}, offset::Csize_t, - length::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_view(view::Ptr{t8_element_array_t}, array::Ptr{t8_element_array_t}, offset::Csize_t, length::Csize_t)::Cvoid end """ @@ -14601,10 +13995,7 @@ void t8_element_array_init_data (t8_element_array_t *view, t8_element_t *base, t ``` """ function t8_element_array_init_data(view, base, scheme, elem_count) - @ccall libt8.t8_element_array_init_data(view::Ptr{t8_element_array_t}, - base::Ptr{t8_element_t}, - scheme::Ptr{t8_eclass_scheme_c}, - elem_count::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_data(view::Ptr{t8_element_array_t}, base::Ptr{t8_element_t}, scheme::Ptr{t8_eclass_scheme_c}, elem_count::Csize_t)::Cvoid end """ @@ -14623,10 +14014,7 @@ void t8_element_array_init_copy (t8_element_array_t *element_array, t8_eclass_sc ``` """ function t8_element_array_init_copy(element_array, scheme, data, num_elements) - @ccall libt8.t8_element_array_init_copy(element_array::Ptr{t8_element_array_t}, - scheme::Ptr{t8_eclass_scheme_c}, - data::Ptr{t8_element_t}, - num_elements::Csize_t)::Cvoid + @ccall libt8.t8_element_array_init_copy(element_array::Ptr{t8_element_array_t}, scheme::Ptr{t8_eclass_scheme_c}, data::Ptr{t8_element_t}, num_elements::Csize_t)::Cvoid end """ @@ -14647,8 +14035,7 @@ void t8_element_array_resize (t8_element_array_t *element_array, size_t new_coun ``` """ function t8_element_array_resize(element_array, new_count) - @ccall libt8.t8_element_array_resize(element_array::Ptr{t8_element_array_t}, - new_count::Csize_t)::Cvoid + @ccall libt8.t8_element_array_resize(element_array::Ptr{t8_element_array_t}, new_count::Csize_t)::Cvoid end """ @@ -14665,8 +14052,7 @@ void t8_element_array_copy (t8_element_array_t *dest, const t8_element_array_t * ``` """ function t8_element_array_copy(dest, src) - @ccall libt8.t8_element_array_copy(dest::Ptr{t8_element_array_t}, - src::Ptr{t8_element_array_t})::Cvoid + @ccall libt8.t8_element_array_copy(dest::Ptr{t8_element_array_t}, src::Ptr{t8_element_array_t})::Cvoid end """ @@ -14703,8 +14089,7 @@ t8_element_t * t8_element_array_push_count (t8_element_array_t *element_array, s ``` """ function t8_element_array_push_count(element_array, count) - @ccall libt8.t8_element_array_push_count(element_array::Ptr{t8_element_array_t}, - count::Csize_t)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_push_count(element_array::Ptr{t8_element_array_t}, count::Csize_t)::Ptr{t8_element_t} end """ @@ -14723,8 +14108,7 @@ const t8_element_t * t8_element_array_index_locidx (const t8_element_array_t *el ``` """ function t8_element_array_index_locidx(element_array, index) - @ccall libt8.t8_element_array_index_locidx(element_array::Ptr{t8_element_array_t}, - index::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_locidx(element_array::Ptr{t8_element_array_t}, index::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -14743,8 +14127,7 @@ const t8_element_t * t8_element_array_index_int (const t8_element_array_t *eleme ``` """ function t8_element_array_index_int(element_array, index) - @ccall libt8.t8_element_array_index_int(element_array::Ptr{t8_element_array_t}, - index::Cint)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_int(element_array::Ptr{t8_element_array_t}, index::Cint)::Ptr{t8_element_t} end """ @@ -14763,8 +14146,7 @@ t8_element_t * t8_element_array_index_locidx_mutable (t8_element_array_t *elemen ``` """ function t8_element_array_index_locidx_mutable(element_array, index) - @ccall libt8.t8_element_array_index_locidx_mutable(element_array::Ptr{t8_element_array_t}, - index::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_locidx_mutable(element_array::Ptr{t8_element_array_t}, index::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -14783,8 +14165,7 @@ t8_element_t * t8_element_array_index_int_mutable (t8_element_array_t *element_a ``` """ function t8_element_array_index_int_mutable(element_array, index) - @ccall libt8.t8_element_array_index_int_mutable(element_array::Ptr{t8_element_array_t}, - index::Cint)::Ptr{t8_element_t} + @ccall libt8.t8_element_array_index_int_mutable(element_array::Ptr{t8_element_array_t}, index::Cint)::Ptr{t8_element_t} end """ @@ -15006,8 +14387,7 @@ void t8_shmem_array_init (t8_shmem_array_t *parray, size_t elem_size, size_t ele ``` """ function t8_shmem_array_init(parray, elem_size, elem_count, comm) - @ccall libt8.t8_shmem_array_init(parray::Ptr{t8_shmem_array_t}, elem_size::Csize_t, - elem_count::Csize_t, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_shmem_array_init(parray::Ptr{t8_shmem_array_t}, elem_size::Csize_t, elem_count::Csize_t, comm::MPI_Comm)::Cvoid end """ @@ -15070,8 +14450,7 @@ void t8_shmem_array_set_gloidx (t8_shmem_array_t array, int index, t8_gloidx_t v ``` """ function t8_shmem_array_set_gloidx(array, index, value) - @ccall libt8.t8_shmem_array_set_gloidx(array::t8_shmem_array_t, index::Cint, - value::t8_gloidx_t)::Cvoid + @ccall libt8.t8_shmem_array_set_gloidx(array::t8_shmem_array_t, index::Cint, value::t8_gloidx_t)::Cvoid end """ @@ -15096,8 +14475,7 @@ void t8_shmem_array_copy (t8_shmem_array_t dest, t8_shmem_array_t source); ``` """ function t8_shmem_array_copy(dest, source) - @ccall libt8.t8_shmem_array_copy(dest::t8_shmem_array_t, - source::t8_shmem_array_t)::Cvoid + @ccall libt8.t8_shmem_array_copy(dest::t8_shmem_array_t, source::t8_shmem_array_t)::Cvoid end """ @@ -15108,11 +14486,8 @@ end void t8_shmem_array_allgather (const void *sendbuf, int sendcount, sc_MPI_Datatype sendtype, t8_shmem_array_t recvarray, int recvcount, sc_MPI_Datatype recvtype); ``` """ -function t8_shmem_array_allgather(sendbuf, sendcount, sendtype, recvarray, recvcount, - recvtype) - @ccall libt8.t8_shmem_array_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, - sendtype::Cint, recvarray::t8_shmem_array_t, - recvcount::Cint, recvtype::Cint)::Cvoid +function t8_shmem_array_allgather(sendbuf, sendcount, sendtype, recvarray, recvcount, recvtype) + @ccall libt8.t8_shmem_array_allgather(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, recvarray::t8_shmem_array_t, recvcount::Cint, recvtype::Cint)::Cvoid end """ @@ -15124,9 +14499,7 @@ void t8_shmem_array_allgatherv (void *sendbuf, const int sendcount, sc_MPI_Datat ``` """ function t8_shmem_array_allgatherv(sendbuf, sendcount, sendtype, recvarray, recvtype, comm) - @ccall libt8.t8_shmem_array_allgatherv(sendbuf::Ptr{Cvoid}, sendcount::Cint, - sendtype::Cint, recvarray::t8_shmem_array_t, - recvtype::Cint, comm::MPI_Comm)::Cvoid + @ccall libt8.t8_shmem_array_allgatherv(sendbuf::Ptr{Cvoid}, sendcount::Cint, sendtype::Cint, recvarray::t8_shmem_array_t, recvtype::Cint, comm::MPI_Comm)::Cvoid end """ @@ -15138,9 +14511,7 @@ void t8_shmem_array_prefix (const void *sendbuf, t8_shmem_array_t recvarray, con ``` """ function t8_shmem_array_prefix(sendbuf, recvarray, count, type, op, comm) - @ccall libt8.t8_shmem_array_prefix(sendbuf::Ptr{Cvoid}, recvarray::t8_shmem_array_t, - count::Cint, type::Cint, op::Cint, - comm::MPI_Comm)::Cvoid + @ccall libt8.t8_shmem_array_prefix(sendbuf::Ptr{Cvoid}, recvarray::t8_shmem_array_t, count::Cint, type::Cint, op::Cint, comm::MPI_Comm)::Cvoid end """ @@ -15251,8 +14622,7 @@ t8_gloidx_t t8_shmem_array_get_gloidx (t8_shmem_array_t array, int index); ``` """ function t8_shmem_array_get_gloidx(array, index) - @ccall libt8.t8_shmem_array_get_gloidx(array::t8_shmem_array_t, - index::Cint)::t8_gloidx_t + @ccall libt8.t8_shmem_array_get_gloidx(array::t8_shmem_array_t, index::Cint)::t8_gloidx_t end """ @@ -15328,8 +14698,7 @@ void * t8_shmem_array_index_for_writing (t8_shmem_array_t array, size_t index); ``` """ function t8_shmem_array_index_for_writing(array, index) - @ccall libt8.t8_shmem_array_index_for_writing(array::t8_shmem_array_t, - index::Csize_t)::Ptr{Cvoid} + @ccall libt8.t8_shmem_array_index_for_writing(array::t8_shmem_array_t, index::Csize_t)::Ptr{Cvoid} end """ @@ -15341,8 +14710,7 @@ int t8_shmem_array_is_equal (t8_shmem_array_t array_a, t8_shmem_array_t array_b) ``` """ function t8_shmem_array_is_equal(array_a, array_b) - @ccall libt8.t8_shmem_array_is_equal(array_a::t8_shmem_array_t, - array_b::t8_shmem_array_t)::Cint + @ccall libt8.t8_shmem_array_is_equal(array_a::t8_shmem_array_t, array_b::t8_shmem_array_t)::Cint end """ @@ -15598,8 +14966,7 @@ void t8_forest_set_cmesh (t8_forest_t forest, t8_cmesh_t cmesh, sc_MPI_Comm comm ``` """ function t8_forest_set_cmesh(forest, cmesh, comm) - @ccall libt8.t8_forest_set_cmesh(forest::t8_forest_t, cmesh::t8_cmesh_t, - comm::MPI_Comm)::Cvoid + @ccall libt8.t8_forest_set_cmesh(forest::t8_forest_t, cmesh::t8_cmesh_t, comm::MPI_Comm)::Cvoid end """ @@ -15616,8 +14983,7 @@ void t8_forest_set_scheme (t8_forest_t forest, t8_scheme_cxx_t *scheme); ``` """ function t8_forest_set_scheme(forest, scheme) - @ccall libt8.t8_forest_set_scheme(forest::t8_forest_t, - scheme::Ptr{t8_scheme_cxx_t})::Cvoid + @ccall libt8.t8_forest_set_scheme(forest::t8_forest_t, scheme::Ptr{t8_scheme_cxx_t})::Cvoid end """ @@ -15686,8 +15052,7 @@ void t8_forest_set_adapt (t8_forest_t forest, const t8_forest_t set_from, t8_for ``` """ function t8_forest_set_adapt(forest, set_from, adapt_fn, recursive) - @ccall libt8.t8_forest_set_adapt(forest::t8_forest_t, set_from::t8_forest_t, - adapt_fn::t8_forest_adapt_t, recursive::Cint)::Cvoid + @ccall libt8.t8_forest_set_adapt(forest::t8_forest_t, set_from::t8_forest_t, adapt_fn::t8_forest_adapt_t, recursive::Cint)::Cvoid end """ @@ -15752,8 +15117,7 @@ void t8_forest_set_user_function (t8_forest_t forest, t8_generic_function_pointe ``` """ function t8_forest_set_user_function(forest, _function) - @ccall libt8.t8_forest_set_user_function(forest::t8_forest_t, - _function::t8_generic_function_pointer)::Cvoid + @ccall libt8.t8_forest_set_user_function(forest::t8_forest_t, _function::t8_generic_function_pointer)::Cvoid end """ @@ -15800,8 +15164,7 @@ void t8_forest_set_partition (t8_forest_t forest, const t8_forest_t set_from, in ``` """ function t8_forest_set_partition(forest, set_from, set_for_coarsening) - @ccall libt8.t8_forest_set_partition(forest::t8_forest_t, set_from::t8_forest_t, - set_for_coarsening::Cint)::Cvoid + @ccall libt8.t8_forest_set_partition(forest::t8_forest_t, set_from::t8_forest_t, set_for_coarsening::Cint)::Cvoid end """ @@ -15827,8 +15190,7 @@ void t8_forest_set_balance (t8_forest_t forest, const t8_forest_t set_from, int ``` """ function t8_forest_set_balance(forest, set_from, no_repartition) - @ccall libt8.t8_forest_set_balance(forest::t8_forest_t, set_from::t8_forest_t, - no_repartition::Cint)::Cvoid + @ccall libt8.t8_forest_set_balance(forest::t8_forest_t, set_from::t8_forest_t, no_repartition::Cint)::Cvoid end """ @@ -15846,8 +15208,7 @@ void t8_forest_set_ghost (t8_forest_t forest, int do_ghost, t8_ghost_type_t ghos ``` """ function t8_forest_set_ghost(forest, do_ghost, ghost_type) - @ccall libt8.t8_forest_set_ghost(forest::t8_forest_t, do_ghost::Cint, - ghost_type::t8_ghost_type_t)::Cvoid + @ccall libt8.t8_forest_set_ghost(forest::t8_forest_t, do_ghost::Cint, ghost_type::t8_ghost_type_t)::Cvoid end """ @@ -15866,9 +15227,7 @@ void t8_forest_set_ghost_ext (t8_forest_t forest, int do_ghost, t8_ghost_type_t ``` """ function t8_forest_set_ghost_ext(forest, do_ghost, ghost_type, ghost_version) - @ccall libt8.t8_forest_set_ghost_ext(forest::t8_forest_t, do_ghost::Cint, - ghost_type::t8_ghost_type_t, - ghost_version::Cint)::Cvoid + @ccall libt8.t8_forest_set_ghost_ext(forest::t8_forest_t, do_ghost::Cint, ghost_type::t8_ghost_type_t, ghost_version::Cint)::Cvoid end """ @@ -16006,8 +15365,7 @@ t8_eclass_t t8_forest_get_eclass (const t8_forest_t forest, const t8_locidx_t lt ``` """ function t8_forest_get_eclass(forest, ltreeid) - @ccall libt8.t8_forest_get_eclass(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_forest_get_eclass(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_eclass_t end """ @@ -16048,8 +15406,7 @@ t8_locidx_t t8_forest_get_local_id (const t8_forest_t forest, const t8_gloidx_t ``` """ function t8_forest_get_local_id(forest, gtreeid) - @ccall libt8.t8_forest_get_local_id(forest::t8_forest_t, - gtreeid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_local_id(forest::t8_forest_t, gtreeid::t8_gloidx_t)::t8_locidx_t end """ @@ -16071,8 +15428,7 @@ t8_locidx_t t8_forest_get_local_or_ghost_id (const t8_forest_t forest, const t8_ ``` """ function t8_forest_get_local_or_ghost_id(forest, gtreeid) - @ccall libt8.t8_forest_get_local_or_ghost_id(forest::t8_forest_t, - gtreeid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_local_or_ghost_id(forest::t8_forest_t, gtreeid::t8_gloidx_t)::t8_locidx_t end """ @@ -16098,8 +15454,7 @@ t8_locidx_t t8_forest_ltreeid_to_cmesh_ltreeid (t8_forest_t forest, t8_locidx_t ``` """ function t8_forest_ltreeid_to_cmesh_ltreeid(forest, ltreeid) - @ccall libt8.t8_forest_ltreeid_to_cmesh_ltreeid(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ltreeid_to_cmesh_ltreeid(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -16125,8 +15480,7 @@ t8_locidx_t t8_forest_cmesh_ltreeid_to_ltreeid (t8_forest_t forest, t8_locidx_t ``` """ function t8_forest_cmesh_ltreeid_to_ltreeid(forest, lctreeid) - @ccall libt8.t8_forest_cmesh_ltreeid_to_ltreeid(forest::t8_forest_t, - lctreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_cmesh_ltreeid_to_ltreeid(forest::t8_forest_t, lctreeid::t8_locidx_t)::t8_locidx_t end """ @@ -16145,8 +15499,7 @@ t8_ctree_t t8_forest_get_coarse_tree (t8_forest_t forest, t8_locidx_t ltreeid); ``` """ function t8_forest_get_coarse_tree(forest, ltreeid) - @ccall libt8.t8_forest_get_coarse_tree(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_ctree_t + @ccall libt8.t8_forest_get_coarse_tree(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_ctree_t end """ @@ -16174,8 +15527,7 @@ int t8_forest_element_is_leaf (const t8_forest_t forest, const t8_element_t *ele ``` """ function t8_forest_element_is_leaf(forest, element, local_tree) - @ccall libt8.t8_forest_element_is_leaf(forest::t8_forest_t, element::Ptr{t8_element_t}, - local_tree::t8_locidx_t)::Cint + @ccall libt8.t8_forest_element_is_leaf(forest::t8_forest_t, element::Ptr{t8_element_t}, local_tree::t8_locidx_t)::Cint end """ @@ -16199,9 +15551,7 @@ int t8_forest_leaf_face_orientation (t8_forest_t forest, const t8_locidx_t ltree ``` """ function t8_forest_leaf_face_orientation(forest, ltreeid, ts, leaf, face) - @ccall libt8.t8_forest_leaf_face_orientation(forest::t8_forest_t, ltreeid::t8_locidx_t, - ts::Ptr{t8_eclass_scheme_c}, - leaf::Ptr{t8_element_t}, face::Cint)::Cint + @ccall libt8.t8_forest_leaf_face_orientation(forest::t8_forest_t, ltreeid::t8_locidx_t, ts::Ptr{t8_eclass_scheme_c}, leaf::Ptr{t8_element_t}, face::Cint)::Cint end """ @@ -16243,17 +15593,8 @@ if (num\\_neighbors > 0) { eclass\\_scheme->[`t8_element_destroy`](@ref) (num\\_ void t8_forest_leaf_face_neighbors (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *leaf, t8_element_t **pneighbor_leaves[], int face, int *dual_faces[], int *num_neighbors, t8_locidx_t **pelement_indices, t8_eclass_scheme_c **pneigh_scheme, int forest_is_balanced); ``` """ -function t8_forest_leaf_face_neighbors(forest, ltreeid, leaf, pneighbor_leaves, face, - dual_faces, num_neighbors, pelement_indices, - pneigh_scheme, forest_is_balanced) - @ccall libt8.t8_forest_leaf_face_neighbors(forest::t8_forest_t, ltreeid::t8_locidx_t, - leaf::Ptr{t8_element_t}, - pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, - face::Cint, dual_faces::Ptr{Ptr{Cint}}, - num_neighbors::Ptr{Cint}, - pelement_indices::Ptr{Ptr{t8_locidx_t}}, - pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, - forest_is_balanced::Cint)::Cvoid +function t8_forest_leaf_face_neighbors(forest, ltreeid, leaf, pneighbor_leaves, face, dual_faces, num_neighbors, pelement_indices, pneigh_scheme, forest_is_balanced) + @ccall libt8.t8_forest_leaf_face_neighbors(forest::t8_forest_t, ltreeid::t8_locidx_t, leaf::Ptr{t8_element_t}, pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, face::Cint, dual_faces::Ptr{Ptr{Cint}}, num_neighbors::Ptr{Cint}, pelement_indices::Ptr{Ptr{t8_locidx_t}}, pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, forest_is_balanced::Cint)::Cvoid end """ @@ -16297,21 +15638,8 @@ if (num\\_neighbors > 0) { eclass\\_scheme->[`t8_element_destroy`](@ref) (num\\_ void t8_forest_leaf_face_neighbors_ext (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *leaf, t8_element_t **pneighbor_leaves[], int face, int *dual_faces[], int *num_neighbors, t8_locidx_t **pelement_indices, t8_eclass_scheme_c **pneigh_scheme, int forest_is_balanced, t8_gloidx_t *gneigh_tree, int *orientation); ``` """ -function t8_forest_leaf_face_neighbors_ext(forest, ltreeid, leaf, pneighbor_leaves, face, - dual_faces, num_neighbors, pelement_indices, - pneigh_scheme, forest_is_balanced, gneigh_tree, - orientation) - @ccall libt8.t8_forest_leaf_face_neighbors_ext(forest::t8_forest_t, - ltreeid::t8_locidx_t, - leaf::Ptr{t8_element_t}, - pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, - face::Cint, dual_faces::Ptr{Ptr{Cint}}, - num_neighbors::Ptr{Cint}, - pelement_indices::Ptr{Ptr{t8_locidx_t}}, - pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, - forest_is_balanced::Cint, - gneigh_tree::Ptr{t8_gloidx_t}, - orientation::Ptr{Cint})::Cvoid +function t8_forest_leaf_face_neighbors_ext(forest, ltreeid, leaf, pneighbor_leaves, face, dual_faces, num_neighbors, pelement_indices, pneigh_scheme, forest_is_balanced, gneigh_tree, orientation) + @ccall libt8.t8_forest_leaf_face_neighbors_ext(forest::t8_forest_t, ltreeid::t8_locidx_t, leaf::Ptr{t8_element_t}, pneighbor_leaves::Ptr{Ptr{Ptr{t8_element_t}}}, face::Cint, dual_faces::Ptr{Ptr{Cint}}, num_neighbors::Ptr{Cint}, pelement_indices::Ptr{Ptr{t8_locidx_t}}, pneigh_scheme::Ptr{Ptr{t8_eclass_scheme_c}}, forest_is_balanced::Cint, gneigh_tree::Ptr{t8_gloidx_t}, orientation::Ptr{Cint})::Cvoid end """ @@ -16332,8 +15660,7 @@ void t8_forest_ghost_exchange_data (t8_forest_t forest, sc_array_t *element_data ``` """ function t8_forest_ghost_exchange_data(forest, element_data) - @ccall libt8.t8_forest_ghost_exchange_data(forest::t8_forest_t, - element_data::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_forest_ghost_exchange_data(forest::t8_forest_t, element_data::Ptr{sc_array_t})::Cvoid end """ @@ -16359,8 +15686,7 @@ void t8_forest_partition_cmesh (t8_forest_t forest, sc_MPI_Comm comm, int set_pr ``` """ function t8_forest_partition_cmesh(forest, comm, set_profiling) - @ccall libt8.t8_forest_partition_cmesh(forest::t8_forest_t, comm::MPI_Comm, - set_profiling::Cint)::Cvoid + @ccall libt8.t8_forest_partition_cmesh(forest::t8_forest_t, comm::MPI_Comm, set_profiling::Cint)::Cvoid end """ @@ -16466,8 +15792,7 @@ t8_gloidx_t t8_forest_global_tree_id (const t8_forest_t forest, const t8_locidx_ ``` """ function t8_forest_global_tree_id(forest, ltreeid) - @ccall libt8.t8_forest_global_tree_id(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_forest_global_tree_id(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_gloidx_t end """ @@ -16505,8 +15830,7 @@ double * t8_forest_get_tree_vertices (t8_forest_t forest, t8_locidx_t ltreeid); ``` """ function t8_forest_get_tree_vertices(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_vertices(forest::t8_forest_t, - ltreeid::t8_locidx_t)::Ptr{Cdouble} + @ccall libt8.t8_forest_get_tree_vertices(forest::t8_forest_t, ltreeid::t8_locidx_t)::Ptr{Cdouble} end """ @@ -16525,8 +15849,7 @@ t8_element_array_t * t8_forest_tree_get_leaves (const t8_forest_t forest, const ``` """ function t8_forest_tree_get_leaves(forest, ltree_id) - @ccall libt8.t8_forest_tree_get_leaves(forest::t8_forest_t, - ltree_id::t8_locidx_t)::Ptr{t8_element_array_t} + @ccall libt8.t8_forest_tree_get_leaves(forest::t8_forest_t, ltree_id::t8_locidx_t)::Ptr{t8_element_array_t} end """ @@ -16568,8 +15891,7 @@ t8_element_t * t8_forest_get_element (t8_forest_t forest, t8_locidx_t lelement_i ``` """ function t8_forest_get_element(forest, lelement_id, ltreeid) - @ccall libt8.t8_forest_get_element(forest::t8_forest_t, lelement_id::t8_locidx_t, - ltreeid::Ptr{t8_locidx_t})::Ptr{t8_element_t} + @ccall libt8.t8_forest_get_element(forest::t8_forest_t, lelement_id::t8_locidx_t, ltreeid::Ptr{t8_locidx_t})::Ptr{t8_element_t} end """ @@ -16593,8 +15915,7 @@ const t8_element_t * t8_forest_get_element_in_tree (t8_forest_t forest, t8_locid ``` """ function t8_forest_get_element_in_tree(forest, ltreeid, leid_in_tree) - @ccall libt8.t8_forest_get_element_in_tree(forest::t8_forest_t, ltreeid::t8_locidx_t, - leid_in_tree::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_forest_get_element_in_tree(forest::t8_forest_t, ltreeid::t8_locidx_t, leid_in_tree::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -16613,8 +15934,7 @@ t8_locidx_t t8_forest_get_tree_num_elements (t8_forest_t forest, t8_locidx_t ltr ``` """ function t8_forest_get_tree_num_elements(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_num_elements(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_tree_num_elements(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -16637,8 +15957,7 @@ t8_locidx_t t8_forest_get_tree_element_offset (const t8_forest_t forest, const t ``` """ function t8_forest_get_tree_element_offset(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_element_offset(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_get_tree_element_offset(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_locidx_t end """ @@ -16675,8 +15994,7 @@ t8_eclass_t t8_forest_get_tree_class (const t8_forest_t forest, const t8_locidx_ ``` """ function t8_forest_get_tree_class(forest, ltreeid) - @ccall libt8.t8_forest_get_tree_class(forest::t8_forest_t, - ltreeid::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_forest_get_tree_class(forest::t8_forest_t, ltreeid::t8_locidx_t)::t8_eclass_t end """ @@ -16741,8 +16059,7 @@ t8_eclass_scheme_c * t8_forest_get_eclass_scheme (t8_forest_t forest, t8_eclass_ ``` """ function t8_forest_get_eclass_scheme(forest, eclass) - @ccall libt8.t8_forest_get_eclass_scheme(forest::t8_forest_t, - eclass::t8_eclass_t)::Ptr{t8_eclass_scheme_c} + @ccall libt8.t8_forest_get_eclass_scheme(forest::t8_forest_t, eclass::t8_eclass_t)::Ptr{t8_eclass_scheme_c} end """ @@ -16763,10 +16080,7 @@ t8_eclass_t t8_forest_element_neighbor_eclass (t8_forest_t forest, t8_locidx_t l ``` """ function t8_forest_element_neighbor_eclass(forest, ltreeid, elem, face) - @ccall libt8.t8_forest_element_neighbor_eclass(forest::t8_forest_t, - ltreeid::t8_locidx_t, - elem::Ptr{t8_element_t}, - face::Cint)::t8_eclass_t + @ccall libt8.t8_forest_element_neighbor_eclass(forest::t8_forest_t, ltreeid::t8_locidx_t, elem::Ptr{t8_element_t}, face::Cint)::t8_eclass_t end """ @@ -16787,14 +16101,8 @@ The global tree-id of the tree in which *neigh* is in. -1 if there exists no nei t8_gloidx_t t8_forest_element_face_neighbor (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *elem, t8_element_t *neigh, t8_eclass_scheme_c *neigh_scheme, int face, int *neigh_face); ``` """ -function t8_forest_element_face_neighbor(forest, ltreeid, elem, neigh, neigh_scheme, face, - neigh_face) - @ccall libt8.t8_forest_element_face_neighbor(forest::t8_forest_t, ltreeid::t8_locidx_t, - elem::Ptr{t8_element_t}, - neigh::Ptr{t8_element_t}, - neigh_scheme::Ptr{t8_eclass_scheme_c}, - face::Cint, - neigh_face::Ptr{Cint})::t8_gloidx_t +function t8_forest_element_face_neighbor(forest, ltreeid, elem, neigh, neigh_scheme, face, neigh_face) + @ccall libt8.t8_forest_element_face_neighbor(forest::t8_forest_t, ltreeid::t8_locidx_t, elem::Ptr{t8_element_t}, neigh::Ptr{t8_element_t}, neigh_scheme::Ptr{t8_eclass_scheme_c}, face::Cint, neigh_face::Ptr{Cint})::t8_gloidx_t end """ @@ -16831,13 +16139,8 @@ Query whether a batch of points lies inside an element. For bilinearly interpola void t8_forest_element_points_inside (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *points, int num_points, int *is_inside, const double tolerance); ``` """ -function t8_forest_element_points_inside(forest, ltreeid, element, points, num_points, - is_inside, tolerance) - @ccall libt8.t8_forest_element_points_inside(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, - points::Ptr{Cdouble}, num_points::Cint, - is_inside::Ptr{Cint}, - tolerance::Cdouble)::Cvoid +function t8_forest_element_points_inside(forest, ltreeid, element, points, num_points, is_inside, tolerance) + @ccall libt8.t8_forest_element_points_inside(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, points::Ptr{Cdouble}, num_points::Cint, is_inside::Ptr{Cint}, tolerance::Cdouble)::Cvoid end """ @@ -16849,9 +16152,7 @@ t8_forest_t t8_forest_new_uniform (t8_cmesh_t cmesh, t8_scheme_cxx_t *scheme, co ``` """ function t8_forest_new_uniform(cmesh, scheme, level, do_face_ghost, comm) - @ccall libt8.t8_forest_new_uniform(cmesh::t8_cmesh_t, scheme::Ptr{t8_scheme_cxx_t}, - level::Cint, do_face_ghost::Cint, - comm::MPI_Comm)::t8_forest_t + @ccall libt8.t8_forest_new_uniform(cmesh::t8_cmesh_t, scheme::Ptr{t8_scheme_cxx_t}, level::Cint, do_face_ghost::Cint, comm::MPI_Comm)::t8_forest_t end """ @@ -16878,9 +16179,7 @@ t8_forest_t t8_forest_new_adapt (t8_forest_t forest_from, t8_forest_adapt_t adap ``` """ function t8_forest_new_adapt(forest_from, adapt_fn, recursive, do_face_ghost, user_data) - @ccall libt8.t8_forest_new_adapt(forest_from::t8_forest_t, adapt_fn::t8_forest_adapt_t, - recursive::Cint, do_face_ghost::Cint, - user_data::Ptr{Cvoid})::t8_forest_t + @ccall libt8.t8_forest_new_adapt(forest_from::t8_forest_t, adapt_fn::t8_forest_adapt_t, recursive::Cint, do_face_ghost::Cint, user_data::Ptr{Cvoid})::t8_forest_t end """ @@ -16936,10 +16235,7 @@ void t8_forest_element_coordinate (t8_forest_t forest, t8_locidx_t ltree_id, con ``` """ function t8_forest_element_coordinate(forest, ltree_id, element, corner_number, coordinates) - @ccall libt8.t8_forest_element_coordinate(forest::t8_forest_t, ltree_id::t8_locidx_t, - element::Ptr{t8_element_t}, - corner_number::Cint, - coordinates::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_coordinate(forest::t8_forest_t, ltree_id::t8_locidx_t, element::Ptr{t8_element_t}, corner_number::Cint, coordinates::Ptr{Cdouble})::Cvoid end """ @@ -16950,15 +16246,8 @@ end void t8_forest_element_from_ref_coords_ext (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *ref_coords, const size_t num_coords, double *coords_out, const double *stretch_factors); ``` """ -function t8_forest_element_from_ref_coords_ext(forest, ltreeid, element, ref_coords, - num_coords, coords_out, stretch_factors) - @ccall libt8.t8_forest_element_from_ref_coords_ext(forest::t8_forest_t, - ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, - ref_coords::Ptr{Cdouble}, - num_coords::Csize_t, - coords_out::Ptr{Cdouble}, - stretch_factors::Ptr{Cdouble})::Cvoid +function t8_forest_element_from_ref_coords_ext(forest, ltreeid, element, ref_coords, num_coords, coords_out, stretch_factors) + @ccall libt8.t8_forest_element_from_ref_coords_ext(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, coords_out::Ptr{Cdouble}, stretch_factors::Ptr{Cdouble})::Cvoid end """ @@ -16969,14 +16258,8 @@ end void t8_forest_element_from_ref_coords (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *ref_coords, const size_t num_coords, double *coords_out); ``` """ -function t8_forest_element_from_ref_coords(forest, ltreeid, element, ref_coords, num_coords, - coords_out) - @ccall libt8.t8_forest_element_from_ref_coords(forest::t8_forest_t, - ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, - ref_coords::Ptr{Cdouble}, - num_coords::Csize_t, - coords_out::Ptr{Cdouble})::Cvoid +function t8_forest_element_from_ref_coords(forest, ltreeid, element, ref_coords, num_coords, coords_out) + @ccall libt8.t8_forest_element_from_ref_coords(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, coords_out::Ptr{Cdouble})::Cvoid end """ @@ -16988,9 +16271,7 @@ void t8_forest_element_centroid (t8_forest_t forest, t8_locidx_t ltreeid, const ``` """ function t8_forest_element_centroid(forest, ltreeid, element, coordinates) - @ccall libt8.t8_forest_element_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, - coordinates::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, coordinates::Ptr{Cdouble})::Cvoid end """ @@ -17002,8 +16283,7 @@ double t8_forest_element_diam (t8_forest_t forest, t8_locidx_t ltreeid, const t8 ``` """ function t8_forest_element_diam(forest, ltreeid, element) - @ccall libt8.t8_forest_element_diam(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t})::Cdouble + @ccall libt8.t8_forest_element_diam(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t})::Cdouble end """ @@ -17015,8 +16295,7 @@ double t8_forest_element_volume (t8_forest_t forest, t8_locidx_t ltreeid, const ``` """ function t8_forest_element_volume(forest, ltreeid, element) - @ccall libt8.t8_forest_element_volume(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t})::Cdouble + @ccall libt8.t8_forest_element_volume(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t})::Cdouble end """ @@ -17028,9 +16307,7 @@ double t8_forest_element_face_area (t8_forest_t forest, t8_locidx_t ltreeid, con ``` """ function t8_forest_element_face_area(forest, ltreeid, element, face) - @ccall libt8.t8_forest_element_face_area(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, - face::Cint)::Cdouble + @ccall libt8.t8_forest_element_face_area(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint)::Cdouble end """ @@ -17042,9 +16319,7 @@ void t8_forest_element_face_centroid (t8_forest_t forest, t8_locidx_t ltreeid, c ``` """ function t8_forest_element_face_centroid(forest, ltreeid, element, face, centroid) - @ccall libt8.t8_forest_element_face_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, face::Cint, - centroid::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_face_centroid(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint, centroid::Ptr{Cdouble})::Cvoid end """ @@ -17056,9 +16331,7 @@ void t8_forest_element_face_normal (t8_forest_t forest, t8_locidx_t ltreeid, con ``` """ function t8_forest_element_face_normal(forest, ltreeid, element, face, normal) - @ccall libt8.t8_forest_element_face_normal(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, face::Cint, - normal::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_forest_element_face_normal(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint, normal::Ptr{Cdouble})::Cvoid end """ @@ -17101,8 +16374,7 @@ void t8_forest_ghost_init (t8_forest_ghost_t *pghost, t8_ghost_type_t ghost_type ``` """ function t8_forest_ghost_init(pghost, ghost_type) - @ccall libt8.t8_forest_ghost_init(pghost::Ptr{t8_forest_ghost_t}, - ghost_type::t8_ghost_type_t)::Cvoid + @ccall libt8.t8_forest_ghost_init(pghost::Ptr{t8_forest_ghost_t}, ghost_type::t8_ghost_type_t)::Cvoid end """ @@ -17137,8 +16409,7 @@ t8_locidx_t t8_forest_ghost_get_tree_element_offset (t8_forest_t forest, t8_loci ``` """ function t8_forest_ghost_get_tree_element_offset(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_tree_element_offset(forest::t8_forest_t, - lghost_tree::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ghost_get_tree_element_offset(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_locidx_t end """ @@ -17150,8 +16421,7 @@ t8_locidx_t t8_forest_ghost_tree_num_elements (t8_forest_t forest, t8_locidx_t l ``` """ function t8_forest_ghost_tree_num_elements(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_tree_num_elements(forest::t8_forest_t, - lghost_tree::t8_locidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ghost_tree_num_elements(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_locidx_t end """ @@ -17170,8 +16440,7 @@ t8_element_array_t * t8_forest_ghost_get_tree_elements (const t8_forest_t forest ``` """ function t8_forest_ghost_get_tree_elements(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_tree_elements(forest::t8_forest_t, - lghost_tree::t8_locidx_t)::Ptr{t8_element_array_t} + @ccall libt8.t8_forest_ghost_get_tree_elements(forest::t8_forest_t, lghost_tree::t8_locidx_t)::Ptr{t8_element_array_t} end """ @@ -17193,8 +16462,7 @@ t8_locidx_t t8_forest_ghost_get_ghost_treeid (t8_forest_t forest, t8_gloidx_t gt ``` """ function t8_forest_ghost_get_ghost_treeid(forest, gtreeid) - @ccall libt8.t8_forest_ghost_get_ghost_treeid(forest::t8_forest_t, - gtreeid::t8_gloidx_t)::t8_locidx_t + @ccall libt8.t8_forest_ghost_get_ghost_treeid(forest::t8_forest_t, gtreeid::t8_gloidx_t)::t8_locidx_t end """ @@ -17206,8 +16474,7 @@ t8_eclass_t t8_forest_ghost_get_tree_class (const t8_forest_t forest, const t8_l ``` """ function t8_forest_ghost_get_tree_class(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_tree_class(forest::t8_forest_t, - lghost_tree::t8_locidx_t)::t8_eclass_t + @ccall libt8.t8_forest_ghost_get_tree_class(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_eclass_t end """ @@ -17229,8 +16496,7 @@ t8_gloidx_t t8_forest_ghost_get_global_treeid (const t8_forest_t forest, const t ``` """ function t8_forest_ghost_get_global_treeid(forest, lghost_tree) - @ccall libt8.t8_forest_ghost_get_global_treeid(forest::t8_forest_t, - lghost_tree::t8_locidx_t)::t8_gloidx_t + @ccall libt8.t8_forest_ghost_get_global_treeid(forest::t8_forest_t, lghost_tree::t8_locidx_t)::t8_gloidx_t end """ @@ -17242,8 +16508,7 @@ t8_element_t * t8_forest_ghost_get_element (t8_forest_t forest, t8_locidx_t lgho ``` """ function t8_forest_ghost_get_element(forest, lghost_tree, lelement) - @ccall libt8.t8_forest_ghost_get_element(forest::t8_forest_t, lghost_tree::t8_locidx_t, - lelement::t8_locidx_t)::Ptr{t8_element_t} + @ccall libt8.t8_forest_ghost_get_element(forest::t8_forest_t, lghost_tree::t8_locidx_t, lelement::t8_locidx_t)::Ptr{t8_element_t} end """ @@ -17262,8 +16527,7 @@ int * t8_forest_ghost_get_remotes (t8_forest_t forest, int *num_remotes); ``` """ function t8_forest_ghost_get_remotes(forest, num_remotes) - @ccall libt8.t8_forest_ghost_get_remotes(forest::t8_forest_t, - num_remotes::Ptr{Cint})::Ptr{Cint} + @ccall libt8.t8_forest_ghost_get_remotes(forest::t8_forest_t, num_remotes::Ptr{Cint})::Ptr{Cint} end """ @@ -17282,8 +16546,7 @@ t8_locidx_t t8_forest_ghost_remote_first_tree (t8_forest_t forest, int remote); ``` """ function t8_forest_ghost_remote_first_tree(forest, remote) - @ccall libt8.t8_forest_ghost_remote_first_tree(forest::t8_forest_t, - remote::Cint)::t8_locidx_t + @ccall libt8.t8_forest_ghost_remote_first_tree(forest::t8_forest_t, remote::Cint)::t8_locidx_t end """ @@ -17302,8 +16565,7 @@ t8_locidx_t t8_forest_ghost_remote_first_elem (t8_forest_t forest, int remote); ``` """ function t8_forest_ghost_remote_first_elem(forest, remote) - @ccall libt8.t8_forest_ghost_remote_first_elem(forest::t8_forest_t, - remote::Cint)::t8_locidx_t + @ccall libt8.t8_forest_ghost_remote_first_elem(forest::t8_forest_t, remote::Cint)::t8_locidx_t end """ @@ -17425,15 +16687,8 @@ end int t8_forest_write_vtk_ext (t8_forest_t forest, const char *fileprefix, const int write_treeid, const int write_mpirank, const int write_level, const int write_element_id, const int write_ghosts, const int write_curved, int do_not_use_API, const int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_forest_write_vtk_ext(forest, fileprefix, write_treeid, write_mpirank, - write_level, write_element_id, write_ghosts, write_curved, - do_not_use_API, num_data, data) - @ccall libt8.t8_forest_write_vtk_ext(forest::t8_forest_t, fileprefix::Cstring, - write_treeid::Cint, write_mpirank::Cint, - write_level::Cint, write_element_id::Cint, - write_ghosts::Cint, write_curved::Cint, - do_not_use_API::Cint, num_data::Cint, - data::Ptr{t8_vtk_data_field_t})::Cint +function t8_forest_write_vtk_ext(forest, fileprefix, write_treeid, write_mpirank, write_level, write_element_id, write_ghosts, write_curved, do_not_use_API, num_data, data) + @ccall libt8.t8_forest_write_vtk_ext(forest::t8_forest_t, fileprefix::Cstring, write_treeid::Cint, write_mpirank::Cint, write_level::Cint, write_element_id::Cint, write_ghosts::Cint, write_curved::Cint, do_not_use_API::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -17494,9 +16749,7 @@ void t8_forest_split_array (const t8_element_t *element, t8_element_array_t *lea ``` """ function t8_forest_split_array(element, leaf_elements, offsets) - @ccall libt8.t8_forest_split_array(element::Ptr{t8_element_t}, - leaf_elements::Ptr{t8_element_array_t}, - offsets::Ptr{Csize_t})::Cvoid + @ccall libt8.t8_forest_split_array(element::Ptr{t8_element_t}, leaf_elements::Ptr{t8_element_array_t}, offsets::Ptr{Csize_t})::Cvoid end """ @@ -17507,14 +16760,8 @@ end void t8_forest_iterate_faces (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face, t8_element_array_t *leaf_elements, void *user_data, t8_locidx_t tree_lindex_of_first_leaf, t8_forest_iterate_face_fn callback); ``` """ -function t8_forest_iterate_faces(forest, ltreeid, element, face, leaf_elements, user_data, - tree_lindex_of_first_leaf, callback) - @ccall libt8.t8_forest_iterate_faces(forest::t8_forest_t, ltreeid::t8_locidx_t, - element::Ptr{t8_element_t}, face::Cint, - leaf_elements::Ptr{t8_element_array_t}, - user_data::Ptr{Cvoid}, - tree_lindex_of_first_leaf::t8_locidx_t, - callback::t8_forest_iterate_face_fn)::Cvoid +function t8_forest_iterate_faces(forest, ltreeid, element, face, leaf_elements, user_data, tree_lindex_of_first_leaf, callback) + @ccall libt8.t8_forest_iterate_faces(forest::t8_forest_t, ltreeid::t8_locidx_t, element::Ptr{t8_element_t}, face::Cint, leaf_elements::Ptr{t8_element_array_t}, user_data::Ptr{Cvoid}, tree_lindex_of_first_leaf::t8_locidx_t, callback::t8_forest_iterate_face_fn)::Cvoid end """ @@ -17526,9 +16773,7 @@ void t8_forest_search (t8_forest_t forest, t8_forest_search_fn search_fn, t8_for ``` """ function t8_forest_search(forest, search_fn, query_fn, queries) - @ccall libt8.t8_forest_search(forest::t8_forest_t, search_fn::t8_forest_search_fn, - query_fn::t8_forest_query_fn, - queries::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_forest_search(forest::t8_forest_t, search_fn::t8_forest_search_fn, query_fn::t8_forest_query_fn, queries::Ptr{sc_array_t})::Cvoid end """ @@ -17550,8 +16795,7 @@ void t8_forest_iterate_replace (t8_forest_t forest_new, t8_forest_t forest_old, ``` """ function t8_forest_iterate_replace(forest_new, forest_old, replace_fn) - @ccall libt8.t8_forest_iterate_replace(forest_new::t8_forest_t, forest_old::t8_forest_t, - replace_fn::t8_forest_replace_t)::Cvoid + @ccall libt8.t8_forest_iterate_replace(forest_new::t8_forest_t, forest_old::t8_forest_t, replace_fn::t8_forest_replace_t)::Cvoid end """ @@ -17598,8 +16842,7 @@ int t8_forest_partition_next_nonempty_rank (t8_forest_t forest, int rank); ``` """ function t8_forest_partition_next_nonempty_rank(forest, rank) - @ccall libt8.t8_forest_partition_next_nonempty_rank(forest::t8_forest_t, - rank::Cint)::Cint + @ccall libt8.t8_forest_partition_next_nonempty_rank(forest::t8_forest_t, rank::Cint)::Cint end """ @@ -17654,9 +16897,7 @@ void t8_forest_partition_data (t8_forest_t forest_from, t8_forest_t forest_to, c ``` """ function t8_forest_partition_data(forest_from, forest_to, data_in, data_out) - @ccall libt8.t8_forest_partition_data(forest_from::t8_forest_t, forest_to::t8_forest_t, - data_in::Ptr{sc_array_t}, - data_out::Ptr{sc_array_t})::Cvoid + @ccall libt8.t8_forest_partition_data(forest_from::t8_forest_t, forest_to::t8_forest_t, data_in::Ptr{sc_array_t}, data_out::Ptr{sc_array_t})::Cvoid end """ @@ -17808,8 +17049,7 @@ double t8_forest_profile_get_partition_time (t8_forest_t forest, int *procs_sent ``` """ function t8_forest_profile_get_partition_time(forest, procs_sent) - @ccall libt8.t8_forest_profile_get_partition_time(forest::t8_forest_t, - procs_sent::Ptr{Cint})::Cdouble + @ccall libt8.t8_forest_profile_get_partition_time(forest::t8_forest_t, procs_sent::Ptr{Cint})::Cdouble end """ @@ -17821,8 +17061,7 @@ double t8_forest_profile_get_balance_time (t8_forest_t forest, int *balance_roun ``` """ function t8_forest_profile_get_balance_time(forest, balance_rounds) - @ccall libt8.t8_forest_profile_get_balance_time(forest::t8_forest_t, - balance_rounds::Ptr{Cint})::Cdouble + @ccall libt8.t8_forest_profile_get_balance_time(forest::t8_forest_t, balance_rounds::Ptr{Cint})::Cdouble end """ @@ -17834,8 +17073,7 @@ double t8_forest_profile_get_ghost_time (t8_forest_t forest, t8_locidx_t *ghosts ``` """ function t8_forest_profile_get_ghost_time(forest, ghosts_sent) - @ccall libt8.t8_forest_profile_get_ghost_time(forest::t8_forest_t, - ghosts_sent::Ptr{Cint})::Cdouble + @ccall libt8.t8_forest_profile_get_ghost_time(forest::t8_forest_t, ghosts_sent::Ptr{Cint})::Cdouble end """ @@ -17949,9 +17187,7 @@ void t8_geometry_evaluate (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double * ``` """ function t8_geometry_evaluate(cmesh, gtreeid, ref_coords, num_coords, out_coords) - @ccall libt8.t8_geometry_evaluate(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, - ref_coords::Ptr{Cdouble}, num_coords::Csize_t, - out_coords::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geometry_evaluate(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, out_coords::Ptr{Cdouble})::Cvoid end """ @@ -17971,9 +17207,7 @@ void t8_geometry_jacobian (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double * ``` """ function t8_geometry_jacobian(cmesh, gtreeid, ref_coords, num_coords, jacobian) - @ccall libt8.t8_geometry_jacobian(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, - ref_coords::Ptr{Cdouble}, num_coords::Csize_t, - jacobian::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geometry_jacobian(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, jacobian::Ptr{Cdouble})::Cvoid end """ @@ -17992,8 +17226,7 @@ t8_geometry_type_t t8_geometry_get_type (t8_cmesh_t cmesh, t8_gloidx_t gtreeid); ``` """ function t8_geometry_get_type(cmesh, gtreeid) - @ccall libt8.t8_geometry_get_type(cmesh::t8_cmesh_t, - gtreeid::t8_gloidx_t)::t8_geometry_type_t + @ccall libt8.t8_geometry_get_type(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::t8_geometry_type_t end """ @@ -18012,8 +17245,7 @@ int t8_geometry_tree_negative_volume (const t8_cmesh_t cmesh, const t8_gloidx_t ``` """ function t8_geometry_tree_negative_volume(cmesh, gtreeid) - @ccall libt8.t8_geometry_tree_negative_volume(cmesh::t8_cmesh_t, - gtreeid::t8_gloidx_t)::Cint + @ccall libt8.t8_geometry_tree_negative_volume(cmesh::t8_cmesh_t, gtreeid::t8_gloidx_t)::Cint end """ @@ -18060,13 +17292,8 @@ end void t8_geom_compute_linear_geometry (t8_eclass_t tree_class, const double *tree_vertices, const double *ref_coords, const size_t num_coords, double *out_coords); ``` """ -function t8_geom_compute_linear_geometry(tree_class, tree_vertices, ref_coords, num_coords, - out_coords) - @ccall libt8.t8_geom_compute_linear_geometry(tree_class::Cint, - tree_vertices::Ptr{Cdouble}, - ref_coords::Ptr{Cdouble}, - num_coords::Csize_t, - out_coords::Ptr{Cdouble})::Cvoid +function t8_geom_compute_linear_geometry(tree_class, tree_vertices, ref_coords, num_coords, out_coords) + @ccall libt8.t8_geom_compute_linear_geometry(tree_class::Cint, tree_vertices::Ptr{Cdouble}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, out_coords::Ptr{Cdouble})::Cvoid end """ @@ -18077,13 +17304,8 @@ end void t8_geom_compute_linear_axis_aligned_geometry (t8_eclass_t tree_class, const double *tree_vertices, const double *ref_coords, const size_t num_coords, double *out_coords); ``` """ -function t8_geom_compute_linear_axis_aligned_geometry(tree_class, tree_vertices, ref_coords, - num_coords, out_coords) - @ccall libt8.t8_geom_compute_linear_axis_aligned_geometry(tree_class::Cint, - tree_vertices::Ptr{Cdouble}, - ref_coords::Ptr{Cdouble}, - num_coords::Csize_t, - out_coords::Ptr{Cdouble})::Cvoid +function t8_geom_compute_linear_axis_aligned_geometry(tree_class, tree_vertices, ref_coords, num_coords, out_coords) + @ccall libt8.t8_geom_compute_linear_axis_aligned_geometry(tree_class::Cint, tree_vertices::Ptr{Cdouble}, ref_coords::Ptr{Cdouble}, num_coords::Csize_t, out_coords::Ptr{Cdouble})::Cvoid end """ @@ -18102,13 +17324,8 @@ Interpolates linearly between 2, bilinearly between 4 or trilineraly between 8 p void t8_geom_linear_interpolation (const double *coefficients, const double *corner_values, int corner_value_dim, int interpolation_dim, double *evaluated_function); ``` """ -function t8_geom_linear_interpolation(coefficients, corner_values, corner_value_dim, - interpolation_dim, evaluated_function) - @ccall libt8.t8_geom_linear_interpolation(coefficients::Ptr{Cdouble}, - corner_values::Ptr{Cdouble}, - corner_value_dim::Cint, - interpolation_dim::Cint, - evaluated_function::Ptr{Cdouble})::Cvoid +function t8_geom_linear_interpolation(coefficients, corner_values, corner_value_dim, interpolation_dim, evaluated_function) + @ccall libt8.t8_geom_linear_interpolation(coefficients::Ptr{Cdouble}, corner_values::Ptr{Cdouble}, corner_value_dim::Cint, interpolation_dim::Cint, evaluated_function::Ptr{Cdouble})::Cvoid end """ @@ -18127,13 +17344,8 @@ Triangular interpolation between 3 points (triangle) or 4 points (tetrahedron) u void t8_geom_triangular_interpolation (const double *coefficients, const double *corner_values, int corner_value_dim, int interpolation_dim, double *evaluated_function); ``` """ -function t8_geom_triangular_interpolation(coefficients, corner_values, corner_value_dim, - interpolation_dim, evaluated_function) - @ccall libt8.t8_geom_triangular_interpolation(coefficients::Ptr{Cdouble}, - corner_values::Ptr{Cdouble}, - corner_value_dim::Cint, - interpolation_dim::Cint, - evaluated_function::Ptr{Cdouble})::Cvoid +function t8_geom_triangular_interpolation(coefficients, corner_values, corner_value_dim, interpolation_dim, evaluated_function) + @ccall libt8.t8_geom_triangular_interpolation(coefficients::Ptr{Cdouble}, corner_values::Ptr{Cdouble}, corner_value_dim::Cint, interpolation_dim::Cint, evaluated_function::Ptr{Cdouble})::Cvoid end """ @@ -18144,11 +17356,8 @@ end void t8_geom_get_face_vertices (t8_eclass_t tree_class, const double *tree_vertices, int face_index, int dim, double *face_vertices); ``` """ -function t8_geom_get_face_vertices(tree_class, tree_vertices, face_index, dim, - face_vertices) - @ccall libt8.t8_geom_get_face_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, - face_index::Cint, dim::Cint, - face_vertices::Ptr{Cdouble})::Cvoid +function t8_geom_get_face_vertices(tree_class, tree_vertices, face_index, dim, face_vertices) + @ccall libt8.t8_geom_get_face_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, face_index::Cint, dim::Cint, face_vertices::Ptr{Cdouble})::Cvoid end """ @@ -18159,11 +17368,8 @@ end void t8_geom_get_edge_vertices (t8_eclass_t tree_class, const double *tree_vertices, int edge_index, int dim, double *edge_vertices); ``` """ -function t8_geom_get_edge_vertices(tree_class, tree_vertices, edge_index, dim, - edge_vertices) - @ccall libt8.t8_geom_get_edge_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, - edge_index::Cint, dim::Cint, - edge_vertices::Ptr{Cdouble})::Cvoid +function t8_geom_get_edge_vertices(tree_class, tree_vertices, edge_index, dim, edge_vertices) + @ccall libt8.t8_geom_get_edge_vertices(tree_class::Cint, tree_vertices::Ptr{Cdouble}, edge_index::Cint, dim::Cint, edge_vertices::Ptr{Cdouble})::Cvoid end """ @@ -18181,8 +17387,7 @@ void t8_geom_get_ref_intersection (int edge_index, const double *ref_coords, dou ``` """ function t8_geom_get_ref_intersection(edge_index, ref_coords, ref_intersection) - @ccall libt8.t8_geom_get_ref_intersection(edge_index::Cint, ref_coords::Ptr{Cdouble}, - ref_intersection::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geom_get_ref_intersection(edge_index::Cint, ref_coords::Ptr{Cdouble}, ref_intersection::Ptr{Cdouble})::Cvoid end """ @@ -18200,12 +17405,8 @@ Calculates the scaling factor for edge displacement along a triangular tree face double t8_geom_get_triangle_scaling_factor (int edge_index, const double *tree_vertices, const double *glob_intersection, const double *glob_ref_point); ``` """ -function t8_geom_get_triangle_scaling_factor(edge_index, tree_vertices, glob_intersection, - glob_ref_point) - @ccall libt8.t8_geom_get_triangle_scaling_factor(edge_index::Cint, - tree_vertices::Ptr{Cdouble}, - glob_intersection::Ptr{Cdouble}, - glob_ref_point::Ptr{Cdouble})::Cdouble +function t8_geom_get_triangle_scaling_factor(edge_index, tree_vertices, glob_intersection, glob_ref_point) + @ccall libt8.t8_geom_get_triangle_scaling_factor(edge_index::Cint, tree_vertices::Ptr{Cdouble}, glob_intersection::Ptr{Cdouble}, glob_ref_point::Ptr{Cdouble})::Cdouble end """ @@ -18225,9 +17426,7 @@ double t8_geom_get_scaling_factor_of_edge_on_face_tet (int edge_index, int face_ ``` """ function t8_geom_get_scaling_factor_of_edge_on_face_tet(edge_index, face_index, ref_coords) - @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_tet(edge_index::Cint, - face_index::Cint, - ref_coords::Ptr{Cdouble})::Cdouble + @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_tet(edge_index::Cint, face_index::Cint, ref_coords::Ptr{Cdouble})::Cdouble end """ @@ -18245,9 +17444,7 @@ void t8_geom_get_tet_face_intersection (const int face_index, const double *ref_ ``` """ function t8_geom_get_tet_face_intersection(face_index, ref_coords, face_intersection) - @ccall libt8.t8_geom_get_tet_face_intersection(face_index::Cint, - ref_coords::Ptr{Cdouble}, - face_intersection::Ptr{Cdouble})::Cvoid + @ccall libt8.t8_geom_get_tet_face_intersection(face_index::Cint, ref_coords::Ptr{Cdouble}, face_intersection::Ptr{Cdouble})::Cvoid end """ @@ -18266,11 +17463,8 @@ The scaling factor of the edge displacement on the face at the point of the refe double t8_geom_get_scaling_factor_of_edge_on_face_prism (int edge_index, int face_index, const double *ref_coords); ``` """ -function t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index, face_index, - ref_coords) - @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index::Cint, - face_index::Cint, - ref_coords::Ptr{Cdouble})::Cdouble +function t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index, face_index, ref_coords) + @ccall libt8.t8_geom_get_scaling_factor_of_edge_on_face_prism(edge_index::Cint, face_index::Cint, ref_coords::Ptr{Cdouble})::Cdouble end """ @@ -18289,8 +17483,7 @@ double t8_geom_get_scaling_factor_face_through_volume_prism (const int face, con ``` """ function t8_geom_get_scaling_factor_face_through_volume_prism(face, ref_coords) - @ccall libt8.t8_geom_get_scaling_factor_face_through_volume_prism(face::Cint, - ref_coords::Ptr{Cdouble})::Cdouble + @ccall libt8.t8_geom_get_scaling_factor_face_through_volume_prism(face::Cint, ref_coords::Ptr{Cdouble})::Cdouble end """ @@ -18310,8 +17503,7 @@ int t8_vertex_point_inside (const double vertex_coords[3], const double point[3] ``` """ function t8_vertex_point_inside(vertex_coords, point, tolerance) - @ccall libt8.t8_vertex_point_inside(vertex_coords::Ptr{Cdouble}, point::Ptr{Cdouble}, - tolerance::Cdouble)::Cint + @ccall libt8.t8_vertex_point_inside(vertex_coords::Ptr{Cdouble}, point::Ptr{Cdouble}, tolerance::Cdouble)::Cint end """ @@ -18332,8 +17524,7 @@ int t8_line_point_inside (const double *p_0, const double *vec, const double *po ``` """ function t8_line_point_inside(p_0, vec, point, tolerance) - @ccall libt8.t8_line_point_inside(p_0::Ptr{Cdouble}, vec::Ptr{Cdouble}, - point::Ptr{Cdouble}, tolerance::Cdouble)::Cint + @ccall libt8.t8_line_point_inside(p_0::Ptr{Cdouble}, vec::Ptr{Cdouble}, point::Ptr{Cdouble}, tolerance::Cdouble)::Cint end """ @@ -18355,9 +17546,7 @@ int t8_triangle_point_inside (const double p_0[3], const double v[3], const doub ``` """ function t8_triangle_point_inside(p_0, v, w, point, tolerance) - @ccall libt8.t8_triangle_point_inside(p_0::Ptr{Cdouble}, v::Ptr{Cdouble}, - w::Ptr{Cdouble}, point::Ptr{Cdouble}, - tolerance::Cdouble)::Cint + @ccall libt8.t8_triangle_point_inside(p_0::Ptr{Cdouble}, v::Ptr{Cdouble}, w::Ptr{Cdouble}, point::Ptr{Cdouble}, tolerance::Cdouble)::Cint end """ @@ -18377,8 +17566,7 @@ int t8_plane_point_inside (const double point_on_face[3], const double face_norm ``` """ function t8_plane_point_inside(point_on_face, face_normal, point) - @ccall libt8.t8_plane_point_inside(point_on_face::Ptr{Cdouble}, - face_normal::Ptr{Cdouble}, point::Ptr{Cdouble})::Cint + @ccall libt8.t8_plane_point_inside(point_on_face::Ptr{Cdouble}, face_normal::Ptr{Cdouble}, point::Ptr{Cdouble})::Cint end """ @@ -18397,9 +17585,7 @@ void t8_cmesh_set_tree_vertices (t8_cmesh_t cmesh, const t8_gloidx_t gtree_id, c ``` """ function t8_cmesh_set_tree_vertices(cmesh, gtree_id, vertices, num_vertices) - @ccall libt8.t8_cmesh_set_tree_vertices(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, - vertices::Ptr{Cdouble}, - num_vertices::Cint)::Cvoid + @ccall libt8.t8_cmesh_set_tree_vertices(cmesh::t8_cmesh_t, gtree_id::t8_gloidx_t, vertices::Ptr{Cdouble}, num_vertices::Cint)::Cvoid end """ @@ -18455,15 +17641,8 @@ True if successful, false if not (process local). int t8_forest_vtk_write_file_via_API (t8_forest_t forest, const char *fileprefix, const int write_treeid, const int write_mpirank, const int write_level, const int write_element_id, const int curved_flag, const int write_ghosts, const int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_forest_vtk_write_file_via_API(forest, fileprefix, write_treeid, write_mpirank, - write_level, write_element_id, curved_flag, - write_ghosts, num_data, data) - @ccall libt8.t8_forest_vtk_write_file_via_API(forest::t8_forest_t, fileprefix::Cstring, - write_treeid::Cint, write_mpirank::Cint, - write_level::Cint, write_element_id::Cint, - curved_flag::Cint, write_ghosts::Cint, - num_data::Cint, - data::Ptr{t8_vtk_data_field_t})::Cint +function t8_forest_vtk_write_file_via_API(forest, fileprefix, write_treeid, write_mpirank, write_level, write_element_id, curved_flag, write_ghosts, num_data, data) + @ccall libt8.t8_forest_vtk_write_file_via_API(forest::t8_forest_t, fileprefix::Cstring, write_treeid::Cint, write_mpirank::Cint, write_level::Cint, write_element_id::Cint, curved_flag::Cint, write_ghosts::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -18488,14 +17667,8 @@ True if successful, false if not (process local). int t8_forest_vtk_write_file (t8_forest_t forest, const char *fileprefix, const int write_treeid, const int write_mpirank, const int write_level, const int write_element_id, int write_ghosts, const int num_data, t8_vtk_data_field_t *data); ``` """ -function t8_forest_vtk_write_file(forest, fileprefix, write_treeid, write_mpirank, - write_level, write_element_id, write_ghosts, num_data, - data) - @ccall libt8.t8_forest_vtk_write_file(forest::t8_forest_t, fileprefix::Cstring, - write_treeid::Cint, write_mpirank::Cint, - write_level::Cint, write_element_id::Cint, - write_ghosts::Cint, num_data::Cint, - data::Ptr{t8_vtk_data_field_t})::Cint +function t8_forest_vtk_write_file(forest, fileprefix, write_treeid, write_mpirank, write_level, write_element_id, write_ghosts, num_data, data) + @ccall libt8.t8_forest_vtk_write_file(forest::t8_forest_t, fileprefix::Cstring, write_treeid::Cint, write_mpirank::Cint, write_level::Cint, write_element_id::Cint, write_ghosts::Cint, num_data::Cint, data::Ptr{t8_vtk_data_field_t})::Cint end """ @@ -18507,8 +17680,7 @@ int t8_cmesh_vtk_write_file_via_API (t8_cmesh_t cmesh, const char *fileprefix, s ``` """ function t8_cmesh_vtk_write_file_via_API(cmesh, fileprefix, comm) - @ccall libt8.t8_cmesh_vtk_write_file_via_API(cmesh::t8_cmesh_t, fileprefix::Cstring, - comm::MPI_Comm)::Cint + @ccall libt8.t8_cmesh_vtk_write_file_via_API(cmesh::t8_cmesh_t, fileprefix::Cstring, comm::MPI_Comm)::Cint end """ @@ -18659,14 +17831,8 @@ end t8_geometry_c * t8_geometry_analytic_new (const char *name, t8_geom_analytic_fn analytical, t8_geom_analytic_jacobian_fn jacobian, t8_geom_load_tree_data_fn load_tree_data, t8_geom_tree_negative_volume_fn tree_negative_volume, t8_geom_tree_compatible_fn tree_compatible, const void *user_data); ``` """ -function t8_geometry_analytic_new(name, analytical, jacobian, load_tree_data, - tree_negative_volume, tree_compatible, user_data) - @ccall libt8.t8_geometry_analytic_new(name::Cstring, analytical::t8_geom_analytic_fn, - jacobian::t8_geom_analytic_jacobian_fn, - load_tree_data::t8_geom_load_tree_data_fn, - tree_negative_volume::t8_geom_tree_negative_volume_fn, - tree_compatible::t8_geom_tree_compatible_fn, - user_data::Ptr{Cvoid})::Ptr{Cint} +function t8_geometry_analytic_new(name, analytical, jacobian, load_tree_data, tree_negative_volume, tree_compatible, user_data) + @ccall libt8.t8_geometry_analytic_new(name::Cstring, analytical::t8_geom_analytic_fn, jacobian::t8_geom_analytic_jacobian_fn, load_tree_data::t8_geom_load_tree_data_fn, tree_negative_volume::t8_geom_tree_negative_volume_fn, tree_compatible::t8_geom_tree_compatible_fn, user_data::Ptr{Cvoid})::Ptr{Cint} end """ @@ -18678,8 +17844,7 @@ void t8_geom_load_tree_data_vertices (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, con ``` """ function t8_geom_load_tree_data_vertices(cmesh, gtreeid, user_data) - @ccall libt8.t8_geom_load_tree_data_vertices(cmesh::t8_cmesh_t, gtreeid::Cint, - user_data::Ptr{Ptr{Cvoid}})::Cvoid + @ccall libt8.t8_geom_load_tree_data_vertices(cmesh::t8_cmesh_t, gtreeid::Cint, user_data::Ptr{Ptr{Cvoid}})::Cvoid end """ @@ -19050,6 +18215,30 @@ const SC_VERSION_MAJOR = 0 const SC_VERSION_MINOR = 0 + + + + + + + + + + + + + + + + + + + + + + + + const sc_MPI_COMM_WORLD = MPI.COMM_WORLD const sc_MPI_COMM_SELF = MPI.COMM_SELF @@ -19084,6 +18273,7 @@ const sc_MPI_FLOAT = MPI.FLOAT const sc_MPI_DOUBLE = MPI.DOUBLE + const sc_MPI_Comm = MPI.Comm const sc_MPI_Group = MPI.Group @@ -19092,10 +18282,37 @@ const sc_MPI_Datatype = MPI.Datatype const sc_MPI_Info = MPI.Info + + + + + + + + + + + + + + + + + const sc_MPI_File = MPI.File const sc_MPI_FILE_NULL = MPI.FILE_NULL + + + + + + + + + + const SC_EPS = 2.220446049250313e-16 const SC_1000_EPS = 1000.0 * 2.220446049250313e-16 @@ -19128,6 +18345,8 @@ const SC_LP_SILENT = 9 const SC_LP_THRESHOLD = SC_LP_INFO + + const T8_MPI_LOCIDX = sc_MPI_INT const T8_LOCIDX_MAX = INT32_MAX @@ -19164,6 +18383,7 @@ const T8_ELEMENT_SHAPE_MAX_FACES = 6 const T8_ELEMENT_SHAPE_MAX_CORNERS = 8 + const T8_VTK_LOCIDX = "Int32" const T8_VTK_GLOIDX = "Int32" @@ -19236,6 +18456,7 @@ const P4EST_VERSION_MAJOR = 0 const P4EST_VERSION_MINOR = 0 + const p4est_qcoord_compare = sc_int32_compare const P4EST_QCOORD_BITS = 32 @@ -19244,6 +18465,7 @@ const P4EST_MPI_QCOORD = sc_MPI_INT const P4EST_VTK_QCOORD = "Int32" + const P4EST_QCOORD_MIN = INT32_MIN const P4EST_QCOORD_MAX = INT32_MAX @@ -19258,6 +18480,7 @@ const P4EST_MPI_TOPIDX = sc_MPI_INT const P4EST_VTK_TOPIDX = "Int32" + const P4EST_TOPIDX_MIN = INT32_MIN const P4EST_TOPIDX_MAX = INT32_MAX @@ -19274,6 +18497,7 @@ const P4EST_MPI_LOCIDX = sc_MPI_INT const P4EST_VTK_LOCIDX = "Int32" + const P4EST_LOCIDX_MIN = INT32_MIN const P4EST_LOCIDX_MAX = INT32_MAX @@ -19288,12 +18512,17 @@ const P4EST_MPI_GLOIDX = sc_MPI_LONG_LONG_INT const P4EST_VTK_GLOIDX = "Int64" + const P4EST_GLOIDX_MIN = INT64_MIN const P4EST_GLOIDX_MAX = INT64_MAX const P4EST_GLOIDX_1 = p4est_gloidx_t(1) + + + + const P4EST_DIM = 2 const P4EST_FACES = 2P4EST_DIM @@ -19338,13 +18567,11 @@ const T8_CMESH_CAD_EDGE_ATTRIBUTE_KEY = 2 const T8_CMESH_CAD_EDGE_PARAMETERS_ATTRIBUTE_KEY = 3 -const T8_CMESH_CAD_FACE_ATTRIBUTE_KEY = T8_CMESH_CAD_EDGE_PARAMETERS_ATTRIBUTE_KEY + - T8_ECLASS_MAX_EDGES +const T8_CMESH_CAD_FACE_ATTRIBUTE_KEY = T8_CMESH_CAD_EDGE_PARAMETERS_ATTRIBUTE_KEY + T8_ECLASS_MAX_EDGES const T8_CMESH_CAD_FACE_PARAMETERS_ATTRIBUTE_KEY = T8_CMESH_CAD_FACE_ATTRIBUTE_KEY + 1 -const T8_CMESH_LAGRANGE_POLY_DEGREE_KEY = T8_CMESH_CAD_FACE_PARAMETERS_ATTRIBUTE_KEY + - T8_ECLASS_MAX_FACES +const T8_CMESH_LAGRANGE_POLY_DEGREE_KEY = T8_CMESH_CAD_FACE_PARAMETERS_ATTRIBUTE_KEY + T8_ECLASS_MAX_FACES const T8_CMESH_NEXT_POSSIBLE_KEY = T8_CMESH_LAGRANGE_POLY_DEGREE_KEY + 1 @@ -19372,9 +18599,11 @@ const T8_FOREST_BALANCE_NO_REPART = 2 const T8_PROFILE_NUM_STATS = 14 + + # exports const PREFIXES = ["t8_", "T8_"] -for name in names(@__MODULE__; all = true), prefix in PREFIXES +for name in names(@__MODULE__; all=true), prefix in PREFIXES if startswith(string(name), prefix) @eval export $name end