Skip to content

Commit

Permalink
fix plotting of qsat (#1673)
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren authored Jul 9, 2024
1 parent 2e1e040 commit 60c1245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/IO/Plotfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ ERF::WritePlotFile (int which, Vector<std::string> plot_var_names)
{
Real qv = S_arr(i,j,k,RhoQ1_comp) / S_arr(i,j,k,Rho_comp);
Real T = getTgivenRandRTh(S_arr(i,j,k,Rho_comp), S_arr(i,j,k,RhoTheta_comp), qv);
Real pressure = getPgivenRTh(S_arr(i,j,k,RhoTheta_comp), qv);
Real pressure = getPgivenRTh(S_arr(i,j,k,RhoTheta_comp), qv) * Real(0.01);
erf_qsatw(T, pressure, derdat(i,j,k,mf_comp));
});
}
Expand Down

0 comments on commit 60c1245

Please sign in to comment.