Changeset 4225 for dynamico_lmdz/simple_physics/phyparam/physics
- Timestamp:
- Jan 10, 2020, 3:07:23 PM (6 years ago)
- Location:
- dynamico_lmdz/simple_physics/phyparam/physics
- Files:
-
- 2 edited
-
logging.F90 (modified) (2 diffs)
-
turbulence.F90 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/phyparam/physics/logging.F90
r4224 r4225 24 24 END INTERFACE 25 25 26 ! This module provides a default implementation of flush_plugin but the top-level driver is welcome to override it. 26 #ifdef XCODEML 27 ! XCodeML cannot parse procedure pointers 28 29 #define default_flush_plugin flush_plugin 30 #define default_log_gridpoint log_gridpoint_plugin 31 32 #else 33 34 ! This module provides a default implementation of flush_plugin but the top-level driver is welcome to override it. 27 35 PROCEDURE(plugin), POINTER :: flush_plugin => default_flush_plugin 28 36 29 ! The top-level driver MUST provide an implementation for log_gridpoint_plugin 37 ! The top-level driver MUST provide an implementation for log_gridpoint_plugin 30 38 PROCEDURE(plugin_log_gridpoint), POINTER :: log_gridpoint_plugin => NULL() 39 40 #endif 31 41 32 42 INTEGER, PARAMETER :: linesize=10000, logging_bufsize=100 … … 69 79 END SUBROUTINE log_gridpoint 70 80 81 SUBROUTINE default_log_gridpoint(index, line) 82 INTEGER, INTENT(IN) :: index ! index of gridpoint 83 CHARACTER(*), INTENT(OUT) :: line 84 line='' 85 END SUBROUTINE default_log_gridpoint 86 71 87 END MODULE logging -
dynamico_lmdz/simple_physics/phyparam/physics/turbulence.F90
r4210 r4225 248 248 IF(lwrite) THEN 249 249 ig=ngrid/2+1 250 WRITELOG(*,*) 'Pression (mbar) ,altitude (km),u,v,theta, rho dz'250 WRITELOG(*,*) 'Pression (mbar) altitude (km),u,v,theta, rho dz' 251 251 DO ilay=1,nlay 252 252 WRITELOG(*,*) .01*pplay(ig,ilay),.001*pzlay(ig,ilay), & 253 253 pu(ig,ilay),pv(ig,ilay),ph(ig,ilay),za(ig,ilay) 254 254 ENDDO 255 WRITELOG(*,*) 'Pression (mbar) ,altitude (km),zb'255 WRITELOG(*,*) 'Pression (mbar) altitude (km),zb' 256 256 DO ilev=1,nlay 257 257 WRITELOG(*,*) .01*pplev(ig,ilev),.001*pzlev(ig,ilev), & … … 291 291 WRITELOG(*,*) 'coefficients Cd pour v et h' 292 292 WRITELOG(*,*) zcdv(ngrid/2+1),zcdh(ngrid/2+1) 293 WRITELOG(*,*) ,'coefficients K pour v et h'293 WRITELOG(*,*) 'coefficients K pour v et h' 294 294 DO ilev=1,nlay 295 295 WRITELOG(*,*) zkv(ngrid/2+1,ilev),zkh(ngrid/2+1,ilev) … … 429 429 IF(lwrite) THEN 430 430 WRITELOG(*,*) 431 WRITELOG(*,*) ,'Diagnostique de la diffusion verticale'432 WRITELOG(*,*) ,'h avant et apres diffusion verticale'433 WRITELOG(*,*) ,ptsrf(ngrid/2+1),ztsrf2(ngrid/2+1)431 WRITELOG(*,*) 'Diagnostique de la diffusion verticale' 432 WRITELOG(*,*) 'h avant et apres diffusion verticale' 433 WRITELOG(*,*) ptsrf(ngrid/2+1),ztsrf2(ngrid/2+1) 434 434 DO ilev=1,nlay 435 435 WRITELOG(*,*) ph(ngrid/2+1,ilev),zh(ngrid/2+1,ilev)
Note: See TracChangeset
for help on using the changeset viewer.
