| helics 3.6.1

Public Member Functions | Static Public Member Functions | List of all members
helics::mpi::MpiService Class Reference

`#include <MpiService.h>`

## Public Member Functions
| MpiService (const MpiService &)=delete
MpiService & | operator= (const MpiService &)=delete
std::string | addMpiComms (MpiComms *comm)
void | removeMpiComms (MpiComms *comm)
std::string | getAddress (MpiComms *comm)
int | getRank ()
int | getTag (MpiComms *comm)
void | sendMessage (std::pair< int, int > address, std::vector< char > message)
void | sendAndReceiveMessages ()
void | drainRemainingMessages ()

## Static Public Member Functions
static MpiService & | getInstance ()
static void | setMpiCommunicator (MPI_Comm communicator)
static void | setStartServiceThread (bool start)

## Detailed Description

service for using MPI to communicate

## Constructor & Destructor Documentation

## ◆ MpiService()

helics::mpi::MpiService::MpiService | ( | const MpiService & |  | ) |
| delete

deleted copy constructor

## Member Function Documentation

## ◆ operator=()

MpiService& helics::mpi::MpiService::operator= | ( | const MpiService & |  | ) |
| delete

deleted copy assignment

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

- MpiService.h
- MpiService.cpp