|
template<typename index > |
std::ostream & | heffte::operator<< (std::ostream &os, box3d< index > const box) |
| Debugging info, writes out the box to a stream.
|
|
int | heffte::get_area (std::array< int, 2 > const &dims) |
| Get the surface area of a processor grid. More...
|
|
std::array< int, 2 > | heffte::make_procgrid (int const num_procs) |
| Factorize the MPI ranks into a 2D grid. More...
|
|
template<typename index > |
std::array< int, 3 > | heffte::make_procgrid2d (box3d< index > const world, int direction_1d, std::array< int, 2 > const candidate_grid) |
| Factorize the MPI ranks into a 2D grid with specific constraints. More...
|
|
template<class T , class U = T> |
T | heffte::c11_exchange (T &obj, U &&new_value) |
| Replace with the C++ 2014 std::exchange later.
|
|
template<typename some_class > |
int | heffte::get_last_active (std::array< std::unique_ptr< some_class >, 4 > const &shaper) |
| Return the index of the last active (non-null) unique_ptr. More...
|
|
template<typename some_class > |
int | heffte::count_active (std::array< std::unique_ptr< some_class >, 4 > const &shaper) |
| Return the number of active (non-null) unique_ptr.
|
|
template<typename some_class > |
size_t | heffte::get_max_box_size (std::array< some_class, 3 > const &executors) |
| Returns the max of the box_size() for each of the executors.
|
|
template<typename some_class > |
size_t | heffte::get_max_box_size_r2c (std::array< some_class, 3 > const &executors) |
| Returns the max of the box_size() for each of the executors.
|
|
template<typename some_class > |
size_t | heffte::get_max_work_size (std::array< some_class, 3 > const &executors) |
| Returns the max of the workspace_size() for each of the executors.
|
|
template<typename some_class_r2c , typename some_class > |
size_t | heffte::get_max_work_size (some_class_r2c const &executors_r2c, std::array< some_class, 2 > const &executors) |
| Returns the max of the workspace_size() for each of the executors.
|
|
Simple helper templates.