Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityCalculation.java @ 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 | a56fe3bc6700 |
children | e4606eae8ea5 |
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();