Abstract interface for communicators. More...
#include <interfaces.hpp>
Inheritance diagram for pfasst::ICommunicator:
Collaboration diagram for pfasst::ICommunicator:Public Member Functions | |
| virtual | ~ICommunicator () |
| virtual int | size ()=0 |
| virtual int | rank ()=0 |
Public Attributes | |
| shared_ptr< IStatus > | status |
Abstract interface for communicators.
The interface ensures a communicator provides the notion of the total number of processors (i.e. size()) and and the ID of the current processor (i.e. rank()) as well as the current status of the algorithm.
Definition at line 70 of file interfaces.hpp.
|
virtual |
Definition at line 44 of file interfaces_impl.hpp.
|
pure virtual |
Implemented in pfasst::mpi::MPICommunicator.
Referenced by pfasst::encap::EncapSweeper< time >::broadcast(), pfasst::examples::boris::BorisSweeper< scalar, time >::broadcast(), pfasst::IStatus::keep_iterating(), pfasst::IStatus::previous_is_iterating(), and pfasst::mpi::MPIStatus::set_converged().
Here is the caller graph for this function:
|
pure virtual |
Implemented in pfasst::mpi::MPICommunicator.
Referenced by pfasst::encap::EncapSweeper< time >::broadcast(), pfasst::examples::boris::BorisSweeper< scalar, time >::broadcast(), and pfasst::mpi::MPIStatus::set_comm().
Here is the caller graph for this function:| shared_ptr<IStatus> pfasst::ICommunicator::status |
Definition at line 77 of file interfaces.hpp.
Referenced by pfasst::mpi::MPICommunicator::set_comm().