Skip to content

Commit

Permalink
Clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Aug 27, 2024
1 parent c4e6ed2 commit 6a8727a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/ConvectionCoefficients.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6298,8 +6298,8 @@ Real64 CalcClearRoof(EnergyPlusData &state,
Real64 Rex = WindAtZ * AirDensity * x / v;

Real64 Rf = RoughnessMultiplier[(int)RoughnessIndex];
if (Rex > 0.1) { // avoid zero and crazy small denominators
Real64 tmp = std::log1p(GrLn / pow_2(Rex)); // std::log(1.0 + GrLn / pow_2(Rex));
if (Rex > 0.1) { // avoid zero and crazy small denominators
Real64 tmp = std::log1p(GrLn / pow_2(Rex)); // std::log(1.0 + GrLn / pow_2(Rex));
eta = tmp / (1.0 + tmp);
} else {
eta = 1.0; // forced convection gone because no wind
Expand Down

0 comments on commit 6a8727a

Please sign in to comment.