Changeset 3234
- Timestamp:
- Feb 23, 2024, 3:30:17 PM (9 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3231 r3234 4523 4523 Fixing a bug in 1D: atm_wat_profile should evolve freely when considering 4524 4524 relaxation, and should not be set to qsat in cold conditions. 4525 4526 == 23/02/2024 == EM 4527 Minor fix in topmons_setup: handle case when mount is "resolved" for high 4528 resolution runs. -
trunk/LMDZ.MARS/libf/phymars/topmons_mod.F90
r2953 r3234 1056 1056 alpha_hmons(ig)= 0.5*(hmons(ig)-hmin)/(hmax-hmin) 1057 1057 ! Sanity check 1058 if (alpha_hmons(ig).le.0) then 1058 if (alpha_hmons(ig).lt.0) then 1059 write(*,*) "topmons_setup: ig=",ig," alpha_hmons(ig)=",alpha_hmons(ig) 1060 write(*,*) "topmons_setup: hmin=",hmin," hmax=",hmax 1059 1061 call abort_physic("topmons_setup","ERROR: alpha_hmons cannot be <0 "//& 1060 1062 "if the mesh contains a mountain. Please check your "//& 1061 1063 "formula or your start files.",1) 1064 endif 1065 if (alpha_hmons(ig).eq.0) then 1066 write(*,*) "topmons_setup: warning! For ig=",ig, & 1067 " alpha_mons(ig)=0; ", & 1068 " i.e. mount resolved at this resolution" 1069 contains_mons(ig)=.false. 1062 1070 endif 1063 1071 else … … 1080 1088 hsummit(:)=14000. 1081 1089 ENDIF ! (ngrid.gt.1) 1082 1090 1083 1091 end subroutine topmons_setup 1084 1092 !********************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.