openstb.simulator.environment.invariant
Classes:
| Name | Description |
|---|---|
InvariantEnvironment |
Environment with space- and time-invariant properties. |
InvariantEnvironment
InvariantEnvironment(salinity, sound_speed, temperature)
Bases: Environment
Environment with space- and time-invariant properties.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
salinity
|
float
|
The salinity in parts per thousand. |
required |
sound_speed
|
float
|
The speed of propagation in metres per second. |
required |
temperature
|
float
|
The temperature in degrees Celsius. |
required |
Source code in openstb/simulator/environment/invariant.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |