sfepy.solvers.ts module

class sfepy.solvers.ts.TimeStepper(t0, t1, dt=None, n_step=None, step=None, is_quasistatic=False)[source]

Time stepper class.

advance()[source]
static from_conf(conf)[source]
get_state()[source]
iter_from(step)[source]
normalize_time()[source]
restore_step_time()[source]
set_from_data(t0, t1, dt=None, n_step=None, step=None)[source]
set_from_ts(ts, step=None)[source]
set_state(step=0, **kwargs)[source]
set_step(step=0, nt=0.0)[source]
set_substep_time(sub_dt)[source]
class sfepy.solvers.ts.VariableTimeStepper(t0, t1, dt=None, n_step=None, step=None, is_quasistatic=False)[source]

Time stepper class with a variable time step.

advance()[source]
static from_conf(conf)[source]
get_default_time_step()[source]
get_state()[source]
iter_from(step)[source]
iter_from_current()[source]

ts.step, ts.time is consistent with step, time returned here ts.nt is normalized time in [0, 1].

set_from_data(t0, t1, dt=None, n_step=None, step=None)[source]
set_from_ts(ts, step=None)[source]
set_n_digit_from_min_dt(dt)[source]
set_state(step=0, dt=None, times=None, **kwargs)[source]
set_step(step=0, nt=0.0)[source]
set_time_step(dt, update_time=False)[source]
sfepy.solvers.ts.get_print_info(n_step)[source]