Skip to content

Commit

Permalink
master -> main.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkreissl committed Feb 4, 2022
1 parent 93e9ef1 commit c853e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/HybridDecomposition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void HybridDecomposition::resort(bool global,
m_n_square.resort(global, diff);

/* basically do CellStructure::ghost_count() */
ghost_communicator(exchange_ghosts_comm(),GHOSTTRANS_PARTNUM);
ghost_communicator(exchange_ghosts_comm(), GHOSTTRANS_PARTNUM);

/* basically do CellStructure::ghost_update(unsigned data_parts) */
ghost_communicator(exchange_ghosts_comm(),
Expand Down
4 changes: 2 additions & 2 deletions src/core/cells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ static Utils::Vector<std::size_t, 2> hybrid_parts_per_decomposition_local() {
return parts_per_decomposition;
}

REGISTER_CALLBACK_MASTER_RANK(hybrid_parts_per_decomposition_local)
REGISTER_CALLBACK_MAIN_RANK(hybrid_parts_per_decomposition_local)

std::pair<std::size_t, std::size_t> hybrid_parts_per_decomposition() {
auto const parts_per_decomposition = mpi_call(
Communication::Result::master_rank, hybrid_parts_per_decomposition_local);
Communication::Result::main_rank, hybrid_parts_per_decomposition_local);
return std::make_pair(parts_per_decomposition[0], parts_per_decomposition[1]);
}

Expand Down

0 comments on commit c853e63

Please sign in to comment.