|
| ManualBlockPartitioner (const std::array< int, NumSpaceDim > &ranks_per_dim) |
| Constructor.
|
|
std::array< int, NumSpaceDim > | ranksPerDimension (MPI_Comm comm, const std::array< int, NumSpaceDim > &) const override |
| Get the MPI ranks per dimension.
|
|
void | ownedCellInfo (MPI_Comm cart_comm, const std::array< int, num_space_dim > &global_cells_per_dim, std::array< int, num_space_dim > &owned_num_cell, std::array< int, num_space_dim > &global_cell_offset) const override |
| Get the owned number of cells of the current MPI rank.
|
|
std::array< int, num_space_dim > | ownedCellsPerDimension (MPI_Comm cart_comm, const std::array< int, num_space_dim > &global_cells_per_dim) const |
| Get the owned number of cells of the current MPI rank.
|
|
virtual std::array< int, num_space_dim > | ranksPerDimension (MPI_Comm comm, const std::array< int, num_space_dim > &global_cells_per_dim) const =0 |
| Get the number of MPI ranks in each dimension of the grid.
|
|
template<std::size_t NumSpaceDim>
class Cabana::Grid::ManualBlockPartitioner< NumSpaceDim >
Manual block partitioner.
- Template Parameters
-
NumSpaceDim | Spatial dimension. Assign MPI blocks from a fixed user input. |