diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java @ 1098:1ea7eb72aaa6

Minor cosmetics. flys-artifacts/trunk@2601 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 29 Aug 2011 08:58:03 +0000
parents c09c9e05ecfa
children e5f7f25a511c
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java	Fri Aug 26 15:32:58 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java	Mon Aug 29 08:58:03 2011 +0000
@@ -367,6 +367,11 @@
         return interpolateW(km, qs, ws, null);
     }
 
+
+    /**
+     * @param ws (output parameter), gets returned.
+     * @return output parameter ws.
+     */
     public double [] interpolateW(
         double      km,
         double []   qs,
@@ -493,6 +498,17 @@
         return !Double.isNaN(out[0]);
     }
 
+
+    /**
+     * Look up interpolation of a Q at given positions.
+     *
+     * @param q           the non-interpolated Q value.
+     * @param referenceKm the reference km (e.g. gauge position).
+     * @param kms         positions for which to interpolate.
+     * @param ws          (output) resulting interpolated ws.
+     * @param qs          (output) resulting interpolated qs.
+     * @param errors      calculation object to store errors.
+     */
     public QPosition interpolate(
         double      q,
         double      referenceKm,

http://dive4elements.wald.intevation.org