floodsim.model.cell.physics
Members list
Type members
Classlikes
Defines the calculation strategy for water absorption in a cell.
Defines the calculation strategy for water absorption in a cell.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DefaultAbsorptionCalculator
Represents the physical properties and behaviors of a cell in the simulation. Provides methods to calculate water height, water speed, and water absorption based on cell characteristics.
Represents the physical properties and behaviors of a cell in the simulation. Provides methods to calculate water height, water speed, and water absorption based on cell characteristics.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Companion object for CellPhysics providing the default implementation.
Companion object for CellPhysics providing the default implementation.
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CellPhysics.type
Default implementation of the absorption calculation strategy. Absorbs water based on the current absorption capacity and reduces the absorption rate over time as more water is absorbed.
Default implementation of the absorption calculation strategy. Absorbs water based on the current absorption capacity and reduces the absorption rate over time as more water is absorbed.
Attributes
- Supertypes
- Self type
Factory for creating DefaultCellPhysics instances with predefined calculators.
Factory for creating DefaultCellPhysics instances with predefined calculators.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DefaultCellPhysics.type
Default implementation of the water height calculation that accounts for layered obstacles.
Default implementation of the water height calculation that accounts for layered obstacles.
Attributes
- Supertypes
- Self type
Default implementation of water speed calculation. Takes into account obstacle coverage, water volume, and absorption rate to determine the speed at which water flows through a cell.
Default implementation of water speed calculation. Takes into account obstacle coverage, water volume, and absorption rate to determine the speed at which water flows through a cell.
Attributes
- Supertypes
- Self type
Defines the calculation strategy for water height in a cell.
Defines the calculation strategy for water height in a cell.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DefaultWaterHeightCalculator
Defines the calculation strategy for water speed in a cell.
Defines the calculation strategy for water speed in a cell.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DefaultWaterSpeedCalculator