Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java @ 3076:5642a83420f2
FLYS artifacts: Removed trailing whitespace.
flys-artifacts/trunk@4670 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:30:07 +0000 |
parents | ee653971fa84 |
children | d7b0f52d6d04 |
comparison
equal
deleted
inserted
replaced
3075:db9e2bb34707 | 3076:5642a83420f2 |
---|---|
263 outliers.sort(); | 263 outliers.sort(); |
264 referenced.sort(); | 264 referenced.sort(); |
265 analysisPeriods.sort(); | 265 analysisPeriods.sort(); |
266 | 266 |
267 FixResult fr = new FixResult( | 267 FixResult fr = new FixResult( |
268 results, | 268 results, |
269 referenced, outliers, | 269 referenced, outliers, |
270 analysisPeriods); | 270 analysisPeriods); |
271 | 271 |
272 return new CalculationResult(fr, this); | 272 return new CalculationResult(fr, this); |
273 } | 273 } |
315 | 315 |
316 ColumnCache cc = new ColumnCache(); | 316 ColumnCache cc = new ColumnCache(); |
317 | 317 |
318 double [] wq = new double[2]; | 318 double [] wq = new double[2]; |
319 | 319 |
320 int [] parameterIndices = | 320 int [] parameterIndices = |
321 parameters.columnIndices(function.getParameterNames()); | 321 parameters.columnIndices(function.getParameterNames()); |
322 | 322 |
323 double [] parameterValues = new double[parameterIndices.length]; | 323 double [] parameterValues = new double[parameterIndices.length]; |
324 | 324 |
325 DateAverager dateAverager = new DateAverager(); | 325 DateAverager dateAverager = new DateAverager(); |
448 } | 448 } |
449 | 449 |
450 return results; | 450 return results; |
451 } | 451 } |
452 | 452 |
453 /** Helper class to bundle the meta information of a column | 453 /** Helper class to bundle the meta information of a column |
454 * and the real data. | 454 * and the real data. |
455 */ | 455 */ |
456 protected static class Column { | 456 protected static class Column { |
457 | 457 |
458 protected Fixing.Column meta; | 458 protected Fixing.Column meta; |
473 public String getDescription() { | 473 public String getDescription() { |
474 return meta.getDescription(); | 474 return meta.getDescription(); |
475 } | 475 } |
476 | 476 |
477 public boolean getQW( | 477 public boolean getQW( |
478 double km, | 478 double km, |
479 double [] qs, | 479 double [] qs, |
480 double [] ws, | 480 double [] ws, |
481 int index | 481 int index |
482 ) { | 482 ) { |
483 qs[index] = data.getQ(km); | 483 qs[index] = data.getQ(km); |
484 return data.getW(km, ws, index); | 484 return data.getW(km, ws, index); |