Changeset 3234 for trunk/LMDZ.MARS/libf
- Timestamp:
- Feb 23, 2024, 3:30:17 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.