MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
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
 
- Public Member Functions inherited from sc::sma2::BlockDistrib< N >

Detailed Description

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

An implementation of BlockDistrib using PairMapping.

Member Function Documentation

◆ block_to_node()

template<int N>
int sc::sma2::PairBlockDistrib< N >::block_to_node ( const BlockInfo< N > & b) const
inlinevirtual

Given a block, returns the node on which it resides.

Implements sc::sma2::BlockDistrib< N >.


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

Generated at Wed Sep 25 2024 02:45:37 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.