[PATCH 5 of 5] Doc
Wald Commits
scm-commit at wald.intevation.org
Thu Nov 7 09:47:15 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383813878 -3600
# Node ID aeeabb580b124472cc6fb905a99b3262c493d2cb
# Parent 7302d2af815f7e094efbee06030a3c62af1bc7ad
Doc.
diff -r 7302d2af815f -r aeeabb580b12 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java Thu Nov 07 09:43:44 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java Thu Nov 07 09:44:38 2013 +0100
@@ -35,7 +35,8 @@
protected double kmUp;
protected double kmLow;
protected int[] period;
- /** Years of chosen epochs. */
+ /** Years of chosen epochs.
+ * epoch[0][0] is the start year of first entered epoch, e[0][1] the end-year. */
protected int[][] epoch;
protected String unit;
@@ -213,7 +214,10 @@
}
}
- /** Calculate result for an epoch. */
+ /**
+ * Calculate result for the ith given epoch.
+ * @param i index of epoch (if multiple given).
+ */
private SedimentLoadResult calculateEpoch(int i) {
List<SedimentLoad> epochLoads = new ArrayList<SedimentLoad>();
for (int j = epoch[i][0]; j < epoch[i][1]; j++) {
More information about the Dive4elements-commits
mailing list