41 #ifndef DTK_COARSELOCALSEARCH_HPP 42 #define DTK_COARSELOCALSEARCH_HPP 44 #include <unordered_map> 46 #include "DTK_EntityIterator.hpp" 47 #include "DTK_EntityLocalMap.hpp" 49 #include "DTK_Types.hpp" 51 #include <Teuchos_Array.hpp> 52 #include <Teuchos_ArrayView.hpp> 53 #include <Teuchos_ParameterList.hpp> 54 #include <Teuchos_RCP.hpp> 69 const Teuchos::RCP<EntityLocalMap> &local_map,
70 const Teuchos::ParameterList ¶meters );
73 void search(
const Teuchos::ArrayView<const double> &point,
74 const Teuchos::ParameterList ¶meters,
75 Teuchos::Array<Entity> &neighbors )
const;
79 Teuchos::Array<double> d_entity_centroids;
82 std::unordered_map<int, Entity> d_entity_map;
85 Teuchos::RCP<StaticSearchTree> d_tree;
94 #endif // DTK_COARSELOCALSEARCH_HPP A CoarseLocalSearch data structure for local entity coarse search.
Spatial searching for point clouds.
Entity iterator interface.
void search(const Teuchos::ArrayView< const double > &point, const Teuchos::ParameterList ¶meters, Teuchos::Array< Entity > &neighbors) const
Find the set of entities a point neighbors.
CoarseLocalSearch(const EntityIterator &entity_iterator, const Teuchos::RCP< EntityLocalMap > &local_map, const Teuchos::ParameterList ¶meters)
Constructor.