DIY 3.0 data-parallel out-of-core C++ library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Typedefs Groups Pages
Public Member Functions | List of all members
diy::Assigner Class Referenceabstract
Inheritance diagram for diy::Assigner:

## Public Member Functions
| Assigner (int size__, int nblocks__)
| Manages how blocks are assigned to processes. More...
int | size () const
| returns the total number of process ranks
int | nblocks () const
| returns the total number of global blocks
void | set_nblocks (int nblocks__)
| sets the total number of global blocks
virtual void | local_gids (int rank, std::vector< int > &gids) const =0
| gets the local gids for a given process rank
virtual int | rank (int gid) const =0
| returns the process rank of the block with global id gid (need not be local)

## Constructor & Destructor Documentation

diy::Assigner::Assigner | ( | int | size__,
|  | int | nblocks__
| ) |  |
| inline

Manages how blocks are assigned to processes.

Parameters

  size__ | total number of processes
  nblocks__ | total (global) number of blocks

The documentation for this class was generated from the following file:

- include/diy/assigner.hpp