MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
sc::sma2::BlockDistrib< N > Class Template Referenceabstract

Provides information about how blocks are distributed onto processes. More...

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

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

Public Member Functions

virtual int block_to_node (const BlockInfo< N > &b) const =0
 Given a block, returns the node on which it resides.
 

Detailed Description

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

Provides information about how blocks are distributed onto processes.

Member Function Documentation

◆ block_to_node()

template<int N>
virtual int sc::sma2::BlockDistrib< N >::block_to_node ( const BlockInfo< N > & b) const
pure virtual

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

Implemented in sc::sma2::CompleteBlockDistrib< N >, and sc::sma2::PairBlockDistrib< N >.

Referenced by sc::sma2::Array< N >::distributed_from_distributed().


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

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