SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Public Attributes | List of all members
sirius::mpi::block_data_descriptor Struct Reference

Public Member Functions

 block_data_descriptor (int num_ranks__)
 
void calc_offsets ()
 
int size () const
 

Public Attributes

int num_ranks {-1}
 
std::vector< int > counts
 
std::vector< int > offsets
 

Detailed Description

Definition at line 176 of file communicator.hpp.

Constructor & Destructor Documentation

◆ block_data_descriptor() [1/2]

sirius::mpi::block_data_descriptor::block_data_descriptor ( )
inline

Definition at line 182 of file communicator.hpp.

◆ block_data_descriptor() [2/2]

sirius::mpi::block_data_descriptor::block_data_descriptor ( int  num_ranks__)
inline

Definition at line 186 of file communicator.hpp.

Member Function Documentation

◆ calc_offsets()

void sirius::mpi::block_data_descriptor::calc_offsets ( )
inline

Definition at line 193 of file communicator.hpp.

◆ size()

int sirius::mpi::block_data_descriptor::size ( ) const
inline

Definition at line 200 of file communicator.hpp.

Member Data Documentation

◆ num_ranks

int sirius::mpi::block_data_descriptor::num_ranks {-1}

Definition at line 178 of file communicator.hpp.

◆ counts

std::vector<int> sirius::mpi::block_data_descriptor::counts

Definition at line 179 of file communicator.hpp.

◆ offsets

std::vector<int> sirius::mpi::block_data_descriptor::offsets

Definition at line 180 of file communicator.hpp.


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