anuga.Domain.evolve

Domain.evolve(yieldstep=None, outputstep=None, finaltime=None, duration=None, skip_initial_step=False)[source]

Evolve method from Domain class.

Parameters:
  • yieldstep (float) – yield every yieldstep time period

  • outputstep (float) – Output to sww file every outputstep time period. outputstep should be an integer multiple of yieldstep.

  • finaltime (float) – evolve until finaltime (can be a float (secs) or a datetime object)

  • duration (float) – evolve for a time of length duration (secs)

  • skip_inital_step (boolean) – Can be used to restart a simulation (not often used).

If outputstep is None, the output to sww file happens every yieldstep. If yieldstep is None then simply evolve to finaltime or for a duration.