[PATCH] Trace added
Wald Commits
scm-commit at wald.intevation.org
Fri May 25 14:27:43 CEST 2018
# HG changeset patch
# User mschaefer
# Date 1527251240 -7200
# Node ID 50cfc90ac5b04b4bb3f78ca9d06afd13f729f74d
# Parent e07a2b4606c11729236e03655ae360b8a8eb548e
Trace added
diff -r e07a2b4606c1 -r 50cfc90ac5b0 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java Fri May 25 11:49:31 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java Fri May 25 14:27:20 2018 +0200
@@ -39,6 +39,7 @@
* @author Matthias Schäfer
*/
final class FlowVelocityModelKmValueFinder {
+
/***** FIELDS *****/
/**
@@ -284,6 +285,9 @@
this.values.get(this.values.size() - 1).addValues((double) row[1], ((double) row[2]) / 10, (double) row[3]);
else
this.values.get(this.values.size() - 1).addValues((double) row[1], (double) row[2], (double) row[3]);
+ final int j = this.values.size() - 1;
+ log.trace(String.format("addKms %d km %.3f q %.0f v %.2f tau %.2f", this.values.size() - 1, this.values.get(j).getKm(), (double) row[1],
+ (double) row[2], (double) row[3]));
}
return rows.size();
}
More information about the Dive4Elements-commits
mailing list