The No-Decompression Limit (NDL) for a given depth \(d\) is the
maximum duration of a No-Decompression dive to depth \(d\).
A No-Decompression dive is one which can (theoretically) be aborted
at any time without requiring staged decompression.
Equivalently, in a No-Decompression Dive, the Nitrogen saturation
in each of the diver's tissue
compartments never exceeds the maximum Nitrogen saturation
tolerated at sea level
(known as the surfacing M-value for that compartment).
This algorithm computes the NDL for a dive to the given depth,
or for several possible alternative dives to the given depths,
based on the specified decompression
model. The NDL is determined by the halftimes and the surfacing
M-values for all the compartments in the model.
If the breathing gas g
contains Helium, then model
must include compartments for Helium. Similar calculations apply in
this case.
The argument prevstate
represents the tissue saturation of the
diver at the start of the dive. It should be a data frame, with one row for
each compartment of the decompression model, and one column for each
inert gas (N2
and/or He
). Such data frames
are usually generated by saturated.state
or
haldane
.