MPQC  3.0.0-alpha
mpqc::MPI::Task Struct Reference

Distributed task. More...

#include <mpqc/mpi/task.hpp>

Inheritance diagram for mpqc::MPI::Task:

Public Types

typedef int T
 

Public Member Functions

 Task (const MPI::Comm &comm)
 Construct new task. More...
 
 ~Task ()
 Destructor. More...
 
void reset (const T &value=T(0))
 Reset task.
 
operator++ (int)
 Get next task.
 
mpqc::range next (range r, int block=1)
 Get next task range.
 
template<typename Iterator >
Iterator next (Iterator begin, Iterator end)
 

Detailed Description

Distributed task.

Constructor & Destructor Documentation

◆ Task()

mpqc::MPI::Task::Task ( const MPI::Comm comm)
inlineexplicit

Construct new task.

Warning
NOT threadsafe

References reset().

◆ ~Task()

mpqc::MPI::Task::~Task ( )
inline

Destructor.

Warning
NOT threadsafe

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

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.