Peano
Loading...
Searching...
No Matches
Simulation.h
Go to the documentation of this file.
1// This file is part of the ExaHyPE2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
8
9#include <functional>
10#include <set>
11
12
13namespace exahype2 {
40 int timeout,
41 int numberOfThreads,
42 const std::set<int>& gpus,
44 );
45
110 peano4::RunMultipleSteps& setupSimulation,
112 peano4::RunMultipleSteps& timeStep,
113 peano4::RunMultipleSteps& meshAdaptation,
115 std::function<bool()> wantsToPlot,
116 std::function<double()> getMinTimeStamp,
117 std::function<double()> getMaxTimeStamp,
118 std::function<double()> getMaxTimeStepSize,
119 double minTerminalTime,
120 double maxTerminalTime
121 );
122
142
158 void shutdownRuntime(std::function<void()> shutdownDatatypes);
159} // namespace exahype2
Interface for anything that wants to report on a RunMultipleSteps instance (or a whole collection the...
Represents a series of steps which can be called by a runner.
Interface for any task orchestration.
Definition Strategy.h:305
This file is part of the ExaHyPE 2 project within Peano 4.
Definition __init__.py:1
bool isMeshAdaptationRequired()
Does the mesh have to be adapted or the load to be rebalanced?
void runSimulation(peano4::RunMultipleSteps &setupSimulation, peano4::RunMultipleSteps &plot, peano4::RunMultipleSteps &timeStep, peano4::RunMultipleSteps &meshAdaptation, peano4::RunMultipleSteps::Report &report, std::function< bool()> wantsToPlot, std::function< double()> getMinTimeStamp, std::function< double()> getMaxTimeStamp, std::function< double()> getMaxTimeStepSize, double minTerminalTime, double maxTerminalTime)
Run an ExaHyPE 2 simulation.
bool configureRuntime(int timeout, int numberOfThreads, const std::set< int > &gpus, tarch::multicore::orchestration::Strategy *orchestration)
Configure the runtime of an ExaHyPE 2 simulation.
void shutdownRuntime(std::function< void()> shutdownDatatypes)
Shut down the runtime of an ExaHyPE 2 simulation.
-lift-drop-statistics