BioCMAMC-ST
sync.hpp
1
#ifndef __SYNC_NODES_HPP__
2
#define __SYNC_NODES_HPP__
3
4
#include <common/execinfo.hpp>
5
6
namespace
Simulation
7
{
8
class
SimulationUnit
;
9
}
10
11
#ifndef NO_MPI
12
# include <mpi_w/wrap_mpi.hpp>
13
#else
14
using
MPI_Request = int;
15
#endif
16
29
void
sync_step(
const
ExecInfo
& exec,
Simulation::SimulationUnit
& simulation);
30
43
void
sync_prepare_next(
const
ExecInfo
& exec,
44
Simulation::SimulationUnit
& simulation,
45
MPI_Request* request);
46
58
void
last_sync(
const
ExecInfo
& exec,
Simulation::SimulationUnit
& simulation);
59
60
#endif
//__SYNC_NODES_HPP__
Simulation::SimulationUnit
Definition
simulation.hpp:55
Simulation
Namespace that contains classes and structures related to simulation handling.
Definition
host_specific.hpp:14
ExecInfo
Definition
execinfo.hpp:12
apps
core
includes
sync.hpp
Generated by
1.14.0