Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java @ 9573:b9c87bbff6a4
mean bed height -> mean bed LEVEL
author | gernotbelger |
---|---|
date | Tue, 06 Nov 2018 10:56:22 +0100 |
parents | 55c187a0a31e |
children |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java Mon Nov 05 18:30:24 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java Tue Nov 06 10:56:22 2018 +0100 @@ -177,7 +177,7 @@ final double station = stationDbl; - /* find the right calculator (i.e. bed height) depending on station, there should only be one maximal */ + /* find the right calculator (i.e. bed level) depending on station, there should only be one maximal */ final TkhCalculator tkhCalculator = findCalculator(calculatorsByRanges, station); if (tkhCalculator == null) continue; @@ -198,7 +198,7 @@ private TkhCalculator findCalculator(final Map<NumberRange, TkhCalculator> calculators, final double station) { - // REMAKR: linear search at this point, put we expect the number of bed heights to be very small (1-2 items) + // REMAKR: linear search at this point, put we expect the number of bed levels to be very small (1-2 items) final Set<Entry<NumberRange, TkhCalculator>> x = calculators.entrySet(); for (final Entry<NumberRange, TkhCalculator> entry : x) { final NumberRange range = entry.getKey();