const IndexSet &indices_to_look_up,
const MPI_Comm comm,
std::vector<unsigned int> &owning_ranks,
- const bool track_index_requests = false);
+ const bool track_index_requesters = false);
/**
* The index space which describes the locally owned space.
* indices, and what those indices were. If true, it will be added
* into `requesters` and can be queried by `get_requesters()`.
*/
- const bool track_index_requests;
+ const bool track_index_requesters;
/**
* The result of the index owner computation: To each index
const IndexSet &indices_to_look_up,
const MPI_Comm comm,
std::vector<unsigned int> &owning_ranks,
- const bool track_index_requests)
+ const bool track_index_requesters)
: owned_indices(owned_indices)
, indices_to_look_up(indices_to_look_up)
, comm(comm)
, my_rank(this_mpi_process(comm))
, n_procs(n_mpi_processes(comm))
- , track_index_requests(track_index_requests)
+ , track_index_requesters(track_index_requesters)
, owning_ranks(owning_ranks)
{
dict.reinit(owned_indices, comm);
dict.actually_owning_ranks[i - dict.local_range.first];
request_buffer.push_back(actual_owner);
- if (track_index_requests)
+ if (track_index_requesters)
append_index_origin(i - dict.local_range.first,
other_rank,
actual_owner,
{
owning_ranks[index] =
dict.actually_owning_ranks[i - dict.local_range.first];
- if (track_index_requests)
+ if (track_index_requesters)
append_index_origin(i - dict.local_range.first,
my_rank,
owning_ranks[index],
std::map<unsigned int, IndexSet>
ConsensusAlgorithmsPayload::get_requesters()
{
- Assert(track_index_requests,
+ Assert(track_index_requesters,
ExcMessage("Must enable index range tracking in "
"constructor of ConsensusAlgorithmProcess"));