MPQC  3.0.0-alpha
sc::sma2::CompleteBlockDistrib< N > Class Template Reference

Distribute blocks round-robin among processes using one or more index values. More...

#include <chemistry/qc/lmp2/parallel.h>

Inheritance diagram for sc::sma2::CompleteBlockDistrib< N >:
sc::sma2::BlockDistrib< N >

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)
 

Detailed Description

template<int N>
class sc::sma2::CompleteBlockDistrib< N >

Distribute blocks round-robin among processes using one or more index values.


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

Generated at Sun Jan 26 2020 23:24:15 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.