milupHPC documentation
include
simulation_time_handler.h
Go to the documentation of this file.
1
8
#ifndef MILUPHPC_SIMULATION_TIME_HANDLER_H
9
#define MILUPHPC_SIMULATION_TIME_HANDLER_H
10
11
#include "
simulation_time.cuh
"
12
#include "
cuda_utils/cuda_runtime.h
"
13
#include <boost/mpi.hpp>
14
15
class
SimulationTimeHandler
{
16
17
public
:
18
19
real
*
h_dt
;
20
real
*
h_startTime
;
21
real
*
h_subEndTime
;
22
real
*
h_endTime
;
23
real
*
h_currentTime
;
24
real
*
h_dt_max
;
25
26
SimulationTime
*
h_simulationTime
;
27
28
real
*
d_dt
;
29
real
*
d_startTime
;
30
real
*
d_subEndTime
;
31
real
*
d_endTime
;
32
real
*
d_currentTime
;
33
real
*
d_dt_max
;
34
35
SimulationTime
*
d_simulationTime
;
36
37
SimulationTimeHandler
(
real
dt,
real
endTime,
real
dt_max);
38
~SimulationTimeHandler
();
39
40
void
copy
(
To::Target
target);
41
void
globalizeTimeStep
(
Execution::Location
exLoc);
42
43
};
44
45
46
#endif
//MILUPHPC_SIMULATION_TIME_HANDLER_H
SimulationTimeHandler
Definition:
simulation_time_handler.h:15
SimulationTimeHandler::h_simulationTime
SimulationTime * h_simulationTime
Definition:
simulation_time_handler.h:26
SimulationTimeHandler::d_subEndTime
real * d_subEndTime
Definition:
simulation_time_handler.h:30
SimulationTimeHandler::h_dt_max
real * h_dt_max
Definition:
simulation_time_handler.h:24
SimulationTimeHandler::globalizeTimeStep
void globalizeTimeStep(Execution::Location exLoc)
Definition:
simulation_time_handler.cpp:67
SimulationTimeHandler::copy
void copy(To::Target target)
Definition:
simulation_time_handler.cpp:56
SimulationTimeHandler::~SimulationTimeHandler
~SimulationTimeHandler()
Definition:
simulation_time_handler.cpp:36
SimulationTimeHandler::d_endTime
real * d_endTime
Definition:
simulation_time_handler.h:31
SimulationTimeHandler::d_dt_max
real * d_dt_max
Definition:
simulation_time_handler.h:33
SimulationTimeHandler::SimulationTimeHandler
SimulationTimeHandler(real dt, real endTime, real dt_max)
Definition:
simulation_time_handler.cpp:3
SimulationTimeHandler::d_startTime
real * d_startTime
Definition:
simulation_time_handler.h:29
SimulationTimeHandler::d_currentTime
real * d_currentTime
Definition:
simulation_time_handler.h:32
SimulationTimeHandler::d_dt
real * d_dt
Definition:
simulation_time_handler.h:28
SimulationTimeHandler::h_subEndTime
real * h_subEndTime
Definition:
simulation_time_handler.h:21
SimulationTimeHandler::h_dt
real * h_dt
Definition:
simulation_time_handler.h:19
SimulationTimeHandler::h_endTime
real * h_endTime
Definition:
simulation_time_handler.h:22
SimulationTimeHandler::h_currentTime
real * h_currentTime
Definition:
simulation_time_handler.h:23
SimulationTimeHandler::d_simulationTime
SimulationTime * d_simulationTime
Definition:
simulation_time_handler.h:35
SimulationTimeHandler::h_startTime
real * h_startTime
Definition:
simulation_time_handler.h:20
SimulationTime
Definition:
simulation_time.cuh:14
cuda_runtime.h
CUDA runtime functionalities and wrappers.
real
double real
Definition:
parameter.h:15
simulation_time.cuh
Simulation time related variables and functions instantiable on device and host.
Execution::Location
Location
Definition:
parameter.h:192
To::Target
Target
Definition:
parameter.h:164
milupHPC - include/simulation_time_handler.h Source File
Generated on Wed Aug 31 2022 12:16:52 by
Doxygen
1.9.3