DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
dftfe::dftUtils::Pool Class Reference

#include <dftUtils.h>

Public Member Functions

 Pool (const MPI_Comm &mpi_communicator, const unsigned int n_pools, const int verbosity)
 
MPI_Comm & get_interpool_comm ()
 get the communicator across the processor groups
 
MPI_Comm & get_intrapool_comm ()
 get the communicator associated with processor group
 

Private Attributes

MPI_Comm interpoolcomm
 
MPI_Comm intrapoolcomm
 

Detailed Description

A class to split the given communicator into a number of pools

Constructor & Destructor Documentation

◆ Pool()

dftfe::dftUtils::Pool::Pool ( const MPI_Comm & mpi_communicator,
const unsigned int n_pools,
const int verbosity )

Member Function Documentation

◆ get_interpool_comm()

MPI_Comm & dftfe::dftUtils::Pool::get_interpool_comm ( )

get the communicator across the processor groups

◆ get_intrapool_comm()

MPI_Comm & dftfe::dftUtils::Pool::get_intrapool_comm ( )

get the communicator associated with processor group

Member Data Documentation

◆ interpoolcomm

MPI_Comm dftfe::dftUtils::Pool::interpoolcomm
private

◆ intrapoolcomm

MPI_Comm dftfe::dftUtils::Pool::intrapoolcomm
private

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