mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Some gas handling improvements
Add a time linear gas interpolation strategy. Some minor changes. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5034f76072
commit
84dc8b8962
5 changed files with 38 additions and 25 deletions
4
file.c
4
file.c
|
@ -507,14 +507,14 @@ int parse_txt_file(const char *filename, const char *csv)
|
|||
dive->dc.dctype = CCR;
|
||||
dive->dc.no_o2sensors = 2;
|
||||
|
||||
dive->cylinder[cur_cylinder_index].cylinder_use = oxygen;
|
||||
dive->cylinder[cur_cylinder_index].cylinder_use = OXYGEN;
|
||||
dive->cylinder[cur_cylinder_index].type.size.mliter = 3000;
|
||||
dive->cylinder[cur_cylinder_index].type.workingpressure.mbar = 200000;
|
||||
dive->cylinder[cur_cylinder_index].type.description = strdup("3l Mk6");
|
||||
dive->cylinder[cur_cylinder_index].gasmix.o2.permille = 1000;
|
||||
cur_cylinder_index++;
|
||||
|
||||
dive->cylinder[cur_cylinder_index].cylinder_use = diluent;
|
||||
dive->cylinder[cur_cylinder_index].cylinder_use = DILUENT;
|
||||
dive->cylinder[cur_cylinder_index].type.size.mliter = 3000;
|
||||
dive->cylinder[cur_cylinder_index].type.workingpressure.mbar = 200000;
|
||||
dive->cylinder[cur_cylinder_index].type.description = strdup("3l Mk6");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue