# sfepy.solvers.ts module

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

  Time stepper class.

  advance()
  static from_conf(conf)
  get_state()
  iter_from(step)
  normalize_time()
  restore_step_time()
  set_from_data(t0, t1, dt=None, n_step=None, step=None)
  set_from_ts(ts, step=None)
  set_state(step=0, **kwargs)
  set_step(step=0, nt=0.0)
  set_substep_time(sub_dt)

class sfepy.solvers.ts.VariableTimeStepper(t0, t1, dt=None, n_step=None, step=None, is_quasistatic=False)

  Time stepper class with a variable time step.

  advance()
  static from_conf(conf)
  get_default_time_step()
  get_state()
  iter_from(step)
  iter_from_current()

    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)
  set_from_ts(ts, step=None)
  set_n_digit_from_min_dt(dt)
  set_state(step=0, dt=None, times=None, **kwargs)
  set_step(step=0, nt=0.0)
  set_time_step(dt, update_time=False)

sfepy.solvers.ts.get_print_info(n_step)