Mercurial > dive4elements > river
changeset 4819:243f1eb02b95
Use QKMs in calculation of the 'Umhuellende'.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 21 Jan 2013 12:47:00 +0100 |
parents | 4d457c68b1d3 |
children | 26c849cf54e7 |
files | flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/InfoldingColumns.java |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/InfoldingColumns.java Mon Jan 21 12:23:56 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/InfoldingColumns.java Mon Jan 21 12:47:00 2013 +0100 @@ -31,18 +31,18 @@ return infoldingColumns; } - public void markInfoldingColumns(WQKms [] wqkms) { - for (WQKms wqk: wqkms) { - markInfoldingColumns(wqk); + public void markInfoldingColumns(QKms [] qkms) { + for (QKms qk: qkms) { + markInfoldingColumns(qk); } } - public void markInfoldingColumns(WQKms wqkms) { - int N = wqkms.size(); + public void markInfoldingColumns(QKms qkms) { + int N = qkms.size(); int C = qFinders.length-1; for (int i = 0; i < N; ++i) { - double km = wqkms.getKm(i); - double q = wqkms.getQ(i); + double km = qkms.getKm(i); + double q = qkms.getQ(i); double above = Double.MAX_VALUE; double below = -Double.MAX_VALUE; int aboveIdx = -1;