# HG changeset patch # User Tom Gottfried # Date 1386344677 -3600 # Node ID 03dc5cc22e266755ed97acdf40225894ca172a0a # Parent f1abd257f9336726e34ddd5a7fa3efcd7125c88b Update coefficients in porosity formula. diff -r f1abd257f933 -r 03dc5cc22e26 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java Fri Dec 06 16:34:58 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java Fri Dec 06 16:44:37 2013 +0100 @@ -233,7 +233,7 @@ for (QualityMeasurement qm : list) { double deviation = calculateDeviation(qm); double p = calculateP(qm); - double porosity = 0.353 - 0.068 * deviation + 0.146 * p; + double porosity = 0.362 - 0.088 * deviation + 0.219 * p; results[i] = porosity; i++; }