T8CODE Logo

Contents:

  • Library API
    • Full API
      • Namespaces
      • Classes and Structs
        • Template Struct Addable
        • Template Struct AddAssignable
        • Template Struct cmesh_cartesian_product_params
        • Template Struct cmesh_cartesian_product_with_rules
        • Struct cmesh_example_base
        • Template Struct cmesh_example_with_parameter
        • Struct cmesh_sum_of_sets
        • Template Struct data_creator
        • Template Struct Dividable
        • Template Struct enlarged_data
        • Template Struct EqualityComparable
        • Struct example_set
        • Template Struct Hashable
        • Template Struct Multipliable
        • Template Struct PrefixDecrementable
        • Template Struct PrefixIncrementable
        • Template Struct Printable
        • Struct pseudo_tree
        • Template Struct RandomAccessible
        • Template Struct hash< T8Type< T, Parameter, competence… > >
        • Template Struct Subtractable
        • Template Struct Swapable
        • Struct t8_abstract_vector_handler
        • Struct t8_attribute_info
        • Struct t8_cghost
        • Struct t8_cmesh
        • Struct t8_cmesh_mesh_deformation
        • Struct t8_cmesh_trees
        • Struct t8_cmesh_vertex_conn_tree_to_vertex
        • Struct t8_cmesh_vertex_conn_vertex_to_tree
        • Struct t8_cmesh_vertex_connectivity
        • Struct t8_cprofile
        • Template Struct t8_crtp_basic
        • Template Struct t8_crtp_operator
        • Struct t8_ctree
        • Template Struct t8_data_handler
        • Template Struct t8_data_handler< enlarged_data< double > >
        • Template Struct t8_data_handler< enlarged_data< int > >
        • Template Struct t8_data_handler< pseudo_tree >
        • Struct t8_data_handler_tag
        • Template Struct t8_default_scheme_common
        • Struct t8_default_scheme_hex
        • Struct t8_default_scheme_line
        • Struct t8_default_scheme_prism
        • Struct t8_default_scheme_pyramid
        • Struct t8_default_scheme_quad
        • Struct t8_default_scheme_tet
        • Struct t8_default_scheme_tri
        • Struct t8_default_scheme_vertex
        • Struct t8_dhex
        • Struct t8_dline
        • Struct t8_dprism
        • Struct t8_dpyramid
        • Struct t8_dtet
        • Struct t8_dtri
        • Struct t8_dvertex
        • Struct t8_element_array_iterator
        • Struct t8_element_array_t
        • Struct t8_forest
        • Struct t8_forest_ghost
        • Struct t8_forest_pfc_message
        • Struct t8_geometry
        • Struct t8_geometry_analytic
        • Struct t8_geometry_cad
        • Struct t8_geometry_cubed_sphere
        • Struct t8_geometry_cubed_spherical_shell
        • Struct t8_geometry_extended
        • Struct t8_geometry_handler
        • Struct t8_geometry_hash_tag
        • Struct t8_geometry_lagrange
        • Struct t8_geometry_linear
        • Struct t8_geometry_linear_axis_aligned
        • Struct t8_geometry_prismed_spherical_shell
        • Struct t8_geometry_quadrangulated_disk
        • Struct t8_geometry_tessellated_spherical_surface
        • Struct t8_geometry_triangulated_spherical_surface
        • Struct t8_geometry_with_vertices
        • Struct t8_geometry_zero
        • Template Struct unrolled_index
        • Struct t8_lagrange_element
        • Template Struct cache_centroid
        • Template Struct cache_diameter
        • Template Struct cache_face_areas
        • Template Struct cache_face_centroids
        • Template Struct cache_face_normals
        • Template Struct cache_neighbors
        • Template Struct cache_vertex_coordinates
        • Template Struct cache_volume
        • Template Struct fold_unique
        • Template Struct fold_unique< TPackType, TPackType< TUnionCompetences… > >
        • Template Struct fold_unique< TPackType, TPackType< TUnionCompetences… >, TCompetence, TOtherCompetences… >
        • Template Struct mesh_adapt_context
        • Struct mesh_adapt_context_base
        • Template Struct tag
        • Template Struct union_competence_packs
        • Template Struct union_competence_packs< TPack >
        • Template Struct union_two_competence_packs
        • Template Struct union_two_competence_packs< element_competence_pack< TCompetences1… >, element_competence_pack< TCompetences2… > >
        • Template Struct union_two_competence_packs< mesh_competence_pack< TCompetences1… >, mesh_competence_pack< TCompetences2… > >
        • Template Struct element_competence_pack
        • Template Struct element_data_element_competence
        • Template Struct element_data_mesh_competence
        • Template Struct mesh_competence_pack
        • Template Struct mesh_competence_pack::apply
        • Struct t8_part_tree
        • Template Struct t8_partition_search
        • Struct t8_partition_search_base
        • Template Struct t8_partition_search_with_batched_queries
        • Template Struct t8_partition_search_with_queries
        • Struct t8_profile
        • Struct t8_scheme
        • Struct t8_scheme_builder
        • Template Struct t8_scheme_helpers
        • Template Struct t8_search
        • Struct t8_search_base
        • Template Struct t8_search_with_batched_queries
        • Template Struct t8_search_with_queries
        • Template Struct t8_standalone_element
        • Template Struct t8_standalone_scheme
        • Struct t8_stash
        • Struct t8_stash_attribute
        • Struct t8_stash_class
        • Struct t8_stash_joinface
        • Struct t8_tree
        • Struct t8_trees_glo_lo_hash_t
        • Template Struct t8_vector_handler
        • Struct t8_vtk_data_field_t
        • Template Struct T8Type
        • Struct TestBFS
        • Struct TestDFS
        • Template Struct vtk_writer
        • Class t8_cad_handle
        • Class adapt_registry
        • Template Class element
        • Template Class element_data_mesh_competence_impl
        • Template Class mesh
      • Enums
      • Functions
      • Variables
      • Defines
      • Typedefs
T8CODE
  • Library API
  • Template Struct t8_partition_search
  • View page source

Template Struct t8_partition_search

  • Defined in File t8_forest_search.hxx

Inheritance Relationships

Base Type

  • public t8_partition_search_base (Struct t8_partition_search_base)

Struct Documentation

template<typename Udata = void>
struct t8_partition_search : public t8_partition_search_base

A class that performs a search in the partition of a forest and supports the usage of user data.

Template Parameters:

Udata –

Public Functions

inline t8_partition_search(t8_partition_search_element_callback<Udata> element_callback, t8_forest_t forest = nullptr, Udata *user_data = nullptr)

Constructor for the t8_partition_search class.

This constructor initializes a t8_partition_search object with the given element callback, forest, and user data. If the forest is not null, it increments the reference count of the forest and asserts that the forest is committed.

Parameters:
  • element_callback – [in] A callback function of type t8_partition_search_element_callback<Udata>.

  • forest – [in] A pointer to a t8_forest_t object. Defaults to nullptr.

  • user_data – [in] A pointer to a Udata object. Defaults to nullptr.

inline void update_user_data(Udata *udata)

Updates the user data associated with the object.

This function sets the user data pointer to the provided Udata object.

Parameters:

udata – [in] A pointer to the Udata object to be set as the user data.

Public Members

Udata *user_data

A pointer to the user data associated with the object.

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.