You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #715 from dogukanteber/clean-up
Simplify `ParentLayer.cpp` and `SnowLayer.cpp`
We noticed some repetition in function used for calculating heat capacity and thermal conductivity in `ParentLayer.cpp` and `SnowLayer.cpp` which was unclear at initial inspection. We realized this is due to the way these functions are called indiscriminately of layer type (soil, snow, rock/parent) within `TemperatureUpdator.cpp` and any changes to this structure would require serious refactoring of the code. As this approach does not require significantly more computation, we have left this as it is, and instead cleaned up some of the code and added comments to make this clearer to future users.
result.pdf showed no change between current version of master as expected.
0 commit comments