Mercurial > dive4elements > river
changeset 6951:f5f60b3d9180
Doc fix.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 30 Aug 2013 12:31:33 +0200 |
parents | 40da4a6e2cfb |
children | e6a8255d0764 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java Fri Aug 30 12:30:51 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java Fri Aug 30 12:31:33 2013 +0200 @@ -531,8 +531,7 @@ /** * Transform values in load. * Background is to transform values measured in - * t/a to m^3/a or vice versa using the specific - * measured relationships. + * t/a to m^3/a using the specific measured densities. * * @param load The load of which values should be transformed. * @param year The year at which to look at density (e.g. 2003). @@ -542,6 +541,7 @@ private SedimentLoad calculateUnit(SedimentLoad load, int year) { SedimentDensity density = SedimentDensityFactory.getSedimentDensity(river, kmLow, kmUp, year); + for (double km: load.getKms()) { double dens = density.getDensity(km, year); SedimentLoadFraction fraction = load.getFraction(km);