Changeset 156 for trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
- Timestamp:
- Jun 13, 2011, 5:36:43 PM (13 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/solve_em.F
r94 r156 881 881 & ,TAVE=grid%em_tave, TSTD=grid%em_tstd & 882 882 & ,HISTORY_INTERVAL=model_config_rec%history_interval(1) & 883 #ifndef NOPHYS 883 884 !------------------! 884 885 ! OUTPUT VARIABLES ! 885 886 !------------------! 886 887 #include "module_lmd_driver_output4.inc" 888 #endif 887 889 & ,SLPX=grid%slpx,SLPY=grid%slpy) 888 890 ENDIF -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r155 r156 48 48 TAVE, TSTD, & 49 49 HISTORY_INTERVAL, & 50 #ifndef NOPHYS 50 51 #include "module_lmd_driver_output1.inc" 52 #endif 51 53 SLPX,SLPY) 52 54 ! NB: module_lmd_driver_output1.inc : output arguments generated from Registry … … 71 73 !================================================================== 72 74 75 #ifndef NOPHYS 73 76 !! the only common needed is the one defining the physical grid 74 77 !! -- path is hardcoded, but the structure is not subject to change … … 86 89 include "../mars_lmd/libf/phymars/wrf_output_2d.h" 87 90 include "../mars_lmd/libf/phymars/wrf_output_3d.h" 91 #endif 88 92 89 93 !================================================================== … … 142 146 ! 2D : TSK, PSFC 143 147 ! 3D : RTHBLTEN,RUBLTEN,RVBLTEN 148 #ifndef NOPHYS 144 149 #include "module_lmd_driver_output2.inc" 145 150 REAL, DIMENSION(:,:), ALLOCATABLE :: output_tab2d 146 151 REAL, DIMENSION(:,:,:), ALLOCATABLE :: output_tab3d 152 #else 153 REAL, DIMENSION( ims:ime, jms:jme ), INTENT(INOUT) :: PSFC,TSK 154 REAL, DIMENSION( ims:ime, kms:kme, jms:jme ), INTENT(OUT) :: RTHBLTEN,RUBLTEN,RVBLTEN 155 #endif 147 156 !------------------------------------------- 148 157 ! OUTPUT VARIABLES … … 337 346 IF (elaps .eq. 0.) THEN 338 347 firstcall=.true. !! for continuity with GCM, physics are always called at the first WRF timestep 339 !firstcall=.false.! just in case you'd want to get rid of the physics348 !firstcall=.false. !! just in case you'd want to get rid of the physics 340 349 test=0 341 350 #ifdef SPECIAL_NEST_SAVE … … 565 574 ALLOCATE(wpsi(ngrid)) 566 575 ALLOCATE(wtsurf(ngrid)) 576 #ifndef NOPHYS 567 577 ALLOCATE(output_tab2d(ngrid,n2d)) 568 578 ALLOCATE(output_tab3d(ngrid,nlayer,n3d)) 579 #endif 569 580 ALLOCATE(wco2ice(ngrid)) 570 581 ALLOCATE(wemis(ngrid)) … … 1042 1053 !!***********************!! 1043 1054 IF (firstcall .EQV. .true.) THEN 1055 #ifndef NOPHYS 1044 1056 print *, '** Mars ** LMD INITIALIZATION' 1045 1057 #include "../call_meso_inifis.inc" 1046 1058 !!! le # est important pour newphys 1059 #endif 1047 1060 DEALLOCATE(aire_vec) 1048 1061 DEALLOCATE(lat_vec) … … 1078 1091 ! tracerdyn call tracer in dynamical part of GCM ? ! 1079 1092 !-------------------------------------------------------------------------------! 1080 print *, '** Mars ** CALL TO LMD PHYSICS'1081 1093 pdpsrf(:)=0. 1082 1094 pdu(:,:)=0. … … 1084 1096 pdt(:,:)=0. 1085 1097 pdq(:,:,:)=0. 1098 #ifndef NOPHYS 1099 print *, '** Mars ** CALL TO LMD PHYSICS' 1086 1100 #include "../call_meso_physiq.inc" 1087 1101 !!! le # est important pour newphys 1102 #endif 1088 1103 DEALLOCATE(pplev) 1089 1104 DEALLOCATE(pplay) … … 1110 1125 ! PHYSIQ OUTPUT IN THE WRF FILE ! 1111 1126 !-------------------------------! 1127 #ifndef NOPHYS 1112 1128 DO j = jps,jpe 1113 1129 DO i = ips,ipe … … 1131 1147 DEALLOCATE(output_tab2d) 1132 1148 DEALLOCATE(output_tab3d) 1133 1149 #endif 1134 1150 1135 1151 !!!!!! PATCH SPECIAL STORM
Note: See TracChangeset
for help on using the changeset viewer.