Skip to content

Commit

Permalink
fixup! [pgm] use row-gatherer from matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Jul 10, 2024
1 parent a352a25 commit 8ec2b02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/multigrid/pgm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,12 @@ array<GlobalIndexType> Pgm<ValueType, IndexType>::communicate_non_local_agg(
auto coll_comm = matrix->row_gatherer_->get_collective_communicator();
auto total_send_size = coll_comm->get_send_size();
auto total_recv_size = coll_comm->get_recv_size();
auto row_gatherer = matrix->row_gatherer_;

array<IndexType> send_agg(exec, total_send_size);
exec->run(pgm::make_gather_index(
send_agg.get_size(), local_agg.get_const_data(),
gather_idxs.get_const_data(), send_agg.get_data()));
row_gatherer->get_const_row_idxs(), send_agg.get_data()));

// temporary index map that contains no remote connections to map
// local indices to global
Expand Down

0 comments on commit 8ec2b02

Please sign in to comment.