Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java @ 4826:a3dc382bc1ca
BedHeightAccess, FlowVelocityAccess, SedimentLoadAccess: Inherit from RangeAccess.
Update callers.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 21 Jan 2013 17:26:08 +0100 |
parents | c0d6391bec6f |
children |
comparison
equal
deleted
inserted
replaced
4825:f8217f1fef2e | 4826:a3dc382bc1ca |
---|---|
60 ) { | 60 ) { |
61 logger.debug("FlowVelocityState.computeAdvance"); | 61 logger.debug("FlowVelocityState.computeAdvance"); |
62 | 62 |
63 List<Facet> newFacets = new ArrayList<Facet>(); | 63 List<Facet> newFacets = new ArrayList<Facet>(); |
64 | 64 |
65 FlowVelocityAccess access = new FlowVelocityAccess(artifact); | 65 FlowVelocityAccess access = new FlowVelocityAccess(artifact, context); |
66 | 66 |
67 CalculationResult res = old instanceof CalculationResult | 67 CalculationResult res = old instanceof CalculationResult |
68 ? (CalculationResult) old | 68 ? (CalculationResult) old |
69 : new FlowVelocityCalculation().calculate(access); | 69 : new FlowVelocityCalculation().calculate(access); |
70 | 70 |