|
dune-common 2.9.1
|
Loading...
Searching...
No Matches
mpihelper.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
261 DUNE_THROW(InvalidStateException, "MPIHelper not initialized! Call MPIHelper::instance(argc, argv) with arguments first.");
Definition of macros controlling symbol visibility at the ABI level.
Implements an utility class that provides collective communication methods for sequential programs.
Implements an utility class that provides MPI's collective communication methods.
Standard Dune debug streams.
Default exception if a function was called while the object is not in a valid state for that function...
Definition exceptions.hh:281
Definition communication.hh:46
Collective communication interface and sequential default implementation.
Definition communication.hh:100
static DUNE_EXPORT MPICommunicator getCommunicator()
get the default communicator
Definition mpihelper.hh:93
int size() const
return rank of process, i.e. one
Definition mpihelper.hh:163
static Communication< MPICommunicator > getCollectiveCommunication()
Definition mpihelper.hh:118
static MPICommunicator getLocalCommunicator()
get a local communicator
Definition mpihelper.hh:105
No_Comm MPICommunicator
The type of the mpi communicator.
Definition mpihelper.hh:85
static DUNE_EXPORT FakeMPIHelper & instance(int argc, char **argv)
Get the singleton instance of the helper.
Definition mpihelper.hh:144
static DUNE_EXPORT FakeMPIHelper & instance()
Definition mpihelper.hh:150
static Communication< MPICommunicator > getCommunication()
Definition mpihelper.hh:124
static constexpr bool isFake
Are we fake (i.e. pretend to have MPI support but are compiled without.)
Definition mpihelper.hh:80
int rank() const
return rank of process, i.e. zero
Definition mpihelper.hh:159
static constexpr bool isFake
Are we fake (i. e. pretend to have MPI support but are compiled without.
Definition mpihelper.hh:185
static DUNE_EXPORT MPIHelper & instance(int &argc, char **&argv)
Get the singleton instance of the helper.
Definition mpihelper.hh:246
static Communication< MPICommunicator > getCommunication()
Definition mpihelper.hh:227
MPI_Comm MPICommunicator
The type of the mpi communicator.
Definition mpihelper.hh:190
static MPICommunicator getCommunicator()
get the default communicator
Definition mpihelper.hh:198
static MPICommunicator getLocalCommunicator()
get a local communicator
Definition mpihelper.hh:209
static Communication< MPICommunicator > getCollectiveCommunication()
Definition mpihelper.hh:221
T endl(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8