![]() |
Reference documentation for deal.II version 9.6.0
|
#include <deal.II/grid/grid_tools.h>
Public Member Functions | |
DistributedComputePointLocationsInternal () | |
void | finalize_setup () |
Public Attributes | |
unsigned int | n_searched_points |
std::vector< std::tuple< std::pair< int, int >, unsigned int, unsigned int, Point< dim >, Point< spacedim >, unsigned int > > | send_components |
std::vector< unsigned int > | send_ranks |
std::vector< unsigned int > | send_ptrs |
std::vector< std::tuple< unsigned int, unsigned int, unsigned int > > | recv_components |
std::vector< unsigned int > | recv_ranks |
std::vector< unsigned int > | recv_ptrs |
Data structure returned by GridTools::internal::distributed_compute_point_locations(). It provides information to perform GridTools::distributed_compute_point_locations() and to set up the communication pattern within Utilities::MPI::RemotePointEvaluation::reinit().
Definition at line 744 of file grid_tools.h.
GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::DistributedComputePointLocationsInternal | ( | ) |
Definition at line 3813 of file grid_tools.cc.
void GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::finalize_setup | ( | ) |
Function which sets up send_ranks
, send_ptrs
, recv_ranks
, and recv_ptrs
from send_components
, recv_components
, and n_searched_points
. Internally send_components
and recv_components
are sorted and enumerated.
Definition at line 3820 of file grid_tools.cc.
unsigned int GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::n_searched_points |
Number of searched point locations.
Definition at line 760 of file grid_tools.h.
std::vector<std::tuple<std::pair<int, int>, unsigned int, unsigned int, Point<dim>, Point<spacedim>, unsigned int> > GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::send_components |
Information of each point on sending/evaluation side. The elements of the tuple are as follows: 0) cell level and index, 1) rank of the owning process, 2) local index of the owning process, 3) reference position, 4) real position, 5) permutation index within a send buffer.
Definition at line 774 of file grid_tools.h.
std::vector<unsigned int> GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::send_ranks |
Ranks to send to.
Definition at line 779 of file grid_tools.h.
std::vector<unsigned int> GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::send_ptrs |
Pointers of ranges within a send buffer to be sent to the ranks specified by send_ranks. The size of the send buffer is given by send_ptrs.back().
Definition at line 786 of file grid_tools.h.
std::vector<std::tuple<unsigned int, unsigned int, unsigned int> > GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::recv_components |
Information of each received data value. The elements of the tuple are as follows: 0) rank of sender, 1) local index, 2) enumeration index.
Definition at line 799 of file grid_tools.h.
std::vector<unsigned int> GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::recv_ranks |
Ranks from where data is received.
Definition at line 804 of file grid_tools.h.
std::vector<unsigned int> GridTools::internal::DistributedComputePointLocationsInternal< dim, spacedim >::recv_ptrs |
Pointers of ranges within a receive buffer that are filled by ranks specified by recv_ranks. The size of the receive buffer is given by recv_ptrs.back().
Definition at line 811 of file grid_tools.h.