Bases: object
The Mountains class is defined by the following equations:
Returns the domain.
Returns the time step value.
Return type: | float |
---|
returns the solver options for the smoothing/extrapolation
returns the solver options for the topograthy update
returns the current topography. :rtype: scalar Data
returns the smoothed/extrapolated velocity :rtype: vector Data
set the topography to H where H defines the vertical displacement. H is defined for the entire domain.
Parameters: | H (scalar) – the topography. If None zero is used. |
---|
set a new velocity. v is define on the entire domain but only the surface values are used.
Parameters: | v (vector) – velocity field. If None zero is used. |
---|
Sets a new W and updates the H function.
Parameters: | dt (positve float which is less or equal than the safe time step size.) – time step forward. If None the save time step size is used. |
---|