Reference documentation for deal.II version 9.2.0
\(\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::distributed_cptloc 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_unmap (const GridTools::Cache< dim, spacedim > &cache, const std::vector< Point< spacedim >> &points)
 
template<int dim, int spacedim>
void merge_cptloc_outputs (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 >> &output_unmap, const std::vector< typename Triangulation< dim, spacedim >::active_cell_iterator > &in_cells, const std::vector< std::vector< Point< dim >>> &in_qpoints, const std::vector< std::vector< unsigned int >> &in_maps, const std::vector< std::vector< Point< spacedim >>> &in_points, const unsigned int in_rank)
 
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 >> &output_unmap, 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_loc_pts, std::vector< unsigned int > &classified_pts)
 
template<int dim, int spacedim>
void compute_and_merge_from_map (const GridTools::Cache< dim, spacedim > &cache, const std::map< unsigned int, std::pair< std::vector< Point< spacedim >>, std::vector< unsigned int >>> &map_pts, 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 >> &output_unmap, const bool check_owned)
 

Function Documentation

◆ compute_point_locations_unmap()

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::distributed_cptloc::compute_point_locations_unmap ( const GridTools::Cache< dim, spacedim > &  cache,
const std::vector< Point< spacedim >> &  points 
)

Definition at line 4588 of file grid_tools.cc.

◆ merge_cptloc_outputs()

template<int dim, int spacedim>
void GridTools::internal::distributed_cptloc::merge_cptloc_outputs ( 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 >> &  output_unmap,
const std::vector< typename Triangulation< dim, spacedim >::active_cell_iterator > &  in_cells,
const std::vector< std::vector< Point< dim >>> &  in_qpoints,
const std::vector< std::vector< unsigned int >> &  in_maps,
const std::vector< std::vector< Point< spacedim >>> &  in_points,
const unsigned int  in_rank 
)

Definition at line 4692 of file grid_tools.cc.

◆ compute_and_classify_points()

template<int dim, int spacedim>
void GridTools::internal::distributed_cptloc::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 >> &  output_unmap,
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_loc_pts,
std::vector< unsigned int > &  classified_pts 
)

Definition at line 4759 of file grid_tools.cc.

◆ compute_and_merge_from_map()

template<int dim, int spacedim>
void GridTools::internal::distributed_cptloc::compute_and_merge_from_map ( const GridTools::Cache< dim, spacedim > &  cache,
const std::map< unsigned int, std::pair< std::vector< Point< spacedim >>, std::vector< unsigned int >>> &  map_pts,
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 >> &  output_unmap,
const bool  check_owned 
)

Definition at line 4850 of file grid_tools.cc.