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

An implementation of BlockDistrib using PairMapping. More...

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

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

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
 

Detailed Description

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

An implementation of BlockDistrib using PairMapping.


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.