- Timestamp:
- Feb 19, 2011, 5:36:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r70 r72 30 30 MARS_MODE, & 31 31 MARS_ALB,MARS_TI,MARS_CICE,MARS_EMISS, & 32 MARS_WICE, & 32 33 MARS_TSOIL, & 33 34 #ifdef NEWPHYS … … 109 110 XLAT,XLONG,HT, & 110 111 MARS_ALB,MARS_TI,MARS_EMISS,MARS_CICE, & 112 MARS_WICE, & 111 113 SLPX,SLPY 112 114 ! 3D arrays … … 440 442 !ENDIF 441 443 442 print *, 'check dynamics'443 !!! in some cases, weird values are displayed444 !!! despite the fact that outputs are OK...445 !print *, 'u', MAXVAL(u), MINVAL(u)446 !print *, 'v', MAXVAL(v), MINVAL(v)447 !print *, 'w', MAXVAL(w), MINVAL(w)448 !print *, 't', MAXVAL(t), MINVAL(t, MASK = t > 0)449 print *, 'u', u(10,1,10), u(10,15,10)450 print *, 'v', v(10,1,10), v(10,15,10)451 print *, 'w', w(10,1,10), w(10,15,10)452 print *, 't', t(10,1,10), t(10,15,10)444 !print *, 'check dynamics' 445 ! !!! in some cases, weird values are displayed 446 ! !!! despite the fact that outputs are OK... 447 ! !print *, 'u', MAXVAL(u), MINVAL(u) 448 ! !print *, 'v', MAXVAL(v), MINVAL(v) 449 ! !print *, 'w', MAXVAL(w), MINVAL(w) 450 ! !print *, 't', MAXVAL(t), MINVAL(t, MASK = t > 0) 451 !print *, 'u', u(10,1,10), u(10,15,10) 452 !print *, 'v', v(10,1,10), v(10,15,10) 453 !print *, 'w', w(10,1,10), w(10,15,10) 454 !print *, 't', t(10,1,10), t(10,15,10) 453 455 454 456 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 786 788 787 789 !-------------------! 790 ! Tracer at surface ! 791 !-------------------! 792 #ifdef NEWPHYS 793 !!! a faire !!! 794 PRINT *, 'WARNING WARNING no tracer at surface' 795 qsurf_val(:)=0. 796 #else 797 SELECT CASE (MARS_MODE) 798 CASE(0) !! NO TRACERS (mars=0) 799 qsurf_val(:)=0. 800 CASE(1) !! WATER CYCLE (mars=1) 801 qsurf_val(2)=MARS_WICE(i,j) !! attention... H2O ice is tracer nqmx in qsurf in LMD physics 802 qsurf_val(1)=0. 803 CASE(2) !! DUST CYCLE (mars=2) 804 qsurf_val(:)=0. 805 END SELECT 806 #endif 807 808 !-------------------! 788 809 ! Slope inclination ! 789 810 !-------------------! … … 832 853 PRINT *,'v_prof ',v_prof 833 854 PRINT *,'tsoil ',tsoil_val 855 PRINT *,'qsurf ',qsurf_val 834 856 #ifdef NEWPHYS 835 857 PRINT *,'isoil ',isoil_val … … 844 866 !-------------------------! 845 867 !-------------------------! 846 q2_val(:)=0 !PBL wind variance 847 qsurf_val(:)=0 !Tracer on surface 868 q2_val(:)=0. !PBL wind variance 848 869 849 870 !-----------------! … … 1167 1188 !!PRINT *, 'min',MINVAL(RUBLTEN, MASK=RUBLTEN/=0.),& 1168 1189 !! ' at',MINLOC(RUBLTEN, MASK=RUBLTEN/=0.) 1169 PRINT *, RUBLTEN(10,1,10), RUBLTEN(10,15,10)1190 !PRINT *, RUBLTEN(10,1,10), RUBLTEN(10,15,10) 1170 1191 PRINT *, 'v non-zero tendencies' 1171 1192 !!PRINT *, 'max',MAXVAL(RVBLTEN, MASK=RVBLTEN/=0.),& … … 1173 1194 !!PRINT *, 'min',MINVAL(RVBLTEN, MASK=RVBLTEN/=0.),& 1174 1195 !! ' at',MINLOC(RVBLTEN, MASK=RVBLTEN/=0.) 1175 PRINT *, RVBLTEN(10,1,10), RVBLTEN(10,15,10)1196 !PRINT *, RVBLTEN(10,1,10), RVBLTEN(10,15,10) 1176 1197 !!! STOP IF CRASH 1177 1198 !IF (MAXVAL(RUBLTEN, MASK=RUBLTEN/=0.) == 0.) STOP
Note: See TracChangeset
for help on using the changeset viewer.