autopdex.SimState.run

SimState.run(dt0: float, time_span, num_time_steps: int, *, quasistatic: bool = False)[source]

Run the prepared simulation over a time span and return the updated SimState.

Parameters:
  • dt0 (float) – Initial time step size.

  • time_span (float) – Time interval to compute from the current time.

  • num_time_steps (int) – Maximum number of time steps to perform.

  • quasistatic (bool) – If True, reset the time to the start time after the run.

Returns:

A new SimState object containing the final state, history, and step statistics.

Return type:

SimState