diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-08-28 23:59:58 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-29 06:49:44 -0700 |
commit | 2832141d2ca00c9ec502f6c4f7ecbb09a2095516 (patch) | |
tree | 999b8435ded4607999907fa4b96fa9071430b4a0 /qt-models/diveplannermodel.h | |
parent | e6545a7b0f262d9185a43054f945aa0bc068ac37 (diff) | |
download | subsurface-2832141d2ca00c9ec502f6c4f7ecbb09a2095516.tar.gz |
Compute variations of plans
Print out partial derivatives of stop times with respect to
variation of depth and duratin of last manual segment.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r-- | qt-models/diveplannermodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h index c3c43e020..ff6b98496 100644 --- a/qt-models/diveplannermodel.h +++ b/qt-models/diveplannermodel.h @@ -107,6 +107,9 @@ private: explicit DivePlannerPointsModel(QObject *parent = 0); void createPlan(bool replanCopy); struct diveplan diveplan; + struct divedatapoint *cloneDiveplan(struct diveplan *plan_copy); + void computeVariations(); + void analyzeVariations(struct decostop *min, struct decostop *mid, struct decostop *max, const char *unit); Mode mode; bool recalc; QVector<divedatapoint> divepoints; |