comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculation.java @ 8895:b6f7961e4cc5

Reactivatd random stuff
author gernotbelger
date Mon, 19 Feb 2018 18:03:52 +0100
parents a66f2a7c4f84
children d32c22fc686c
comparison
equal deleted inserted replaced
8894:a66f2a7c4f84 8895:b6f7961e4cc5
201 final double discharge = Double.NaN; 201 final double discharge = Double.NaN;
202 202
203 // FIXME: calculate tkh 203 // FIXME: calculate tkh
204 204
205 // REMARK: bissl spielerei zum testen damit die sohlart nicht zu schnell wechselt 205 // REMARK: bissl spielerei zum testen damit die sohlart nicht zu schnell wechselt
206 final boolean changeKind = false; // Math.random() > 0.95; 206 final boolean changeKind = Math.random() > 0.95;
207 SoilKind kind; 207 SoilKind kind;
208 if (changeKind) { 208 if (changeKind) {
209 switch (lastKind) { 209 switch (lastKind) {
210 case starr: 210 case starr:
211 kind = SoilKind.mobil; 211 kind = SoilKind.mobil;

http://dive4elements.wald.intevation.org