comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java @ 8954:183f42641ab6

Fixed: flowd depth calculation without transport bodies heights did not work any more
author gernotbelger
date Mon, 19 Mar 2018 14:13:37 +0100
parents a4f1ac81f26d
children 45f1ad66560e
comparison
equal deleted inserted replaced
8953:c40db8e8dcae 8954:183f42641ab6
144 final int size = wkms.size(); 144 final int size = wkms.size();
145 for (int i = 0; i < size; i++) { 145 for (int i = 0; i < size; i++) {
146 146
147 final double station = wkms.getKm(i); 147 final double station = wkms.getKm(i);
148 148
149 /* find the right calculator (i.e. bedheigh) depending on station, there should only be one maximal */ 149 /* find the right calculator (i.e. bed height) depending on station, there should only be one maximal */
150 final TkhCalculator tkhCalculator = findCalculator(calculatorsByRanges, station); 150 final TkhCalculator tkhCalculator = findCalculator(calculatorsByRanges, station);
151 if (tkhCalculator == null) 151 if (tkhCalculator == null)
152 continue; 152 continue;
153 153
154 final SInfoResultRow row = SInfoResultRow.create(); 154 final SInfoResultRow row = SInfoResultRow.create();

http://dive4elements.wald.intevation.org