Mercurial > public > ostc4
diff Discovery/Src/buehlmann.c @ 1050:88b6ab90c55a GasConsumption
Added separate LLC view for surface GF:
A new LLC view has been added. In addition the surface GF is now clipped to a value of 9.99 => 999% in the visualization
| author | Ideenmodellierer |
|---|---|
| date | Wed, 19 Nov 2025 21:34:18 +0100 |
| parents | d91345e9c009 |
| children |
line wrap: on
line diff
--- a/Discovery/Src/buehlmann.c Tue Nov 18 18:53:21 2025 +0100 +++ b/Discovery/Src/buehlmann.c Wed Nov 19 21:34:18 2025 +0100 @@ -348,6 +348,10 @@ if (M_surf > pres_surface) { gf_surf = (tissue_inertgas_saturation - pres_surface) / (M_surf - pres_surface); + if(M_surf > 9.99) + { + M_surf = 9.99; /* only intended to be used with 3 digit visualizations */ + } if(gf_surf > pDecoInfo->gf_surf) { pDecoInfo->gf_surf = gf_surf;
