Reference documentation for deal.II version Git 689de043d4 2020-08-10 16:46:15 +0200
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Functions
GridTools::internal::DistributedComputePointLocations Namespace Reference

Classes

struct  cell_hash
 

Functions

template<int dim, int spacedim>
std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::pair< std::vector< Point< dim > >, std::vector< unsigned int > >, cell_hash< dim, spacedim > > compute_point_locations (const GridTools::Cache< dim, spacedim > &cache, const std::vector< Point< spacedim >> &points)
 
template<int dim, int spacedim>
void merge_into_point_locations (const std::vector< typename Triangulation< dim, spacedim >::active_cell_iterator > &cells, const std::vector< std::vector< Point< dim >>> &qpoints, const std::vector< std::vector< unsigned int >> &maps, const std::vector< std::vector< Point< spacedim >>> &points, const unsigned int rank, std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::tuple< std::vector< Point< dim >>, std::vector< unsigned int >, std::vector< Point< spacedim >>, std::vector< unsigned int >>, cell_hash< dim, spacedim >> &point_locations)
 
template<int dim, int spacedim>
void compute_and_classify_points (const GridTools::Cache< dim, spacedim > &cache, const std::vector< Point< spacedim >> &local_points, const std::vector< unsigned int > &local_points_idx, std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::tuple< std::vector< Point< dim >>, std::vector< unsigned int >, std::vector< Point< spacedim >>, std::vector< unsigned int >>, cell_hash< dim, spacedim >> &locally_owned_locations, std::map< unsigned int, std::tuple< std::vector< CellId >, std::vector< std::vector< Point< dim >>>, std::vector< std::vector< unsigned int >>, std::vector< std::vector< Point< spacedim >>>>> &ghost_cell_locations, std::vector< unsigned int > &found_location_indices)
 
template<int dim, int spacedim>
void merge_received_point_locations (const GridTools::Cache< dim, spacedim > &cache, const std::map< unsigned int, std::pair< std::vector< Point< spacedim >>, std::vector< unsigned int >>> &received_point_locations, std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::tuple< std::vector< Point< dim >>, std::vector< unsigned int >, std::vector< Point< spacedim >>, std::vector< unsigned int >>, cell_hash< dim, spacedim >> &point_locations, const bool check_owned)
 

Function Documentation

◆ compute_point_locations()

template<int dim, int spacedim>
std::unordered_map< typename Triangulation<dim, spacedim>::active_cell_iterator, std::pair<std::vector<Point<dim> >, std::vector<unsigned int> >, cell_hash<dim, spacedim> > GridTools::internal::DistributedComputePointLocations::compute_point_locations ( const GridTools::Cache< dim, spacedim > &  cache,
const std::vector< Point< spacedim >> &  points 
)

Definition at line 4565 of file grid_tools.cc.

◆ merge_into_point_locations()

template<int dim, int spacedim>
void GridTools::internal::DistributedComputePointLocations::merge_into_point_locations ( const std::vector< typename Triangulation< dim, spacedim >::active_cell_iterator > &  cells,
const std::vector< std::vector< Point< dim >>> &  qpoints,
const std::vector< std::vector< unsigned int >> &  maps,
const std::vector< std::vector< Point< spacedim >>> &  points,
const unsigned int  rank,
std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::tuple< std::vector< Point< dim >>, std::vector< unsigned int >, std::vector< Point< spacedim >>, std::vector< unsigned int >>, cell_hash< dim, spacedim >> &  point_locations 
)

Definition at line 4708 of file grid_tools.cc.

◆ compute_and_classify_points()

template<int dim, int spacedim>
void GridTools::internal::DistributedComputePointLocations::compute_and_classify_points ( const GridTools::Cache< dim, spacedim > &  cache,
const std::vector< Point< spacedim >> &  local_points,
const std::vector< unsigned int > &  local_points_idx,
std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::tuple< std::vector< Point< dim >>, std::vector< unsigned int >, std::vector< Point< spacedim >>, std::vector< unsigned int >>, cell_hash< dim, spacedim >> &  locally_owned_locations,
std::map< unsigned int, std::tuple< std::vector< CellId >, std::vector< std::vector< Point< dim >>>, std::vector< std::vector< unsigned int >>, std::vector< std::vector< Point< spacedim >>>>> &  ghost_cell_locations,
std::vector< unsigned int > &  found_location_indices 
)

Definition at line 4777 of file grid_tools.cc.

◆ merge_received_point_locations()

template<int dim, int spacedim>
void GridTools::internal::DistributedComputePointLocations::merge_received_point_locations ( const GridTools::Cache< dim, spacedim > &  cache,
const std::map< unsigned int, std::pair< std::vector< Point< spacedim >>, std::vector< unsigned int >>> &  received_point_locations,
std::unordered_map< typename Triangulation< dim, spacedim >::active_cell_iterator, std::tuple< std::vector< Point< dim >>, std::vector< unsigned int >, std::vector< Point< spacedim >>, std::vector< unsigned int >>, cell_hash< dim, spacedim >> &  point_locations,
const bool  check_owned 
)

Definition at line 4872 of file grid_tools.cc.