remove unnecessary parentheses from Dt terms
@@ -238,7 +238,7 @@ SnowPackEnergyBalance(double TSurf,
Equation 7.3.12 from H.B.H. for rain falling on melting snowpack */
if (TMean == 0.) {
- *AdvectedEnergy = (CONST_CPFW * CONST_RHOFW * (Tair) * Rain) / (Dt);
+ *AdvectedEnergy = (CONST_CPFW * CONST_RHOFW * (Tair) * Rain) / Dt;
}
else {
*AdvectedEnergy = 0.;
@@ -246,7 +246,7 @@ SnowPackEnergyBalance(double TSurf,
/* Calculate change in cold content */
*DeltaColdContent = CONST_VCPICE_WQ * SweSurfaceLayer *
- (TSurf - OldTSurf) / (Dt);
+ (TSurf - OldTSurf) / Dt;
/* Calculate Ground Heat Flux */
if (SnowDepth > 0.) {
@@ -263,7 +263,7 @@ SnowPackEnergyBalance(double TSurf,
*AdvectedEnergy + *GroundFlux - *DeltaColdContent +
*AdvectedSensibleHeat;
- *RefreezeEnergy = (SurfaceLiquidWater * CONST_LATICE * Density) / (Dt);
+ *RefreezeEnergy = (SurfaceLiquidWater * CONST_LATICE * Density) / Dt;
if (TSurf == 0.0 && RestTerm > -(*RefreezeEnergy)) {
*RefreezeEnergy = -RestTerm; /* available energy input over cold content
