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