MPQC
3.0.0-alpha
|
Distribute blocks round-robin among processes using one or more index values. More...
#include <chemistry/qc/lmp2/parallel.h>
Public Member Functions | |
CompleteBlockDistrib (const Array< N > &a, const sc::Ref< sc::MessageGrp > &grp, int i0) | |
CompleteBlockDistrib (const Array< N > &a, const sc::Ref< sc::MessageGrp > &grp, int i0, int i1) | |
CompleteBlockDistrib (const Array< N > &a, const sc::Ref< sc::MessageGrp > &grp, int i0, int i1, int i2) | |
int | block_to_node (const BlockInfo< N > &b) const |
Given a block, returns the node on which it resides. | |
int | nlocalindex (int node=-1) |
int | localindex (int i, int node=-1) |
Distribute blocks round-robin among processes using one or more index values.