tidy3d.Simulation.set_time

Simulation.set_time(run_time=None, courant=None)

Change the value of the run time of the simulation and the time step determined by the courant stability factor.

Parameters
  • run_time (None or float) – (second) If a float, the new run_time of the simulation.

  • courant (None or float, optional) – If a float, the new courant factor to be used.