Changeset 1615 for LMDZ5/trunk/libf/dyn3d
- Timestamp:
- Feb 10, 2012, 4:42:26 PM (13 years ago)
- Location:
- LMDZ5/trunk/libf/dyn3d
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/calfis.F
r1407 r1615 434 434 c 435 435 if (planet_type=="earth") then 436 #ifdef CPP_EARTH437 436 cIM calcul PV a teta=350, 380, 405K 438 437 CALL PVtheta(ngridmx,llm,pucov,pvcov,pteta, 439 438 $ ztfi,zplay,zplev, 440 439 $ ntetaSTD,rtetaSTD,PVteta) 441 #endif442 440 endif 443 441 c … … 450 448 451 449 452 if (planet_type=="earth") then453 #ifdef CPP_EARTH454 450 455 451 ! write(lunout,*) 'PHYSIQUE AVEC NSPLIT_PHYS=',nsplit_phys … … 460 456 zdqfic(:,:,:)=0. 461 457 462 do isplit=1,nsplit_phys 458 if (planet_type=="earth") then 459 #ifdef CPP_PHYS 460 461 do isplit=1,nsplit_phys 463 462 464 463 jH_cur_split=jH_cur+(isplit-1) * dtvr / (daysec *nsplit_phys) … … 503 502 zdqfic(:,:,:)=zdqfic(:,:,:)+zdqfi(:,:,:) 504 503 505 enddo 504 enddo ! of do isplit=1,nsplit_phys 505 506 #endif 507 ! of #ifdef CPP_PHYS 508 endif ! of if (planet_type=="earth") 509 506 510 zdufi(:,:)=zdufic(:,:)/nsplit_phys 507 511 zdvfi(:,:)=zdvfic(:,:)/nsplit_phys … … 509 513 zdqfi(:,:,:)=zdqfic(:,:,:)/nsplit_phys 510 514 511 #endif512 endif !of if (planet_type=="earth")513 515 514 516 500 CONTINUE -
LMDZ5/trunk/libf/dyn3d/ce0l.F90
r1563 r1615 28 28 IMPLICIT NONE 29 29 #ifndef CPP_EARTH 30 #include "iniprint.h" 30 31 WRITE(lunout,*)'limit_netcdf: Earth-specific routine, needs Earth physics' 31 32 #else -
LMDZ5/trunk/libf/dyn3d/gcm.F
r1592 r1615 21 21 ! A nettoyer. On ne veut qu'une ou deux routines d'interface 22 22 ! dynamique -> physique pour l'initialisation 23 ! Ehouarn: for now these only apply to Earth: 24 #ifdef CPP_EARTH 23 #ifdef CPP_PHYS 25 24 USE dimphy 26 25 USE comgeomphy … … 180 179 ! A nettoyer. On ne veut qu'une ou deux routines d'interface 181 180 ! dynamique -> physique pour l'initialisation 182 ! Ehouarn : temporarily (?) keep this only for Earth 183 if (planet_type.eq."earth") then 184 #ifdef CPP_EARTH 181 #ifdef CPP_PHYS 185 182 CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 186 183 call InitComgeomphy 187 184 #endif 188 endif189 185 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 190 186 c----------------------------------------------------------------------- … … 435 431 WRITE(lunout,*) 436 432 . 'GCM: WARNING!!! vitesse verticale nulle dans la physique' 437 ! Earth: 438 if (planet_type.eq."earth") then 439 #ifdef CPP_EARTH 433 ! Physics: 434 #ifdef CPP_PHYS 440 435 CALL iniphysiq(ngridmx,llm,daysec,day_ini,dtphys/nsplit_phys , 441 436 , latfi,lonfi,airefi,zcufi,zcvfi,rad,g,r,cpp ) 442 437 #endif 443 endif ! of if (planet_type.eq."earth")444 438 call_iniphys=.false. 445 439 ENDIF ! of IF (call_iniphys.and.(iflag_phys.eq.1)) 446 !#endif447 440 448 441 c numero de stockage pour les fichiers de redemarrage: … … 466 459 #endif 467 460 468 #ifdef CPP_ EARTH461 #ifdef CPP_PHYS 469 462 ! Create start file (startphy.nc) and boundary conditions (limit.nc) 470 463 ! for the Earth verstion -
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r1614 r1615 403 403 ! Ehouarn: be careful, diagedyn is Earth-specific (includes ../phylmd/..)! 404 404 IF (planet_type.eq."earth") THEN 405 #ifdef CPP_EARTH 405 406 CALL diagedyn(ztit,2,1,1,dtphys 406 407 & , ucov , vcov , ps, p ,pk , teta , q(:,:,1), q(:,:,2)) 408 #endif 407 409 ENDIF 408 410 ENDIF ! of IF (ip_ebil_dyn.ge.1 )
Note: See TracChangeset
for help on using the changeset viewer.