Skip to content

Commit

Permalink
Reverting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Natarajan committed Dec 11, 2023
1 parent f740568 commit bb7f3a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Microphysics/Kessler/Kessler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ void Kessler::AdvanceKessler() {
dq_clwater_to_rain = std::min(dq_clwater_to_rain, qn_array(i,j,k));
}


if(std::fabs(fz_array(i,j,k+1)) < 1e-14) fz_array(i,j,k+1) = 0.0;
if(std::fabs(fz_array(i,j,k)) < 1e-14) fz_array(i,j,k) = 0.0;
Real dq_sed = 1.0/rho_array(i,j,k)*(fz_array(i,j,k+1) - fz_array(i,j,k))/dz*dtn;
Expand Down

0 comments on commit bb7f3a8

Please sign in to comment.