Skip to content

Commit

Permalink
Update fv_thermodynamics.F90 to support mixed precision mode (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMouallem authored Jan 13, 2025
1 parent 162fdc4 commit 690ec84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions model/fv_thermodynamics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
! Revise the OpenMP code to avoid crash
module fv_thermodynamics_mod

#ifdef OVERLOAD_R4
use constantsR4_mod, only: grav, cp_air, cp_vapor, rvgas, rdgas
#else
use constants_mod, only: grav, cp_air, cp_vapor, rvgas, rdgas
#endif
use gfdl_mp_mod, only: c_liq, c_ice
use field_manager_mod, only: MODEL_ATMOS
use tracer_manager_mod, only: get_tracer_name
Expand Down

0 comments on commit 690ec84

Please sign in to comment.