JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MPIUtil::ProcDivision Struct Reference

Helper for dividing MPI processes into groups. More...

#include <MPIUtil.h>

Public Member Functions

 ProcDivision (const class MPIUtil *mpiUtil=0, size_t nGroups=1, size_t iGroup=0)
 
 operator bool () const
 check if this is an actual division
 

Public Attributes

const MPIUtilmpiUtil
 parent MPI communictaor that is being divided
 
const int nGroups
 number of groups in this division; if nGroups=0, then grouping is based on custom value of iGroup
 
const int iGroup
 which group the current process belongs to
 

Detailed Description

Helper for dividing MPI processes into groups.


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