File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,23 @@ void ParentLayer::updateProperty() {
27
27
vhcsolid = 2700000 ;
28
28
};
29
29
30
- // get frozen layer specific heat capcity
30
+ // Note: Though the following functions return the same value,
31
+ // they require different names to work inside TemperatureUpdator.cpp
32
+ // where these will be called by name and not by layer type.
33
+ // Hence they must match with the functions used in Layer.cpp
34
+ // and SoilLayer.cpp.
35
+
36
+ // get frozen layer volumetric heat capacity
31
37
double ParentLayer::getFrzVolHeatCapa () {
32
38
return vhcsolid;
33
39
};
34
40
41
+ // get unfrozen layer volumetric heat capacity
35
42
double ParentLayer::getUnfVolHeatCapa () {
36
43
return vhcsolid;
37
44
};
38
45
46
+ // get mixed (partially frozen) layer volumetric heat capacity
39
47
double ParentLayer::getMixVolHeatCapa () {
40
48
return vhcsolid;
41
49
};
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ double SnowLayer::getThermCond() {
102
102
return tc;
103
103
}
104
104
105
+ // Note: Though the following functions return the same value,
106
+ // they require different names to work inside TemperatureUpdator.cpp
107
+ // where these will be called by name and not by layer type.
108
+ // Hence they must match with the functions used in Layer.cpp
109
+ // and SoilLayer.cpp.
110
+
105
111
double SnowLayer::getFrzVolHeatCapa () {
106
112
return (dz != 0 ) ? (SHCICE * ice/dz) : 0 ;
107
113
};
You can’t perform that action at this time.
0 commit comments