floodsim.model.cell.physics.WaterHeightCalculator
Defines the calculation strategy for water height in a cell.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Calculates the height of water in a cell based on cell dimensions, water volume, and obstacles.
Calculates the height of water in a cell based on cell dimensions, water volume, and obstacles.
Value parameters
-
dimensions
-
the dimensions of the cell
-
obstacles
-
the obstacles present in the cell
-
waterVolume
-
the volume of water in the cell
Attributes
-
Returns
-
the calculated height of the water