[PATCH 3 of 9] issue1512: FlowVelocityCalculation: Opened prepareData(), added doc
Wald Commits
scm-commit at wald.intevation.org
Fri Oct 11 12:05:15 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1381480087 -7200
# Node ID be0e3b93144c84bb8b85037fca0b0e6416ae4801
# Parent 8cd48a2a380b3db5945bfef738dafc30f196872e
issue1512: FlowVelocityCalculation: Opened prepareData(), added doc.
diff -r 8cd48a2a380b -r be0e3b93144c artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityCalculation.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityCalculation.java Fri Oct 11 10:26:18 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityCalculation.java Fri Oct 11 10:28:07 2013 +0200
@@ -115,7 +115,7 @@
}
- protected void prepareData(
+ public static void prepareData(
FlowVelocityData data,
FlowVelocityModel model,
double kmLo,
@@ -148,8 +148,12 @@
}
+ /**
+ * From the given models and range restrictions from access,
+ * create and return a calculationresult with flowvelocityDate.
+ */
protected CalculationResult buildCalculationResult(
- FlowVelocityAccess access,
+ FlowVelocityAccess access,
List<FlowVelocityModel> models
) {
double kmLo = access.getLowerKM();
More information about the Dive4elements-commits
mailing list