BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
23 if (
time_step_ != std::numeric_limits<real_t>::max()) {
31 double absolute_tolerance = 0;
34 absolute_tolerance = 1e-10;
37 absolute_tolerance = 1e-8;
39 if (left_over < 0 && left_over > -absolute_tolerance) {
43 for (
int i = 0; i < n_steps; i++) {
61 if (
time_step_ != std::numeric_limits<real_t>::max()) {
65 auto* op = scheduler->
GetOps(
"continuum")[0];
virtual void Step(real_t dt)=0
real_t time_to_simulate_
Time that the continuum (still) has to integrate.
Scheduler * GetScheduler()
real_t simulated_time_
Passed simulation time for the continuum.
void IntegrateTimeAsynchronously(real_t dt)
real_t GetTimeStep() const
Returns the time step for the continuum.
void SetTimeStep(real_t dt)
real_t simulation_time_step
std::vector< Operation * > GetOps(const std::string &name)
const Param * GetParam() const
Returns the simulation parameters.
static Simulation * GetActive()
This function returns the currently active Simulation simulation.