mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Support different salinity in planner
Depth is often mentioned in a length unit, but what we care about is pressure. When diving in fresh water the pressure is lower than the same depth in salt water. This adds support for using different salinities in planning. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1617d437d4
commit
a06befc007
5 changed files with 86 additions and 29 deletions
|
@ -70,6 +70,7 @@ slots:
|
|||
void setGFLow(const int ghflow);
|
||||
void triggerGFLow();
|
||||
void setSurfacePressure(int pressure);
|
||||
void setSalinity(int salinity);
|
||||
int getSurfacePressure();
|
||||
void setBottomSac(double sac);
|
||||
void setDecoSac(double sac);
|
||||
|
@ -146,6 +147,7 @@ slots:
|
|||
void settingsChanged();
|
||||
void atmPressureChanged(const int pressure);
|
||||
void heightChanged(const int height);
|
||||
void salinityChanged(const double salinity);
|
||||
void printDecoPlan();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue