comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/Tkh.java @ 8940:82998242ba84

Preparing for additional outputs of SINFO-Tkh
author gernotbelger
date Tue, 06 Mar 2018 18:51:18 +0100
parents d9dbf0b74bc2
children
comparison
equal deleted inserted replaced
8939:2970368ae1e3 8940:82998242ba84
24 24
25 private final double wst; 25 private final double wst;
26 26
27 private final double meanBedHeight; 27 private final double meanBedHeight;
28 28
29 private final double flowDepth;
30
31 private final double flowDepthTkh;
32
29 private final double discharge; 33 private final double discharge;
30 34
31 private final SoilKind kind; 35 private final SoilKind kind;
32 36
33 private final double tkh; 37 private final double tkh;
34 38
35 private final double tkhUp; 39 private final double tkhUp;
36 40
37 private final double tkhDown; 41 private final double tkhDown;
38 42
39 public Tkh(final double km, final double wst, final double meanBedHeight, final double discharge) { 43 private final double velocity;
40 this(km, wst, meanBedHeight, discharge, null, Double.NaN, Double.NaN, Double.NaN); 44
45 private final double d50;
46
47 private final double tau;
48
49 public Tkh(final double km, final double wst, final double meanBedHeight, final double flowDepth, final double discharge) {
50 this(km, wst, meanBedHeight, flowDepth, discharge, null);
41 } 51 }
42 52
43 public Tkh(final double km, final double wst, final double meanBedHeight, final double discharge, final SoilKind kind, final double tkh, final double tkhUp, 53 public Tkh(final double km, final double wst, final double meanBedHeight, final double flowDepth, final double discharge, final SoilKind kind) {
44 final double tkhDown) { 54 this(km, wst, meanBedHeight, flowDepth, Double.NaN, discharge, kind, Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN);
55 }
56
57 public Tkh(final double km, final double wst, final double meanBedHeight, final double flowDepth, final double flowDepthTkh, final double discharge,
58 final SoilKind kind, final double tkh, final double tkhUp, final double tkhDown, final double velocity, final double d50, final double tau) {
45 this.km = km; 59 this.km = km;
46 this.wst = wst; 60 this.wst = wst;
47 this.meanBedHeight = meanBedHeight; 61 this.meanBedHeight = meanBedHeight;
62 this.flowDepth = flowDepth;
63 this.flowDepthTkh = flowDepthTkh;
48 this.discharge = discharge; 64 this.discharge = discharge;
49 this.kind = kind; 65 this.kind = kind;
50 this.tkh = tkh; 66 this.tkh = tkh;
51 this.tkhUp = tkhUp; 67 this.tkhUp = tkhUp;
52 this.tkhDown = tkhDown; 68 this.tkhDown = tkhDown;
69 this.velocity = velocity;
70 this.d50 = d50;
71 this.tau = tau;
53 } 72 }
54 73
55 public double getStation() { 74 public double getStation() {
56 return this.km; 75 return this.km;
57 } 76 }
81 } 100 }
82 101
83 public double getMeanBedHeight() { 102 public double getMeanBedHeight() {
84 return this.meanBedHeight; 103 return this.meanBedHeight;
85 } 104 }
105
106 public double getFlowDepth() {
107 return this.flowDepth;
108 }
109
110 public double getFlowDepthTkh() {
111 return this.flowDepthTkh;
112 }
113
114 public double getVelocity() {
115 return this.velocity;
116 }
117
118 public double getD50() {
119 return this.d50;
120 }
121
122 public double getTau() {
123 return this.tau;
124 }
86 } 125 }

http://dive4elements.wald.intevation.org