MPQC
3.0.0-alpha
|
An implementation of BlockDistrib using PairMapping. More...
#include <chemistry/qc/lmp2/parallel.h>
Public Member Functions | |
PairBlockDistrib (const sc::Ref< sc::MessageGrp > &grp, int i0, int i1, const std::set< std::pair< int, int > > &indexset, bool randomize=false) | |
PairBlockDistrib (const sc::Ref< sc::MessageGrp > &grp, int i0, int i1, const std::map< int, std::set< int > > &indexmap) | |
PairBlockDistrib (int i0, int i1, const sc::Ref< PairMapping > &mapping) | |
int | block_to_node (const BlockInfo< N > &b) const |
Given a block, returns the node on which it resides. | |
void | local_pairs (std::set< std::pair< int, int > > &pairs) const |
An implementation of BlockDistrib using PairMapping.