Mercurial > dive4elements > river
changeset 7284:be0e3b93144c
issue1512: FlowVelocityCalculation: Opened prepareData(), added doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 11 Oct 2013 10:28:07 +0200 |
parents | 8cd48a2a380b |
children | 8c315b6bbc8a |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityCalculation.java |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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();