comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java @ 4005:22abdc45869c

Calculate S(Q) fractions
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 01 Oct 2012 18:32:27 +0200
parents fdc6b1e64d01
children d4e39cc5c10c
comparison
equal deleted inserted replaced
4004:3b79e8afca7e 4005:22abdc45869c
67 public double TOTAL_BL() { 67 public double TOTAL_BL() {
68 return get("TGESCHIEBE"); 68 return get("TGESCHIEBE");
69 } 69 }
70 70
71 public double BL_G() { 71 public double BL_G() {
72 // TODO: Implement me! 72 return get("BL_G");
73 return Double.NaN;
74 } 73 }
75 74
76 public double BL_C() { 75 public double BL_C() {
77 // TODO: Implement me! 76 return get("BL_C");
78 return Double.NaN;
79 } 77 }
80 78
81 public double BL_S() { 79 public double BL_S() {
82 // TODO: Implement me! 80 return get("BL_S");
83 return Double.NaN;
84 } 81 }
85 82
86 public double S_BL_S() { 83 public double S_BL_S() {
87 return TOTAL_BL() * BL_S(); 84 return TOTAL_BL() * BL_S();
88 } 85 }
179 176
180 sieves.add(new Sieve(8d, eightValue)); 177 sieves.add(new Sieve(8d, eightValue));
181 sieves.add(new Sieve(4d, newFourValue)); 178 sieves.add(new Sieve(4d, newFourValue));
182 } 179 }
183 180
184 public SieveArray calculateSieveArray() { 181 protected SieveArray calculateSieveArray() {
185 182
186 SieveArray sa = new SieveArray(); 183 SieveArray sa = new SieveArray();
187 184
188 for (Sieve s: sieves) { 185 for (Sieve s: sieves) {
189 sa.doSieving(s); 186 sa.doSieving(s);

http://dive4elements.wald.intevation.org