parallel_sim_helpers.hpp File Reference

Implements helper primitives for parallel simulations. More...

#include <mpi.h>
#include "parallel_sim.hpp"
Include dependency graph for parallel_sim_helpers.hpp:

Go to the source code of this file.

Namespaces

 ForSyDe
 The namespace for ForSyDe.
 
 ForSyDe::SY
 The namespace for synchronous MoC.
 

Functions

template<class T0 , template< class > class I0If>
sender< T0 > * ForSyDe::SY::make_sender (const std::string &pName, int destination, int tag, I0If< T0 > &inp1S)
 Helper function to construct a sender process. More...
 
template<class T0 , template< class > class OIf>
receiver< T0 > * ForSyDe::SY::make_receiver (const std::string &pName, int source, int tag, OIf< T0 > &outS)
 Helper function to construct a sender process. More...
 

Detailed Description

Implements helper primitives for parallel simulations.

This file includes helper functions which facilliate construction of parallel sub-simulations.