Skip to content

dive-math / planning / turnPressures

Function: turnPressures() ​

turnPressures(__namedParameters): TurnPressures

Defined in: planning/teams.ts:74

Thirds and halves for a two-diver team, as usable pressure per cylinder: the bar each diver may breathe from their own cylinder before turning (not the gauge reading to turn at). The cylinder with the smaller gas volume sets a shared volume: thirds = limitingVolume / 3 / cap, halves = (limitingVolume − limitingCap · reserveBar) / 2 / cap, clamped at 0 when the reserve exceeds the limiting fill.

Parameters ​

__namedParameters ​

TurnPressureInput

Returns ​

TurnPressures

Example ​

ts
turnPressures({ capA: 11.1, capB: 12.9, fillABar: 200, fillBBar: 200, reserveBar: 50 }).thirdsB // 57.36

Reference only — verify every fill and dive plan independently.