T8CODE Logo

Contents:

  • Library API
    • Page Hierarchy
    • Full API
      • Namespaces
      • Classes and Structs
      • Enums
      • Functions
        • Function count_leaves_from_level
        • Function create_internal_handler
        • Function element_is_refinable
        • Template Function flatten
        • Function getdelim
        • Function getline
        • Template Function grid_do_ghosts
        • Template Function grid_element_level
        • Template Function grid_element_shape
        • Template Function grid_element_to_coords
        • Template Function grid_first_local_id
        • Template Function grid_get_dim
        • Template Function grid_get_local_bounds
        • Template Function grid_local_num_elements
        • Template Function grid_local_num_ghost_trees
        • Template Function grid_local_num_trees
        • Function is_internal_data
        • Template Function make_t8_2D_point_view
        • Template Function make_t8_2D_vec_view
        • Template Function make_t8_3D_point_view
        • Template Function make_t8_3D_vec_view
        • Template Function make_t8_point_view
        • Template Function make_t8_vec_view
        • Template Function num_cells_to_write
        • Function strsep
        • Function t8_ax(double, const double)
        • Template Function t8_ax(TVec&, const double)
        • Function t8_axb(const double, double, const double, const double)
        • Template Function t8_axb(const TVecX&, TVecY&, const double, const double)
        • Function t8_axpy(const double, double, const double)
        • Template Function t8_axpy(const TVecX&, TVecY&, const double)
        • Function t8_axpyz(const double, const double, double, const double)
        • Template Function t8_axpyz(const TVecX&, const TVecY&, TVecZ&, const double)
        • Function t8_axy(const double, double, const double)
        • Template Function t8_axy(const TVecX&, TVecY&, const double)
        • Function t8_cmesh_alloc_offsets
        • Function t8_cmesh_bcast
        • Function t8_cmesh_comm_is_valid
        • Function t8_cmesh_commit
        • Function t8_cmesh_coords_axb
        • Function t8_cmesh_copy
        • Function t8_cmesh_debug_print_trees
        • Function t8_cmesh_destroy
        • Function t8_cmesh_disable_negative_volume_check
        • Function t8_cmesh_from_msh_file
        • Function t8_cmesh_from_tetgen_file
        • Function t8_cmesh_from_tetgen_file_time
        • Function t8_cmesh_from_triangle_file
        • Function t8_cmesh_gather_treecount
        • Function t8_cmesh_gather_treecount_nocommit
        • Function t8_cmesh_gather_trees_per_eclass
        • Function t8_cmesh_get_attribute
        • Function t8_cmesh_get_attribute_gloidx_array
        • Function t8_cmesh_get_dimension
        • Function t8_cmesh_get_face_neighbor
        • Function t8_cmesh_get_first_element_of_process
        • Function t8_cmesh_get_first_tree
        • Function t8_cmesh_get_first_treeid
        • Function t8_cmesh_get_ghost_class
        • Function t8_cmesh_get_global_id
        • Function t8_cmesh_get_global_vertex_of_tree
        • Function t8_cmesh_get_global_vertices_of_tree
        • Function t8_cmesh_get_local_bounding_box
        • Function t8_cmesh_get_local_id
        • Function t8_cmesh_get_next_tree
        • Function t8_cmesh_get_num_ghosts
        • Function t8_cmesh_get_num_global_vertices
        • Function t8_cmesh_get_num_local_trees
        • Function t8_cmesh_get_num_local_vertices
        • Function t8_cmesh_get_num_trees
        • Function t8_cmesh_get_num_trees_at_vertex
        • Function t8_cmesh_get_partition_table
        • Function t8_cmesh_get_tree
        • Function t8_cmesh_get_tree_class
        • Function t8_cmesh_get_tree_face_neighbor_eclass
        • Function t8_cmesh_get_tree_geom_hash
        • Function t8_cmesh_get_tree_geometry
        • Function t8_cmesh_get_tree_vertices
        • Function t8_cmesh_get_vertex_to_tree_list
        • Function t8_cmesh_init
        • Function t8_cmesh_is_committed
        • Function t8_cmesh_is_empty
        • Function t8_cmesh_is_equal
        • Function t8_cmesh_is_initialized
        • Function t8_cmesh_is_partitioned
        • Function t8_cmesh_load
        • Function t8_cmesh_load_and_distribute
        • Function t8_cmesh_ltreeid_to_ghostid
        • Function t8_cmesh_new
        • Function t8_cmesh_new_bigmesh
        • Function t8_cmesh_new_brick_2d
        • Function t8_cmesh_new_brick_3d
        • Function t8_cmesh_new_cubed_sphere
        • Function t8_cmesh_new_cubed_spherical_shell
        • Function t8_cmesh_new_disjoint_bricks
        • Function t8_cmesh_new_empty
        • Function t8_cmesh_new_from_class
        • Function t8_cmesh_new_from_p4est
        • Function t8_cmesh_new_from_p8est
        • Function t8_cmesh_new_full_hybrid
        • Function t8_cmesh_new_hollow_cylinder
        • Function t8_cmesh_new_hybrid_gate
        • Function t8_cmesh_new_hybrid_gate_deformed
        • Function t8_cmesh_new_hypercube
        • Function t8_cmesh_new_hypercube_hybrid
        • Function t8_cmesh_new_hypercube_pad
        • Function t8_cmesh_new_hypercube_pad_ext
        • Function t8_cmesh_new_line_zigzag
        • Function t8_cmesh_new_long_brick_pyramid
        • Function t8_cmesh_new_periodic
        • Function t8_cmesh_new_periodic_hybrid
        • Function t8_cmesh_new_periodic_line_more_trees
        • Function t8_cmesh_new_periodic_tri
        • Function t8_cmesh_new_prism_cake
        • Function t8_cmesh_new_prism_cake_funny_oriented
        • Function t8_cmesh_new_prism_deformed
        • Function t8_cmesh_new_prism_geometry
        • Function t8_cmesh_new_prismed_spherical_shell_icosahedron
        • Function t8_cmesh_new_prismed_spherical_shell_octahedron
        • Function t8_cmesh_new_pyramid_cake
        • Function t8_cmesh_new_pyramid_deformed
        • Function t8_cmesh_new_quadrangulated_disk
        • Function t8_cmesh_new_quadrangulated_spherical_surface
        • Function t8_cmesh_new_row_of_cubes
        • Function t8_cmesh_new_tet_orientation_test
        • Function t8_cmesh_new_translate_vertices_to_attributes
        • Function t8_cmesh_new_triangulated_spherical_surface_cube
        • Function t8_cmesh_new_triangulated_spherical_surface_icosahedron
        • Function t8_cmesh_new_triangulated_spherical_surface_octahedron
        • Function t8_cmesh_offset_concentrate
        • Function t8_cmesh_offset_half
        • Function t8_cmesh_offset_percent
        • Function t8_cmesh_offset_print
        • Function t8_cmesh_offset_random
        • Function t8_cmesh_partition
        • Function t8_cmesh_print_profile
        • Function t8_cmesh_ref
        • Function t8_cmesh_register_geometry(t8_cmesh_t, t8_geometry_c *)
        • Template Function t8_cmesh_register_geometry(t8_cmesh_t, _args&&…)
        • Function t8_cmesh_save
        • Function t8_cmesh_set_attribute
        • Function t8_cmesh_set_attribute_gloidx_array
        • Function t8_cmesh_set_attribute_string
        • Function t8_cmesh_set_derive
        • Function t8_cmesh_set_dimension
        • Function t8_cmesh_set_global_vertices_of_tree
        • Function t8_cmesh_set_join
        • Function t8_cmesh_set_join_by_stash
        • Function t8_cmesh_set_join_by_vertices
        • Function t8_cmesh_set_partition_offsets
        • Function t8_cmesh_set_partition_range
        • Function t8_cmesh_set_partition_uniform
        • Function t8_cmesh_set_profiling
        • Function t8_cmesh_set_refine
        • Function t8_cmesh_set_tree_class
        • Function t8_cmesh_set_tree_geometry
        • Function t8_cmesh_set_tree_vertices
        • Function t8_cmesh_translate_coordinates
        • Function t8_cmesh_tree_face_is_boundary
        • Function t8_cmesh_tree_to_face_decode
        • Function t8_cmesh_tree_to_face_encode
        • Function t8_cmesh_treeid_is_ghost
        • Function t8_cmesh_treeid_is_local_tree
        • Function t8_cmesh_trees_add_attribute
        • Function t8_cmesh_trees_add_ghost
        • Function t8_cmesh_trees_add_ghost_attribute
        • Function t8_cmesh_trees_add_tree
        • Function t8_cmesh_trees_attribute_size
        • Function t8_cmesh_trees_bcast
        • Function t8_cmesh_trees_copy_part
        • Function t8_cmesh_trees_copy_toproc
        • Function t8_cmesh_trees_destroy
        • Function t8_cmesh_trees_finish_part
        • Function t8_cmesh_trees_get_attribute
        • Function t8_cmesh_trees_get_face_info
        • Function t8_cmesh_trees_get_face_neighbor
        • Function t8_cmesh_trees_get_face_neighbor_ext
        • Function t8_cmesh_trees_get_ghost
        • Function t8_cmesh_trees_get_ghost_ext
        • Function t8_cmesh_trees_get_ghost_face_neighbor_ext
        • Function t8_cmesh_trees_get_ghost_local_id
        • Function t8_cmesh_trees_get_numproc
        • Function t8_cmesh_trees_get_part
        • Function t8_cmesh_trees_get_part_data
        • Function t8_cmesh_trees_get_tree
        • Function t8_cmesh_trees_get_tree_ext
        • Function t8_cmesh_trees_ghost_attribute_size
        • Function t8_cmesh_trees_init
        • Function t8_cmesh_trees_init_attributes
        • Function t8_cmesh_trees_is_equal
        • Function t8_cmesh_trees_is_face_consistent
        • Function t8_cmesh_trees_print
        • Function t8_cmesh_trees_set_all_boundary
        • Function t8_cmesh_trees_size
        • Function t8_cmesh_trees_start_part
        • Function t8_cmesh_uniform_bounds_equal_element_count
        • Function t8_cmesh_uniform_bounds_for_irregular_refinement
        • Function t8_cmesh_unref
        • Function t8_cmesh_uses_vertex_connectivity
        • Function t8_cmesh_validate_geometry
        • Function t8_cmesh_vtk_write_ASCII
        • Function t8_cmesh_vtk_write_file
        • Function t8_cmesh_vtk_write_file_via_API
        • Function t8_cmesh_write_netcdf
        • Function t8_copy(const double, double)
        • Template Function t8_copy(const TDimensional1&, TDimensional2&)
        • Function t8_cross_2D(const double, const double)
        • Template Function t8_cross_2D(const TVecX&, const TVecY&)
        • Function t8_cross_3D(const double, const double, double)
        • Template Function t8_cross_3D(const TVecX&, const TVecY&, TVecCross&)
        • Template Function t8_debug_print_type
        • Function t8_debugf
        • Function t8_default_mempool_alloc
        • Function t8_default_mempool_free
        • Function t8_dhex_compute_reference_coords
        • Function t8_diff(const double, const double, double)
        • Template Function t8_diff(const TVecX&, const TVecY&, TVecDiff&)
        • Function t8_dist(const double, const double)
        • Template Function t8_dist(const TPointX&, const TPointY&)
        • Function t8_dline_ancestor
        • Function t8_dline_ancestor_id
        • Function t8_dline_child
        • Function t8_dline_child_id
        • Function t8_dline_childrenpv
        • Function t8_dline_compare
        • Function t8_dline_compute_reference_coords
        • Function t8_dline_copy
        • Function t8_dline_equal
        • Function t8_dline_extrude_face
        • Function t8_dline_face_neighbour
        • Function t8_dline_face_parent_face
        • Function t8_dline_first_descendant
        • Function t8_dline_get_level
        • Function t8_dline_init
        • Function t8_dline_init_linear_id
        • Function t8_dline_is_familypv
        • Function t8_dline_is_inside_root
        • Function t8_dline_is_root_boundary
        • Function t8_dline_is_valid
        • Function t8_dline_last_descendant
        • Function t8_dline_linear_id
        • Function t8_dline_nearest_common_ancestor
        • Function t8_dline_parent
        • Function t8_dline_successor
        • Function t8_dline_transform_face
        • Function t8_dline_vertex_integer_coords
        • Function t8_dline_vertex_ref_coords
        • Function t8_dot(const double, const double)
        • Template Function t8_dot(const TVecX&, const TVecY&)
        • Function t8_dprism_ancestor_id
        • Function t8_dprism_boundary_face
        • Function t8_dprism_child
        • Function t8_dprism_child_id
        • Function t8_dprism_children_at_face
        • Function t8_dprism_childrenpv
        • Function t8_dprism_compare
        • Function t8_dprism_compute_reference_coords
        • Function t8_dprism_copy
        • Function t8_dprism_corner_descendant
        • Function t8_dprism_equal
        • Function t8_dprism_extrude_face
        • Function t8_dprism_face_child_face
        • Function t8_dprism_face_neighbour
        • Function t8_dprism_face_parent_face
        • Function t8_dprism_face_shape
        • Function t8_dprism_first_descendant
        • Function t8_dprism_get_face_corner
        • Function t8_dprism_get_level
        • Function t8_dprism_init_linear_id
        • Function t8_dprism_is_familypv
        • Function t8_dprism_is_inside_root
        • Function t8_dprism_is_root_boundary
        • Function t8_dprism_is_valid
        • Function t8_dprism_last_descendant
        • Function t8_dprism_linear_id
        • Function t8_dprism_nearest_common_ancestor
        • Function t8_dprism_num_face_children
        • Function t8_dprism_parent
        • Function t8_dprism_successor
        • Function t8_dprism_tree_face
        • Function t8_dprism_vertex_integer_coords
        • Function t8_dprism_vertex_ref_coords
        • Function t8_dpyramid_ancestor
        • Function t8_dpyramid_ancestor_id
        • Function t8_dpyramid_boundary_face
        • Function t8_dpyramid_child
        • Function t8_dpyramid_child_id
        • Function t8_dpyramid_children
        • Function t8_dpyramid_children_at_face
        • Function t8_dpyramid_compare
        • Function t8_dpyramid_compute_integer_coords
        • Function t8_dpyramid_compute_reference_coords
        • Function t8_dpyramid_copy
        • Function t8_dpyramid_equal
        • Function t8_dpyramid_extrude_face
        • Function t8_dpyramid_face_child_face
        • Function t8_dpyramid_face_neighbor_inside
        • Function t8_dpyramid_face_parent_face
        • Function t8_dpyramid_face_shape
        • Function t8_dpyramid_first_descendant
        • Function t8_dpyramid_first_descendant_face
        • Function t8_dpyramid_get_face_corner
        • Function t8_dpyramid_get_level
        • Function t8_dpyramid_init_linear_id
        • Function t8_dpyramid_is_family
        • Function t8_dpyramid_is_inside_root
        • Function t8_dpyramid_is_root_boundary
        • Function t8_dpyramid_is_valid
        • Function t8_dpyramid_last_descendant
        • Function t8_dpyramid_last_descendant_face
        • Function t8_dpyramid_linear_id
        • Function t8_dpyramid_max_num_faces
        • Function t8_dpyramid_nearest_common_ancestor
        • Function t8_dpyramid_num_children
        • Function t8_dpyramid_num_corners
        • Function t8_dpyramid_num_faces
        • Function t8_dpyramid_num_siblings
        • Function t8_dpyramid_parent
        • Function t8_dpyramid_shape
        • Function t8_dpyramid_successor
        • Function t8_dpyramid_tet_boundary
        • Function t8_dpyramid_tree_face
        • Function t8_dpyramid_type_at_level
        • Function t8_dpyramid_vertex_reference_coords
        • Function t8_dquad_compute_reference_coords
        • Function t8_dtet_ancestor
        • Function t8_dtet_ancestor_id
        • Function t8_dtet_child
        • Function t8_dtet_child_id
        • Function t8_dtet_children_at_face
        • Function t8_dtet_childrenpv
        • Function t8_dtet_compare
        • Function t8_dtet_compute_all_coords
        • Function t8_dtet_compute_integer_coords
        • Function t8_dtet_compute_reference_coords
        • Function t8_dtet_compute_vertex_ref_coords
        • Function t8_dtet_copy
        • Function t8_dtet_corner_descendant
        • Function t8_dtet_element_pack
        • Function t8_dtet_element_pack_size
        • Function t8_dtet_element_unpack
        • Function t8_dtet_equal
        • Function t8_dtet_face_child_face
        • Function t8_dtet_face_neighbour
        • Function t8_dtet_face_parent_face
        • Function t8_dtet_first_descendant
        • Function t8_dtet_get_level
        • Function t8_dtet_init
        • Function t8_dtet_init_linear_id
        • Function t8_dtet_init_linear_id_with_level
        • Function t8_dtet_init_root
        • Function t8_dtet_is_ancestor
        • Function t8_dtet_is_equal
        • Function t8_dtet_is_familypv
        • Function t8_dtet_is_inside_root
        • Function t8_dtet_is_parent
        • Function t8_dtet_is_root_boundary
        • Function t8_dtet_is_sibling
        • Function t8_dtet_is_valid
        • Function t8_dtet_last_descendant
        • Function t8_dtet_linear_id
        • Function t8_dtet_nearest_common_ancestor
        • Function t8_dtet_parent
        • Function t8_dtet_predecessor
        • Function t8_dtet_root_face_to_face
        • Function t8_dtet_sibling
        • Function t8_dtet_successor
        • Function t8_dtet_tree_face
        • Function t8_dtri_ancestor
        • Function t8_dtri_ancestor_id
        • Function t8_dtri_child
        • Function t8_dtri_child_id
        • Function t8_dtri_children_at_face
        • Function t8_dtri_childrenpv
        • Function t8_dtri_compare
        • Function t8_dtri_compute_all_coords
        • Function t8_dtri_compute_integer_coords
        • Function t8_dtri_compute_reference_coords
        • Function t8_dtri_compute_vertex_ref_coords
        • Function t8_dtri_copy
        • Function t8_dtri_corner_descendant
        • Function t8_dtri_element_pack
        • Function t8_dtri_element_pack_size
        • Function t8_dtri_element_unpack
        • Function t8_dtri_equal
        • Function t8_dtri_face_child_face
        • Function t8_dtri_face_neighbour
        • Function t8_dtri_face_parent_face
        • Function t8_dtri_first_descendant
        • Function t8_dtri_get_level
        • Function t8_dtri_init
        • Function t8_dtri_init_linear_id
        • Function t8_dtri_init_linear_id_with_level
        • Function t8_dtri_init_root
        • Function t8_dtri_is_ancestor
        • Function t8_dtri_is_equal
        • Function t8_dtri_is_familypv
        • Function t8_dtri_is_inside_root
        • Function t8_dtri_is_parent
        • Function t8_dtri_is_root_boundary
        • Function t8_dtri_is_sibling
        • Function t8_dtri_is_valid
        • Function t8_dtri_last_descendant
        • Function t8_dtri_linear_id
        • Function t8_dtri_nearest_common_ancestor
        • Function t8_dtri_parent
        • Function t8_dtri_predecessor
        • Function t8_dtri_root_face_to_face
        • Function t8_dtri_sibling
        • Function t8_dtri_successor
        • Function t8_dtri_transform_face
        • Function t8_dtri_tree_face
        • Function t8_eclass_compare
        • Function t8_eclass_count_boundary
        • Function t8_eclass_is_valid
        • Function t8_eclass_scheme_is_default(const t8_scheme *, const t8_eclass_t)
        • Function t8_eclass_scheme_is_default(const t8_scheme_c *, const t8_eclass_t)
        • Function t8_eclass_scheme_is_standalone
        • Function t8_element_array_begin
        • Function t8_element_array_copy
        • Function t8_element_array_end
        • Function t8_element_array_get_array
        • Function t8_element_array_get_array_mutable
        • Function t8_element_array_get_count
        • Function t8_element_array_get_data
        • Function t8_element_array_get_data_mutable
        • Function t8_element_array_get_scheme
        • Function t8_element_array_get_size
        • Function t8_element_array_get_tree_class
        • Function t8_element_array_index_int
        • Function t8_element_array_index_int_mutable
        • Function t8_element_array_index_locidx
        • Function t8_element_array_index_locidx_mutable
        • Function t8_element_array_init
        • Function t8_element_array_init_copy
        • Function t8_element_array_init_data
        • Function t8_element_array_init_size
        • Function t8_element_array_init_view
        • Function t8_element_array_new
        • Function t8_element_array_new_count
        • Function t8_element_array_push
        • Function t8_element_array_push_count
        • Function t8_element_array_reset
        • Function t8_element_array_resize
        • Function t8_element_array_truncate
        • Function t8_element_compare
        • Function t8_element_copy
        • Function t8_element_count_leaves
        • Function t8_element_count_leaves_from_root
        • Function t8_element_debug_print
        • Function t8_element_deinit
        • Function t8_element_destroy
        • Function t8_element_extrude_face
        • Function t8_element_face_get_child_face
        • Function t8_element_face_get_parent_face
        • Function t8_element_get_ancestor_id
        • Function t8_element_get_boundary_face
        • Function t8_element_get_child
        • Function t8_element_get_child_id
        • Function t8_element_get_children
        • Function t8_element_get_children_at_face
        • Function t8_element_get_corner_face
        • Function t8_element_get_element_size
        • Function t8_element_get_face_corner
        • Function t8_element_get_face_neighbor_inside
        • Function t8_element_get_face_shape
        • Function t8_element_get_first_descendant
        • Function t8_element_get_first_descendant_face
        • Function t8_element_get_last_descendant
        • Function t8_element_get_last_descendant_face
        • Function t8_element_get_level
        • Function t8_element_get_linear_id
        • Function t8_element_get_max_num_faces
        • Function t8_element_get_maxlevel
        • Function t8_element_get_nca
        • Function t8_element_get_num_children
        • Function t8_element_get_num_corners
        • Function t8_element_get_num_face_children
        • Function t8_element_get_num_faces
        • Function t8_element_get_num_siblings
        • Function t8_element_get_parent
        • Function t8_element_get_reference_coords
        • Function t8_element_get_shape
        • Function t8_element_get_sibling
        • Function t8_element_get_successor
        • Function t8_element_get_tree_face
        • Function t8_element_get_vertex_reference_coords
        • Function t8_element_init
        • Function t8_element_is_equal
        • Function t8_element_is_root_boundary
        • Function t8_element_is_valid
        • Function t8_element_MPI_Pack
        • Function t8_element_MPI_Pack_size
        • Function t8_element_MPI_Unpack
        • Function t8_element_new
        • Function t8_element_refines_irregular
        • Function t8_element_set_linear_id
        • Function t8_element_set_to_root
        • Function t8_element_shape_compare
        • Function t8_element_shape_max_num_faces
        • Function t8_element_shape_num_faces
        • Function t8_element_shape_num_vertices
        • Function t8_element_shape_t8_corner_number
        • Function t8_element_shape_t8_to_vtk_corner_number
        • Function t8_element_shape_to_string
        • Function t8_element_shape_vtk_type
        • Function t8_element_to_string
        • Function t8_element_transform_face
        • Function t8_elements_are_family
        • Function t8_eq(const double, const double, const double)
        • Template Function t8_eq(const TDimensionalX&, const TDimensionalY&, const double)
        • Function t8_errorf
        • Function t8_forest_adapt
        • Function t8_forest_balance
        • Function t8_forest_bin_search_lower
        • Function t8_forest_cmesh_ltreeid_to_ltreeid
        • Function t8_forest_comm_global_num_leaf_elements
        • Function t8_forest_commit
        • Function t8_forest_compute_desc
        • Function t8_forest_compute_elements_offset
        • Function t8_forest_compute_maxlevel
        • Function t8_forest_compute_profile
        • Function t8_forest_copy_trees
        • Function t8_forest_element_centroid
        • Function t8_forest_element_check_owner
        • Function t8_forest_element_coordinate
        • Function t8_forest_element_diam
        • Function t8_forest_element_face_area
        • Function t8_forest_element_face_centroid
        • Function t8_forest_element_face_neighbor
        • Function t8_forest_element_face_normal
        • Function t8_forest_element_find_owner
        • Function t8_forest_element_find_owner_ext
        • Function t8_forest_element_find_owner_old
        • Function t8_forest_element_from_ref_coords
        • Function t8_forest_element_from_ref_coords_ext
        • Function t8_forest_element_half_face_neighbors
        • Function t8_forest_element_has_leaf_desc
        • Function t8_forest_element_is_leaf
        • Function t8_forest_element_neighbor_eclass
        • Function t8_forest_element_owners_at_face
        • Function t8_forest_element_owners_at_face_bounds
        • Function t8_forest_element_owners_at_neigh_face
        • Function t8_forest_element_owners_at_neigh_face_bounds
        • Function t8_forest_element_owners_bounds
        • Function t8_forest_element_points_inside
        • Function t8_forest_element_volume
        • Function t8_forest_first_tree_shared
        • Function t8_forest_get_cmesh
        • Function t8_forest_get_coarse_tree
        • Function t8_forest_get_coarse_tree_ext
        • Function t8_forest_get_dimension
        • Function t8_forest_get_eclass
        • Function t8_forest_get_first_local_leaf_element_id
        • Function t8_forest_get_first_local_tree_id
        • Function t8_forest_get_global_num_leaf_elements
        • Function t8_forest_get_leaf_element
        • Function t8_forest_get_leaf_element_in_tree
        • Function t8_forest_get_local_id
        • Function t8_forest_get_local_num_leaf_elements
        • Function t8_forest_get_local_or_ghost_id
        • Function t8_forest_get_maxlevel
        • Function t8_forest_get_mpicomm
        • Function t8_forest_get_num_ghost_trees
        • Function t8_forest_get_num_ghosts
        • Function t8_forest_get_num_global_trees
        • Function t8_forest_get_num_local_trees
        • Function t8_forest_get_scheme
        • Function t8_forest_get_scheme_before_commit
        • Function t8_forest_get_tree
        • Function t8_forest_get_tree_class
        • Function t8_forest_get_tree_element_offset
        • Function t8_forest_get_tree_leaf_element
        • Function t8_forest_get_tree_leaf_element_array
        • Function t8_forest_get_tree_leaf_element_array_mutable
        • Function t8_forest_get_tree_leaf_element_count
        • Function t8_forest_get_tree_leaf_element_mutable
        • Function t8_forest_get_tree_num_leaf_elements
        • Function t8_forest_get_tree_vertices
        • Function t8_forest_get_user_data
        • Function t8_forest_get_user_function
        • Function t8_forest_ghost_create
        • Function t8_forest_ghost_create_balanced_only
        • Function t8_forest_ghost_create_topdown
        • Function t8_forest_ghost_destroy
        • Function t8_forest_ghost_exchange_data
        • Function t8_forest_ghost_get_ghost_treeid
        • Function t8_forest_ghost_get_global_treeid
        • Function t8_forest_ghost_get_leaf_element
        • Function t8_forest_ghost_get_remotes
        • Function t8_forest_ghost_get_tree_class
        • Function t8_forest_ghost_get_tree_element_offset
        • Function t8_forest_ghost_get_tree_leaf_elements
        • Function t8_forest_ghost_init
        • Function t8_forest_ghost_num_trees
        • Function t8_forest_ghost_print
        • Function t8_forest_ghost_ref
        • Function t8_forest_ghost_remote_first_elem
        • Function t8_forest_ghost_remote_first_tree
        • Function t8_forest_ghost_tree_num_leaf_elements
        • Function t8_forest_ghost_unref
        • Function t8_forest_global_tree_id
        • Function t8_forest_init
        • Function t8_forest_init_search
        • Function t8_forest_init_search_with_batched_queries
        • Function t8_forest_init_search_with_queries
        • Function t8_forest_is_balanced
        • Function t8_forest_is_committed
        • Function t8_forest_is_equal
        • Function t8_forest_is_incomplete_family
        • Function t8_forest_is_initialized
        • Function t8_forest_iterate
        • Function t8_forest_iterate_faces
        • Function t8_forest_iterate_replace
        • Function t8_forest_last_tree_shared
        • Function t8_forest_leaf_face_neighbors
        • Function t8_forest_leaf_face_neighbors_ext
        • Function t8_forest_leaf_face_orientation
        • Function t8_forest_ltreeid_to_cmesh_ltreeid
        • Function t8_forest_min_nonempty_level
        • Function t8_forest_new_adapt
        • Function t8_forest_new_gather
        • Function t8_forest_new_uniform
        • Function t8_forest_no_overlap
        • Function t8_forest_partition
        • Function t8_forest_partition_cmesh
        • Function t8_forest_partition_create_first_desc
        • Function t8_forest_partition_create_offsets
        • Function t8_forest_partition_create_tree_offsets
        • Function t8_forest_partition_data
        • Function t8_forest_partition_next_nonempty_rank
        • Function t8_forest_partition_test_boundary_element
        • Function t8_forest_populate
        • Function t8_forest_print_all_leaf_neighbors
        • Function t8_forest_print_profile
        • Function t8_forest_profile_get_adapt_stats
        • Function t8_forest_profile_get_adapt_time
        • Function t8_forest_profile_get_balance_rounds_stats
        • Function t8_forest_profile_get_balance_stats
        • Function t8_forest_profile_get_balance_time
        • Function t8_forest_profile_get_cmesh_offsets_runtime
        • Function t8_forest_profile_get_commit_stats
        • Function t8_forest_profile_get_first_descendant_runtime
        • Function t8_forest_profile_get_forest_offsets_runtime
        • Function t8_forest_profile_get_ghost_stats
        • Function t8_forest_profile_get_ghost_time
        • Function t8_forest_profile_get_ghostexchange_waittime
        • Function t8_forest_profile_get_partition_stats
        • Function t8_forest_profile_get_partition_time
        • Function t8_forest_ref
        • Function t8_forest_save
        • Function t8_forest_search
        • Function t8_forest_search_destroy
        • Function t8_forest_search_do_search
        • Function t8_forest_search_partition
        • Function t8_forest_search_update_forest
        • Function t8_forest_search_update_user_data
        • Function t8_forest_search_with_batched_queries_destroy
        • Function t8_forest_search_with_batched_queries_do_search
        • Function t8_forest_search_with_batched_queries_update_forest
        • Function t8_forest_search_with_batched_queries_update_queries
        • Function t8_forest_search_with_batched_queries_update_user_data
        • Function t8_forest_search_with_queries_destroy
        • Function t8_forest_search_with_queries_do_search
        • Function t8_forest_search_with_queries_update_forest
        • Function t8_forest_search_with_queries_update_queries
        • Function t8_forest_search_with_queries_update_user_data
        • Function t8_forest_set_adapt
        • Function t8_forest_set_balance
        • Function t8_forest_set_cmesh
        • Function t8_forest_set_copy
        • Function t8_forest_set_ghost
        • Function t8_forest_set_ghost_ext
        • Function t8_forest_set_level
        • Function t8_forest_set_load
        • Function t8_forest_set_partition
        • Function t8_forest_set_partition_offset
        • Function t8_forest_set_profiling
        • Function t8_forest_set_scheme
        • Function t8_forest_set_user_data
        • Function t8_forest_set_user_function
        • Function t8_forest_split_array
        • Function t8_forest_to_vtkUnstructuredGrid
        • Function t8_forest_tree_get_leaf_elements
        • Function t8_forest_tree_is_local
        • Function t8_forest_unref
        • Function t8_forest_vtk_get_element_nodes
        • Function t8_forest_vtk_write_ASCII
        • Function t8_forest_vtk_write_file
        • Function t8_forest_vtk_write_file_via_API
        • Function t8_forest_write_netcdf
        • Function t8_forest_write_netcdf_ext
        • Function t8_forest_write_vtk
        • Function t8_forest_write_vtk_ext
        • Function t8_geom_compute_linear_axis_aligned_geometry
        • Function t8_geom_compute_linear_geometry
        • Function t8_geom_get_edge_vertices
        • Function t8_geom_get_face_vertices
        • Function t8_geom_get_name
        • Function t8_geom_get_ref_intersection
        • Function t8_geom_get_scaling_factor_face_through_volume_prism
        • Function t8_geom_get_scaling_factor_of_edge_on_face_prism
        • Function t8_geom_get_scaling_factor_of_edge_on_face_tet
        • Function t8_geom_get_tet_face_intersection
        • Function t8_geom_get_triangle_scaling_factor
        • Function t8_geom_get_type
        • Function t8_geom_linear_interpolation
        • Function t8_geom_load_tree_data_vertices
        • Function t8_geom_triangular_interpolation
        • Function t8_geometry_analytic_destroy
        • Function t8_geometry_analytic_new
        • Function t8_geometry_cad_destroy
        • Function t8_geometry_cad_new
        • Function t8_geometry_compute_hash
        • Function t8_geometry_cubed_sphere_new
        • Function t8_geometry_cubed_spherical_shell_new
        • Function t8_geometry_destroy
        • Function t8_geometry_evaluate
        • Function t8_geometry_get_type
        • Function t8_geometry_hash_is_null
        • Function t8_geometry_jacobian
        • Function t8_geometry_lagrange_destroy
        • Function t8_geometry_lagrange_new
        • Function t8_geometry_linear_axis_aligned_destroy
        • Function t8_geometry_linear_axis_aligned_new
        • Function t8_geometry_linear_destroy
        • Function t8_geometry_linear_new
        • Function t8_geometry_prismed_spherical_shell_new
        • Function t8_geometry_quadrangulated_disk_new
        • Function t8_geometry_tessellated_spherical_surface_new
        • Function t8_geometry_tree_negative_volume
        • Function t8_geometry_triangulated_spherical_surface_new
        • Function t8_geometry_zero_destroy
        • Function t8_geometry_zero_new
        • Function t8_get_max_num_children
        • Function t8_get_number_of_vtk_nodes
        • Function t8_get_package_id
        • Function t8_get_package_string
        • Function t8_get_version_major
        • Function t8_get_version_minor
        • Function t8_get_version_number
        • Function t8_get_version_patch
        • Function t8_get_version_point_string
        • Function t8_global_errorf
        • Function t8_global_essentialf
        • Function t8_global_infof
        • Function t8_global_productionf
        • Template Function t8_hidden_functions::unrolled_for_impl
        • Function t8_infof
        • Function t8_init
        • Function t8_line_point_inside
        • Function t8_log_indent_pop
        • Function t8_log_indent_push
        • Function t8_logf
        • Function t8_logv
        • Function t8_mat_init_xrot
        • Function t8_mat_init_yrot
        • Function t8_mat_init_zrot
        • Function t8_mat_mult_mat
        • Function t8_mat_mult_vec
        • Function t8_netcdf_create_double_var
        • Function t8_netcdf_create_integer_var
        • Function t8_netcdf_create_var
        • Function t8_netcdf_variable_destroy
        • Function t8_norm(const double)
        • Template Function t8_norm(const TVec&)
        • Function t8_normal_of_tri(const double, const double, const double, double)
        • Template Function t8_normal_of_tri(const TVecP1&, const TVecP2&, const TVecP3&, TVecNormal&)
        • Function t8_normalize(double)
        • Template Function t8_normalize(TVec&)
        • Function t8_offset_all_owners_of_tree
        • Function t8_offset_any_owner_of_tree
        • Function t8_offset_any_owner_of_tree_ext
        • Function t8_offset_consistent
        • Function t8_offset_empty
        • Function t8_offset_first
        • Function t8_offset_first_owner_of_tree
        • Function t8_offset_first_tree_to_entry
        • Function t8_offset_in_range
        • Function t8_offset_last
        • Function t8_offset_last_owner_of_tree
        • Function t8_offset_next_nonempty_rank
        • Function t8_offset_next_owner_of_tree
        • Function t8_offset_nosend
        • Function t8_offset_num_trees
        • Function t8_offset_prev_owner_of_tree
        • Function t8_offset_print
        • Function t8_offset_range_send
        • Function t8_offset_sendsto
        • Function t8_offset_sendstree
        • Function t8_orthogonal_tripod(const double, double, double)
        • Template Function t8_orthogonal_tripod(const TVecV1&, TVecV2&, TVecV3&)
        • Function t8_plane_point_inside
        • Function t8_productionf
        • Function t8_read_parallel_polyData
        • Function t8_read_parallel_unstructured
        • Function t8_read_polyData
        • Function t8_read_unstructured
        • Function t8_refcount_destroy
        • Function t8_refcount_init
        • Function t8_refcount_new
        • Function t8_rescale(double, const double)
        • Template Function t8_rescale(TVec&, const double)
        • Function t8_sc_array_index_locidx
        • Function t8_scheme_new_default(void)
        • Function t8_scheme_new_default(void)
        • Function t8_scheme_new_standalone
        • Function t8_scheme_ref
        • Function t8_scheme_unref
        • Function t8_set_external_log_fcn
        • Function t8_shmem_array_allgather
        • Function t8_shmem_array_allgatherv
        • Function t8_shmem_array_binary_search
        • Function t8_shmem_array_copy
        • Function t8_shmem_array_destroy
        • Function t8_shmem_array_end_writing
        • Function t8_shmem_array_get_array
        • Function t8_shmem_array_get_comm
        • Function t8_shmem_array_get_elem_count
        • Function t8_shmem_array_get_elem_size
        • Function t8_shmem_array_get_gloidx
        • Function t8_shmem_array_get_gloidx_array
        • Function t8_shmem_array_get_gloidx_array_for_writing
        • Function t8_shmem_array_index
        • Function t8_shmem_array_index_for_writing
        • Function t8_shmem_array_init
        • Function t8_shmem_array_is_equal
        • Function t8_shmem_array_is_initialized
        • Function t8_shmem_array_prefix
        • Function t8_shmem_array_set_gloidx
        • Function t8_shmem_array_start_writing
        • Function t8_shmem_finalize
        • Function t8_shmem_init
        • Function t8_shmem_set_type
        • Function t8_stash_add_attribute
        • Function t8_stash_add_class
        • Function t8_stash_add_facejoin
        • Function t8_stash_attribute_is_owned
        • Function t8_stash_attribute_sort
        • Function t8_stash_bcast
        • Function t8_stash_class_bsearch
        • Function t8_stash_class_sort
        • Function t8_stash_destroy
        • Function t8_stash_get_attribute
        • Function t8_stash_get_attribute_id
        • Function t8_stash_get_attribute_key
        • Function t8_stash_get_attribute_size
        • Function t8_stash_get_attribute_tree_id
        • Function t8_stash_init
        • Function t8_stash_is_equal
        • Function t8_stash_joinface_sort
        • Function t8_swap
        • Function t8_triangle_point_inside
        • Function t8_vertex_point_inside
        • Function t8_vtk_reader
        • Function t8_vtk_reader_cmesh
        • Function t8_vtk_reader_pointSet
        • Function t8_vtkGrid_to_cmesh
        • Function t8_vtkGrid_to_vtkPointSet
        • Function t8_write_pvtu
        • Template Function tree_local_to_global_id
        • Template Function vector_split
      • Variables
      • Defines
      • Typedefs
T8CODE
  • Library API
  • Function t8_forest_search
  • View page source

Function t8_forest_search

  • Defined in File t8_forest_iterate.h

Function Documentation

void t8_forest_search(t8_forest_t forest, t8_forest_search_fn search_fn, t8_forest_query_fn query_fn, sc_array_t *queries)

Perform a top-down search of the forest, executing a callback on each intermediate element.

The search will enter each tree at least once. If the callback returns false for an element, its descendants are not further searched. To pass user data to the search_fn function use t8_forest_set_user_data.

Parameters:
  • forest – [in] The forest.

  • search_fn – [in] The callback function describing the search criterion.

  • query_fn – [in] The query function.

  • queries – [in] The array of queries.

Previous Next

© Copyright 2024, Johannes Holke, David Knapp, Sandro Elsweijer, Ioannis Lilikakis, Lukas Dreyer, Jakob Fußbroich, Carsten Burstedde, Chiara Hergl, Johannes Markert, Niklas Boeing, Florian Becker, Prasanna Ponnusamy.

Built with Sphinx using a theme provided by Read the Docs.