Skip to content

Commit

Permalink
Force adjust_ps=true only if CAM is defined and SCREAM is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
tcclevenger committed Mar 20, 2024
1 parent 39c2d73 commit eba2ee0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/homme/src/share/prim_driver_base.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1621,8 +1621,9 @@ subroutine applyCAMforcing_tracers(elem,hvcoord,np1,np1_qdp,dt,adjustment)
adjust_ps=.true. ! preqx requires forcing to stay on reference levels
#endif

#ifdef CAM
adjust_ps=.true. ! For CAM runs, require forcing to stay on reference levels
#if defined(CAM) && !defined(SCREAM)
adjust_ps=.true. ! Special case when CAM is defined, and SCREAM is not defined,
! require forcing to stay on reference levels no matter dt_remap_factor
#endif

dp=elem%state%dp3d(:,:,:,np1)
Expand Down

0 comments on commit eba2ee0

Please sign in to comment.