SPH
|
#include "run/IRun.h"
#include "io/LogWriter.h"
#include "io/Logger.h"
#include "io/Output.h"
#include "physics/Integrals.h"
#include "quantities/IMaterial.h"
#include "run/Trigger.h"
#include "sph/Diagnostics.h"
#include "sph/boundary/Boundary.h"
#include "system/Factory.h"
#include "system/Statistics.h"
#include "system/Timer.h"
#include "thread/Pool.h"
#include "timestepping/ISolver.h"
#include "timestepping/TimeStepping.h"
Go to the source code of this file.
Classes | |
struct | EndingCondition |
class | DiagnosticsTrigger |
class | NullRunCallbacks |
class | IOutputTime |
class | LinearOutputTime |
class | LogarithmicOutputTime |
class | CustomOutputTime |
class | SimpleRun |
Functions | |
AutoPtr< IOutputTime > | getOutputTimes (const RunSettings &settings) |
Outcome | doRun (Storage &storage, const RunSettings &settings) |
Runs a simulation using provided storage as initial conditions. More... | |
Outcome doRun | ( | Storage & | storage, |
const RunSettings & | settings | ||
) |
Runs a simulation using provided storage as initial conditions.
This function is a simple alternative to implementing the IRun interface. By providing the initial conditions and settings that specify the solver, timestepping, end time, etc., functions run the simulation and updates the Storage object with computed values of quantities.
storage | Input/output storage containing initial conditions |
settings | Parameters of the simulation |
AutoPtr<IOutputTime> getOutputTimes | ( | const RunSettings & | settings | ) |