Peano
Loading...
Searching...
No Matches
Simulation.h File Reference
#include "peano4/RunMultipleSteps.h"
#include "tarch/multicore/orchestration/Strategy.h"
#include <functional>
#include <set>
Include dependency graph for Simulation.h:

Go to the source code of this file.

Namespaces

namespace  exahype2
 This file is part of the ExaHyPE 2 project within Peano 4.
 

Functions

bool exahype2::configureRuntime (int timeout, int numberOfThreads, const std::set< int > &gpus, tarch::multicore::orchestration::Strategy *orchestration)
 Configure the runtime of an ExaHyPE 2 simulation.
 
void exahype2::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 exahype2::isMeshAdaptationRequired ()
 Does the mesh have to be adapted or the load to be rebalanced?
 
void exahype2::shutdownRuntime (std::function< void()> shutdownDatatypes)
 Shut down the runtime of an ExaHyPE 2 simulation.