Changeset 2600
- Timestamp:
- Jul 23, 2016, 7:45:38 AM (8 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 1 added
- 1 deleted
- 123 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/advect.F
r2597 r2600 28 28 include "dimensions.h" 29 29 include "paramet.h" 30 include "comvert.h"31 30 include "comgeom.h" 32 31 include "logic.h" -
LMDZ5/trunk/libf/dyn3d/advtrac.F90
r2597 r2600 17 17 include "dimensions.h" 18 18 include "paramet.h" 19 include "comvert.h"20 19 include "comdissip.h" 21 20 include "comgeom2.h" -
LMDZ5/trunk/libf/dyn3d/bilan_dyn.F
r2597 r2600 14 14 #endif 15 15 USE comconst_mod, ONLY: pi, cpp 16 USE comvert_mod, ONLY: presnivs 16 17 17 18 IMPLICIT NONE … … 19 20 include "dimensions.h" 20 21 include "paramet.h" 21 include "comvert.h"22 22 include "comgeom2.h" 23 23 include "temps.h" -
LMDZ5/trunk/libf/dyn3d/caldyn.F
r2597 r2600 6 6 $ phi,conser,du,dv,dteta,dp,w,pbaru,pbarv,time ) 7 7 8 9 USE comvert_mod, ONLY: ap, bp 10 8 11 IMPLICIT NONE 9 12 … … 26 29 include "dimensions.h" 27 30 include "paramet.h" 28 include "comvert.h"29 31 include "comgeom.h" 30 32 -
LMDZ5/trunk/libf/dyn3d/dudv2.F
r1907 r2600 26 26 c======================================================================= 27 27 c 28 #include "dimensions.h" 29 #include "paramet.h" 30 #include "comvert.h" 28 include "dimensions.h" 29 include "paramet.h" 31 30 32 31 REAL teta( ip1jmp1,llm ),pkf( ip1jmp1,llm ) ,bern( ip1jmp1,llm ), -
LMDZ5/trunk/libf/dyn3d/dynetat0.f90
r2598 r2600 11 11 USE control_mod, ONLY: planet_type 12 12 USE assert_eq_m, ONLY: assert_eq 13 USE comvert_mod, ONLY: pa,preff 13 14 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, im, jm, kappa, lllm, omeg, rad 14 15 USE serre_mod, ONLY: clon, clat, grossismx, grossismy 16 15 17 IMPLICIT NONE 16 18 include "dimensions.h" 17 19 include "paramet.h" 18 20 include "temps.h" 19 include "comvert.h"20 21 include "comgeom2.h" 21 22 include "ener.h" -
LMDZ5/trunk/libf/dyn3d/dynredem.F90
r2598 r2600 11 11 NF90_CLOSE, NF90_PUT_ATT, NF90_UNLIMITED, NF90_CLOBBER 12 12 USE dynredem_mod, ONLY: cre_var, put_var1, put_var2, err, modname, fil 13 USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt,pa,preff, & 14 nivsig,nivsigs 13 15 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad 14 16 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 15 17 taux,tauy 16 18 IMPLICIT NONE 17 19 include "dimensions.h" 18 20 include "paramet.h" 19 include "comvert.h"20 21 include "comgeom2.h" 21 22 include "temps.h" … … 173 174 include "paramet.h" 174 175 include "description.h" 175 include "comvert.h"176 176 include "comgeom.h" 177 177 include "temps.h" -
LMDZ5/trunk/libf/dyn3d/fluxstokenc.F
r2597 r2600 18 18 include "dimensions.h" 19 19 include "paramet.h" 20 include "comvert.h"21 20 include "comgeom.h" 22 21 include "tracstoke.h" … … 35 34 36 35 REAL pbarvst(iip1,jjp1,llm),zistdyn 37 36 real dtcum 38 37 39 38 INTEGER iadvtr,ndex(1) … … 59 58 if(first) then 60 59 61 60 CALL initfluxsto( 'fluxstoke', 62 61 . time_step,istdyn* time_step,istdyn* time_step, 63 62 . fluxid,fluxvid,fluxdid) 64 65 63 64 ndex(1) = 0 66 65 call histwrite(fluxid, 'phis', 1, phis, iip1*jjp1, ndex) 67 66 call histwrite(fluxid, 'aire', 1, aire, iip1*jjp1, ndex) 68 69 67 68 ndex(1) = 0 70 69 nscal = 1 71 70 tst(1) = time_step … … 75 74 istp(1)= istphy 76 75 call histwrite(fluxdid, 'istphy', 1, istp, nscal, ndex) 77 78 76 77 first = .false. 79 78 80 79 endif … … 140 139 141 140 iadvtr=0 142 143 144 141 write(lunout,*)'ITAU auquel on stoke les fluxmasses',itau 142 143 call histwrite(fluxid, 'masse', itau, massem, 145 144 . iip1*jjp1*llm, ndex) 146 147 145 146 call histwrite(fluxid, 'pbaru', itau, pbarug, 148 147 . iip1*jjp1*llm, ndex) 149 150 148 149 call histwrite(fluxvid, 'pbarv', itau, pbarvg, 151 150 . iip1*jjm*llm, ndex) 152 151 153 152 call histwrite(fluxid, 'w' ,itau, wg, 154 153 . iip1*jjp1*llm, ndex) 155 156 154 155 call histwrite(fluxid, 'teta' ,itau, tetac, 157 156 . iip1*jjp1*llm, ndex) 158 159 157 158 call histwrite(fluxid, 'phi' ,itau, phic, 160 159 . iip1*jjp1*llm, ndex) 161 160 162 161 C 163 162 -
LMDZ5/trunk/libf/dyn3d/gcm.F90
r2598 r2600 69 69 include "paramet.h" 70 70 include "comdissnew.h" 71 include "comvert.h"72 71 include "comgeom.h" 73 72 include "logic.h" -
LMDZ5/trunk/libf/dyn3d/groupe.F
r2597 r2600 22 22 include "paramet.h" 23 23 include "comgeom2.h" 24 include "comvert.h"25 24 26 25 ! integer ngroup -
LMDZ5/trunk/libf/dyn3d/guide_mod.F90
r2598 r2600 314 314 USE control_mod, ONLY: day_step, iperiod 315 315 USE comconst_mod, ONLY: dtvr, daysec 316 USE comvert_mod, ONLY: ap, bp, preff, presnivs 316 317 317 318 IMPLICIT NONE … … 319 320 INCLUDE "dimensions.h" 320 321 INCLUDE "paramet.h" 321 INCLUDE "comvert.h"322 322 323 323 ! Variables entree … … 607 607 use exner_milieu_m, only: exner_milieu 608 608 use comconst_mod, only: kappa, cpp 609 use comvert_mod, only: preff, pressure_exner, bp, ap 609 610 IMPLICIT NONE 610 611 611 612 include "dimensions.h" 612 613 include "paramet.h" 613 include "comvert.h"614 614 include "comgeom2.h" 615 615 … … 1517 1517 1518 1518 USE comconst_mod, ONLY: pi 1519 USE comvert_mod, ONLY: presnivs 1519 1520 1520 1521 IMPLICIT NONE … … 1524 1525 INCLUDE "netcdf.inc" 1525 1526 INCLUDE "comgeom2.h" 1526 INCLUDE "comvert.h"1527 1527 1528 1528 ! Variables entree -
LMDZ5/trunk/libf/dyn3d/iniacademic.F90
r2597 r2600 17 17 use exner_milieu_m, only: exner_milieu 18 18 USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm 19 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 19 20 20 21 ! Author: Frederic Hourdin original: 15/01/93 … … 29 30 include "dimensions.h" 30 31 include "paramet.h" 31 include "comvert.h"32 32 include "comgeom.h" 33 33 include "academic.h" -
LMDZ5/trunk/libf/dyn3d/integrd.F
r2598 r2600 9 9 use control_mod, only : planet_type 10 10 use comconst_mod, only: pi 11 use comvert_mod, only: ap, bp 11 12 12 13 IMPLICIT NONE … … 31 32 include "paramet.h" 32 33 include "comgeom.h" 33 include "comvert.h"34 34 include "logic.h" 35 35 include "temps.h" -
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r2598 r2600 20 20 use exner_hyb_m, only: exner_hyb 21 21 use exner_milieu_m, only: exner_milieu 22 USE comvert_mod, ONLY: ap,bp,pressure_exner,presnivs 22 23 USE comconst_mod, ONLY: cpp, dtphys, dtvr, pi, ihf 23 24 … … 58 59 include "paramet.h" 59 60 include "comdissnew.h" 60 include "comvert.h"61 61 include "comgeom.h" 62 62 include "logic.h" … … 712 712 IF( MOD(itau,iecri).EQ.0) THEN 713 713 ! Ehouarn: output only during LF or Backward Matsuno 714 714 if (leapf.or.(.not.leapf.and.(.not.forward))) then 715 715 CALL geopot(ip1jmp1,teta,pk,pks,phis,phi) 716 716 unat=0. … … 722 722 if (ok_dyn_ins) then 723 723 ! write(lunout,*) "leapfrog: call writehist, itau=",itau 724 724 CALL writehist(itau,vcov,ucov,teta,phi,q,masse,ps,phis) 725 725 ! call WriteField('ucov',reshape(ucov,(/iip1,jmp1,llm/))) 726 726 ! call WriteField('vcov',reshape(vcov,(/iip1,jjm,llm/))) … … 852 852 ! write(lunout,*) "leapfrog: call writehist (b)", 853 853 ! & itau,iecri 854 854 CALL writehist(itau,vcov,ucov,teta,phi,q,masse,ps,phis) 855 855 endif ! of if (ok_dyn_ins) 856 856 #endif -
LMDZ5/trunk/libf/dyn3d/qminimum.F
r2286 r2600 10 10 c pour l'eau vapeur et l'eau liquide 11 11 c 12 #include "dimensions.h" 13 #include "paramet.h" 14 #include "comvert.h" 12 include "dimensions.h" 13 include "paramet.h" 15 14 c 16 15 INTEGER nqtot -
LMDZ5/trunk/libf/dyn3d/sw_case_williamson91_6.F
r2597 r2600 27 27 c======================================================================= 28 28 USE comconst_mod, ONLY: cpp, omeg, rad 29 USE comvert_mod, ONLY: ap, bp, preff 29 30 30 31 IMPLICIT NONE … … 35 36 include "dimensions.h" 36 37 include "paramet.h" 37 include "comvert.h"38 38 include "comgeom.h" 39 39 include "iniprint.h" -
LMDZ5/trunk/libf/dyn3d/top_bound.F
r2597 r2600 6 6 USE comconst_mod, ONLY: iflag_top_bound, mode_top_bound, 7 7 & tau_top_bound 8 USE comvert_mod, ONLY: presnivs, preff, scaleheight 8 9 9 10 IMPLICIT NONE … … 11 12 include "dimensions.h" 12 13 include "paramet.h" 13 include "comvert.h"14 14 include "comgeom2.h" 15 15 -
LMDZ5/trunk/libf/dyn3d/vlsplt.F
r2597 r2600 24 24 include "paramet.h" 25 25 include "logic.h" 26 include "comvert.h"27 26 28 27 c … … 157 156 include "paramet.h" 158 157 include "logic.h" 159 include "comvert.h"160 158 include "iniprint.h" 161 159 c … … 532 530 include "paramet.h" 533 531 include "logic.h" 534 include "comvert.h"535 532 include "comgeom.h" 536 533 c … … 894 891 include "paramet.h" 895 892 include "logic.h" 896 include "comvert.h"897 893 c 898 894 c -
LMDZ5/trunk/libf/dyn3d/vlspltqs.F
r2597 r2600 31 31 include "paramet.h" 32 32 include "logic.h" 33 include "comvert.h"34 33 35 34 c … … 197 196 include "paramet.h" 198 197 include "logic.h" 199 include "comvert.h"200 198 c 201 199 c … … 568 566 include "paramet.h" 569 567 include "logic.h" 570 include "comvert.h"571 568 include "comgeom.h" 572 569 c -
LMDZ5/trunk/libf/dyn3d_common/adaptdt.F
r2597 r2600 9 9 IMPLICIT NONE 10 10 11 #include "dimensions.h" 12 c#include "paramr2.h" 13 #include "paramet.h" 14 #include "comdissip.h" 15 #include "comvert.h" 16 #include "comgeom2.h" 17 #include "logic.h" 18 #include "temps.h" 19 #include "ener.h" 20 #include "description.h" 11 include "dimensions.h" 12 include "paramet.h" 13 include "comdissip.h" 14 include "comgeom2.h" 15 include "logic.h" 16 include "temps.h" 17 include "ener.h" 18 include "description.h" 21 19 22 20 c---------------------------------------------------------- -
LMDZ5/trunk/libf/dyn3d_common/advn.F
r2597 r2600 17 17 IMPLICIT NONE 18 18 c 19 #include "dimensions.h" 20 #include "paramet.h" 21 #include "logic.h" 22 #include "comvert.h" 23 #include "comgeom.h" 24 #include "iniprint.h" 19 include "dimensions.h" 20 include "paramet.h" 21 include "logic.h" 22 include "comgeom.h" 23 include "iniprint.h" 25 24 26 25 c … … 483 482 IMPLICIT NONE 484 483 c 485 #include "dimensions.h" 486 #include "paramet.h" 487 #include "logic.h" 488 #include "comvert.h" 489 #include "iniprint.h" 484 include "dimensions.h" 485 include "paramet.h" 486 include "logic.h" 487 include "iniprint.h" 490 488 c 491 489 c -
LMDZ5/trunk/libf/dyn3d_common/advx.F
r2597 r2600 18 18 C sm,s0,sx,sy,sz C 19 19 C sont les arguments de sortie pour le s-pg C 20 C 20 C C 21 21 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 22 22 C 23 23 C parametres principaux du modele 24 24 C 25 #include "dimensions.h" 26 #include "paramet.h" 27 #include "comvert.h" 25 include "dimensions.h" 26 include "paramet.h" 28 27 29 28 C Arguments : -
LMDZ5/trunk/libf/dyn3d_common/advxp.F
r2597 r2600 13 13 C parametres principaux du modele 14 14 C 15 #include "dimensions.h" 16 #include "paramet.h" 17 #include "comvert.h" 15 include "dimensions.h" 16 include "paramet.h" 18 17 19 18 INTEGER ntra … … 102 101 c IF (S0(i,j,l,ntra) .lt. 0. ) THEN 103 102 c PRINT*,'S0(',i,j,l,')=',S0(i,j,l,ntra) 104 c 103 c print*, 'SSX(',i,j,l,')=',SSX(i,j,l,ntra) 105 104 c print*, 'SY(',i,j,l,')=',SY(i,j,l,ntra) 106 105 c print*, 'SZ(',i,j,l,')=',SZ(i,j,l,ntra) … … 119 118 DO j = 1, jjp1 120 119 DO i = 1, iim 121 120 sqi = sqi + S0(i,j,l,ntra) 122 121 END DO 123 122 END DO … … 611 610 c DO 9999 j = 1, jjp1 612 611 c DO 9999 i = 1, iip1 613 c 612 c IF (S0(i,j,l,ntra).lt.0..and.LIMIT) THEN 614 613 c PRINT*, '-------------------' 615 c 614 c PRINT*, 'En fin de ADVXP' 616 615 c PRINT*,'S0(',i,j,l,')=',S0(i,j,l,ntra) 617 c 616 c print*, 'SSX(',i,j,l,')=',SSX(i,j,l,ntra) 618 617 c print*, 'SY(',i,j,l,')=',SY(i,j,l,ntra) 619 c 618 c print*, 'SZ(',i,j,l,')=',SZ(i,j,l,ntra) 620 619 c WRITE (*,*) 'On arrete !! - pbl en fin de ADVXP' 621 620 c STOP … … 628 627 SM(iip1,j,l) = SM(1,j,l) 629 628 S0(iip1,j,l,ntra) = S0(1,j,l,ntra) 630 631 632 629 SSX(iip1,j,l,ntra) = SSX(1,j,l,ntra) 630 SY(iip1,j,l,ntra) = SY(1,j,l,ntra) 631 SZ(iip1,j,l,ntra) = SZ(1,j,l,ntra) 633 632 END DO 634 633 END DO -
LMDZ5/trunk/libf/dyn3d_common/advy.F
r2597 r2600 9 9 C first-order moments (SOM) advection of tracer in Y direction C 10 10 C C 11 C Source : Pascal Simon ( Meteo, CNRM ) 12 C Adaptation : A.A. (LGGE) 11 C Source : Pascal Simon ( Meteo, CNRM ) C 12 C Adaptation : A.A. (LGGE) C 13 13 C Derniere Modif : 15/12/94 LAST 14 C 15 C sont les arguments d'entree pour le s-pg 16 C 17 C argument de sortie du s-pg 18 C 14 C C 15 C sont les arguments d'entree pour le s-pg C 16 C C 17 C argument de sortie du s-pg C 18 C C 19 19 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 20 20 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC … … 26 26 C 27 27 C 28 #include "dimensions.h" 29 #include "paramet.h" 30 #include "comvert.h" 31 #include "comgeom2.h" 28 include "dimensions.h" 29 include "paramet.h" 30 include "comgeom2.h" 32 31 33 32 C Arguments : -
LMDZ5/trunk/libf/dyn3d_common/advyp.F
r2597 r2600 11 11 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 12 12 C C 13 C Source : Pascal Simon ( Meteo, CNRM ) 14 C Adaptation : A.A. (LGGE) 13 C Source : Pascal Simon ( Meteo, CNRM ) C 14 C Adaptation : A.A. (LGGE) C 15 15 C Derniere Modif : 19/10/95 LAST 16 C 17 C sont les arguments d'entree pour le s-pg 18 C 19 C argument de sortie du s-pg 20 C 16 C C 17 C sont les arguments d'entree pour le s-pg C 18 C C 19 C argument de sortie du s-pg C 20 C C 21 21 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 22 22 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC … … 28 28 C 29 29 C 30 #include "dimensions.h" 31 #include "paramet.h" 32 #include "comvert.h" 33 #include "comgeom.h" 30 include "dimensions.h" 31 include "paramet.h" 32 include "comgeom.h" 34 33 35 34 C Arguments : -
LMDZ5/trunk/libf/dyn3d_common/advz.F
r2597 r2600 16 16 C C 17 17 C dq est l'argument de sortie pour le s-pg C 18 C 18 C C 19 19 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 20 20 C 21 21 C parametres principaux du modele 22 22 C 23 #include "dimensions.h" 24 #include "paramet.h" 25 #include "comvert.h" 23 include "dimensions.h" 24 include "paramet.h" 26 25 27 26 C #include "traceur.h" -
LMDZ5/trunk/libf/dyn3d_common/advzp.F
r2597 r2600 31 31 C parametres principaux du modele 32 32 C 33 #include "dimensions.h" 34 #include "paramet.h" 35 #include "comvert.h" 36 #include "comgeom.h" 33 include "dimensions.h" 34 include "paramet.h" 35 include "comgeom.h" 37 36 C 38 37 C Arguments : … … 355 354 DO j = 1,jjp1 356 355 SM(iip1,j,l) = SM(1,j,l) 357 356 S0(iip1,j,l,ntra) = S0(1,j,l,ntra) 358 357 SSX(iip1,j,l,ntra) = SSX(1,j,l,ntra) 359 358 SY(iip1,j,l,ntra) = SY(1,j,l,ntra) 360 359 SZ(iip1,j,l,ntra) = SZ(1,j,l,ntra) 361 360 ENDDO 362 361 ENDDO 363 c 362 c C------------------------------------------------------------- 364 363 C *** Test : diag de la qqtite totale de tarceur 365 364 C dans l'atmosphere avant l'advection en z -
LMDZ5/trunk/libf/dyn3d_common/caldyn0.F90
r2597 r2600 7 7 !------------------------------------------------------------------------------- 8 8 USE control_mod, ONLY: resetvarc 9 USE comvert_mod, ONLY: ap, bp 9 10 IMPLICIT NONE 10 11 include "dimensions.h" 11 12 include "paramet.h" 12 include "comvert.h"13 13 include "comgeom.h" 14 14 !=============================================================================== -
LMDZ5/trunk/libf/dyn3d_common/comvert_mod.F90
r2599 r2600 2 2 ! $Id$ 3 3 ! 4 !----------------------------------------------------------------------- 5 ! INCLUDE 'comvert.h' 4 MODULE comvert_mod 6 5 7 COMMON/comvertr/ap(llm+1),bp(llm+1),presnivs(llm),dpres(llm), & 8 & pa,preff,nivsigs(llm),nivsig(llm+1), & 9 & aps(llm),bps(llm),scaleheight,pseudoalt(llm) 6 IMPLICIT NONE 10 7 11 common/comverti/disvert_type, pressure_exner 8 INCLUDE "dimensions.h" 12 9 13 real ap ! hybrid pressure contribution at interlayers 14 real bp ! hybrid sigma contribution at interlayer 15 real presnivs ! (reference) pressure at mid-layers 16 real dpres 17 real pa ! reference pressure (Pa) at which hybrid coordinates 18 ! become purely pressure 19 real preff ! reference surface pressure (Pa) 20 real nivsigs 21 real nivsig 22 real aps ! hybrid pressure contribution at mid-layers 23 real bps ! hybrid sigma contribution at mid-layers 24 real scaleheight ! atmospheric (reference) scale height (km) 25 real pseudoalt ! pseudo-altitude of model levels (km), based on presnivs(), 10 REAL ap(llm+1) ! hybrid pressure contribution at interlayers 11 REAL bp (llm+1) ! hybrid sigma contribution at interlayer 12 REAL presnivs(llm) ! (reference) pressure at mid-layers 13 REAL dpres(llm) 14 REAL sig(llm+1) 15 REAL ds(llm) 16 REAL pa ! reference pressure (Pa) at which hybrid coordinates 17 ! become purely pressure (more or less) 18 REAL preff ! reference surface pressure (Pa) 19 REAL nivsigs(llm) 20 REAL nivsig(llm+1) 21 REAL aps(llm) ! hybrid pressure contribution at mid-layers 22 REAL bps(llm) ! hybrid sigma contribution at mid-layers 23 REAL scaleheight ! atmospheric (reference) scale height (km) 24 REAL pseudoalt(llm) ! pseudo-altitude of model levels (km), based on presnivs(), 26 25 ! preff and scaleheight 27 26 28 integerdisvert_type ! type of vertical discretization:29 30 31 32 27 INTEGER disvert_type ! type of vertical discretization: 28 ! 1: Earth (default for planet_type==earth), 29 ! automatic generation 30 ! 2: Planets (default for planet_type!=earth), 31 ! using 'z2sig.def' (or 'esasig.def) file 33 32 34 logicalpressure_exner33 LOGICAL pressure_exner 35 34 ! compute pressure inside layers using Exner function, else use mean 36 35 ! of pressure values at interfaces 37 36 38 !----------------------------------------------------------------------- 37 END MODULE comvert_mod -
LMDZ5/trunk/libf/dyn3d_common/conf_planete.F90
r2597 r2600 12 12 USE comconst_mod, ONLY: pi, g, molmass, kappa, cpp, omeg, rad, & 13 13 year_day, daylen, daysec, ihf 14 USE comvert_mod, ONLY: preff, pa 14 15 IMPLICIT NONE 15 16 ! … … 17 18 ! Declarations : 18 19 ! -------------- 19 #include "dimensions.h" 20 #include "comvert.h" 20 21 21 ! 22 22 ! local: -
LMDZ5/trunk/libf/dyn3d_common/disvert.F90
r2597 r2600 10 10 use new_unit_m, only: new_unit 11 11 use assert_m, only: assert 12 USE comvert_mod, ONLY: ap, bp, nivsigs, nivsig, dpres, presnivs, & 13 pa, preff, scaleheight 12 14 13 15 IMPLICIT NONE … … 15 17 include "dimensions.h" 16 18 include "paramet.h" 17 include "comvert.h"18 19 include "iniprint.h" 19 20 include "logic.h" … … 23 24 ! Triggered by the levels number llm. 24 25 !------------------------------------------------------------------------------- 25 ! Read in "comvert .h":26 ! Read in "comvert_mod": 26 27 27 28 ! pa !--- vertical coordinate is close to a PRESSURE COORDINATE FOR P … … 29 30 30 31 ! preff !--- REFERENCE PRESSURE (101325 Pa) 31 ! Written in "comvert .h":32 ! Written in "comvert_mod": 32 33 ! ap(llm+1), bp(llm+1) !--- Ap, Bp HYBRID COEFFICIENTS AT INTERFACES 33 34 ! aps(llm), bps(llm) !--- Ap, Bp HYBRID COEFFICIENTS AT MID-LAYERS -
LMDZ5/trunk/libf/dyn3d_common/disvert_noterre.F
r2597 r2600 12 12 use ioipsl_getincom 13 13 #endif 14 USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt, 15 & nivsig,nivsigs,pa,preff,scaleheight 14 16 USE comconst_mod, ONLY: kappa 15 17 16 18 IMPLICIT NONE 17 19 18 #include "dimensions.h" 19 #include "paramet.h" 20 #include "comvert.h" 21 #include "logic.h" 22 #include "iniprint.h" 20 include "dimensions.h" 21 include "paramet.h" 22 include "logic.h" 23 include "iniprint.h" 23 24 c 24 25 c======================================================================= -
LMDZ5/trunk/libf/dyn3d_common/exner_hyb_m.F90
r2598 r2600 34 34 ! 35 35 USE comconst_mod, ONLY: jmp1, cpp, kappa, r 36 USE comvert_mod, ONLY: preff 37 36 38 IMPLICIT NONE 37 39 … … 39 41 include "paramet.h" 40 42 include "comgeom.h" 41 include "comvert.h"42 43 43 44 INTEGER ngrid -
LMDZ5/trunk/libf/dyn3d_common/exner_milieu_m.F90
r2598 r2600 31 31 ! 32 32 USE comconst_mod, ONLY: jmp1, cpp, kappa, r 33 USE comvert_mod, ONLY: preff 34 33 35 IMPLICIT NONE 34 36 … … 36 38 include "paramet.h" 37 39 include "comgeom.h" 38 include "comvert.h"39 40 40 41 INTEGER ngrid -
LMDZ5/trunk/libf/dyn3d_common/geopot.F
r1945 r2600 27 27 c ------------- 28 28 29 #include "dimensions.h" 30 #include "paramet.h" 31 #include "comvert.h" 29 include "dimensions.h" 30 include "paramet.h" 32 31 33 32 c Arguments: -
LMDZ5/trunk/libf/dyn3d_common/grilles_gcm_netcdf_sub.F90
r2598 r2600 10 10 11 11 USE comconst_mod, ONLY: cpp, kappa, g, omeg, daysec, rad, pi 12 USE comvert_mod, ONLY: presnivs, preff, pa 13 12 14 IMPLICIT NONE 13 15 … … 15 17 INCLUDE "paramet.h" 16 18 INCLUDE "comgeom.h" 17 INCLUDE "comvert.h"18 19 INCLUDE "netcdf.inc" 19 20 -
LMDZ5/trunk/libf/dyn3d_common/iniconst.F90
r2597 r2600 13 13 USE comconst_mod, ONLY: im, imp1, jm, jmp1, lllm, lllmm1, lllmp1, & 14 14 unsim, pi, r, kappa, cpp, dtvr, dtphys 15 USE comvert_mod, ONLY: disvert_type, pressure_exner 15 16 16 17 IMPLICIT NONE … … 24 25 include "paramet.h" 25 26 include "temps.h" 26 include "comvert.h"27 27 include "iniprint.h" 28 28 -
LMDZ5/trunk/libf/dyn3d_common/inidissip.F90
r2597 r2600 14 14 USE comconst_mod, ONLY: dissip_deltaz, dissip_factz, dissip_zref, & 15 15 dtdiss, dtvr, rad 16 USE comvert_mod, ONLY: preff, presnivs 16 17 17 18 IMPLICIT NONE … … 19 20 include "paramet.h" 20 21 include "comdissipn.h" 21 include "comvert.h"22 22 include "logic.h" 23 23 include "iniprint.h" -
LMDZ5/trunk/libf/dyn3d_common/initdynav.F90
r2598 r2600 10 10 dynhistave_file,dynhistvave_file,dynhistuave_file 11 11 USE comconst_mod, ONLY: pi 12 USE comvert_mod, ONLY: presnivs 12 13 implicit none 13 14 … … 35 36 include "dimensions.h" 36 37 include "paramet.h" 37 include "comvert.h"38 38 include "comgeom.h" 39 39 include "temps.h" -
LMDZ5/trunk/libf/dyn3d_common/initfluxsto.F
r2598 r2600 10 10 #endif 11 11 USE comconst_mod, ONLY: pi 12 USE comvert_mod, ONLY: nivsigs 12 13 implicit none 13 14 … … 41 42 include "dimensions.h" 42 43 include "paramet.h" 43 include "comvert.h"44 44 include "comgeom.h" 45 45 include "temps.h" … … 85 85 CALL ymds2ju(zan, 1, idayref, 0.0, zjulian) 86 86 tau0 = itau_dyn 87 88 87 88 do jj = 1, jjp1 89 89 do ii = 1, iip1 90 90 rlong(ii,jj) = rlonu(ii) * 180. / pi … … 112 112 . 1, iip1, 1, jjm, 113 113 . tau0, zjulian, tstep, vhoriid, filevid) 114 115 114 115 rl(1,1) = 1. 116 116 call histbeg('defstoke.nc', 1, rl, 1, rl, 117 117 . 1, 1, 1, 1, … … 130 130 call histhori(fileid, iip1, rlong, jjp1, rlat, 'scalar', 131 131 . 'Grille points scalaires', thoriid) 132 132 133 133 C 134 134 C Appel a histvert pour la grille verticale … … 149 149 C 150 150 C Appels a histdef pour la definition des variables a sauvegarder 151 152 151 152 CALL histdef(fileid, "phis", "Surface geop. height", "-", 153 153 . iip1,jjp1,thoriid, 1,1,1, -99, 32, 154 154 . "once", t_ops, t_wrt) … … 157 157 . iip1,jjp1,thoriid, 1,1,1, -99, 32, 158 158 . "once", t_ops, t_wrt) 159 160 159 160 CALL histdef(filedid, "dtvr", "tps dyn", "s", 161 161 . 1,1,dhoriid, 1,1,1, -99, 32, 162 162 . "once", t_ops, t_wrt) … … 222 222 call histsync(filedid) 223 223 endif 224 224 225 225 #else 226 226 ! tell the user this routine should be run with ioipsl -
LMDZ5/trunk/libf/dyn3d_common/inithist.F
r2598 r2600 11 11 & dynhist_file,dynhistv_file,dynhistu_file 12 12 USE comconst_mod, ONLY: pi 13 USE comvert_mod, ONLY: presnivs 13 14 implicit none 14 15 … … 40 41 include "dimensions.h" 41 42 include "paramet.h" 42 include "comvert.h"43 43 include "comgeom.h" 44 44 include "temps.h" -
LMDZ5/trunk/libf/dyn3d_common/interpost.F
r2597 r2600 9 9 include "dimensions.h" 10 10 include "paramet.h" 11 include "comvert.h"12 11 include "comgeom2.h" 13 12 -
LMDZ5/trunk/libf/dyn3d_common/interpre.F
r2597 r2600 7 7 8 8 USE comconst_mod, ONLY: g 9 USE comvert_mod, ONLY: ap, bp 9 10 10 11 implicit none … … 13 14 include "paramet.h" 14 15 include "comdissip.h" 15 include "comvert.h"16 16 include "comgeom2.h" 17 17 include "logic.h" -
LMDZ5/trunk/libf/dyn3d_common/limx.F
r2597 r2600 18 18 include "paramet.h" 19 19 include "logic.h" 20 include "comvert.h"21 20 include "comgeom.h" 22 21 c -
LMDZ5/trunk/libf/dyn3d_common/limy.F
r2597 r2600 20 20 include "paramet.h" 21 21 include "logic.h" 22 include "comvert.h"23 22 include "comgeom.h" 24 23 c -
LMDZ5/trunk/libf/dyn3d_common/limz.F
r2597 r2600 18 18 include "paramet.h" 19 19 include "logic.h" 20 include "comvert.h"21 20 include "comgeom.h" 22 21 c -
LMDZ5/trunk/libf/dyn3d_common/pentes_ini.F
r2597 r2600 27 27 include "dimensions.h" 28 28 include "paramet.h" 29 include "comvert.h"30 29 include "comgeom2.h" 31 30 … … 439 438 440 439 DO l = 1,llm 441 442 440 DO j = 1,jjp1 441 DO i = 1,iip1 443 442 IF (q(i,j,l,0).lt.0.) THEN 444 443 c PRINT*,'------------ BIP-----------' … … 447 446 c PRINT*,'QY(',i,j,l,')=',q(i,j,l,2) 448 447 c PRINT*,'QZ(',i,j,l,')=',q(i,j,l,3) 449 c 448 c PRINT*,' PBL EN SORTIE DE PENTES' 450 449 q(i,j,l,0)=0. 451 450 c STOP -
LMDZ5/trunk/libf/dyn3d_common/prather.F
r2597 r2600 24 24 include "dimensions.h" 25 25 include "paramet.h" 26 include "comvert.h"27 26 include "comgeom2.h" 28 27 -
LMDZ5/trunk/libf/dyn3d_common/sortvarc.F
r2597 r2600 28 28 INCLUDE "dimensions.h" 29 29 INCLUDE "paramet.h" 30 INCLUDE "comvert.h"31 30 INCLUDE "comgeom.h" 32 31 INCLUDE "ener.h" -
LMDZ5/trunk/libf/dyn3d_common/traceurpole.F
r2597 r2600 9 9 include "paramet.h" 10 10 include "comdissip.h" 11 include "comvert.h"12 11 include "comgeom2.h" 13 12 include "logic.h" -
LMDZ5/trunk/libf/dyn3d_common/vitvert.F90
r2336 r2600 5 5 !------------------------------------------------------------------------------- 6 6 ! Purpose: Compute vertical speed at sigma levels. 7 USE comvert_mod, ONLY: bp 7 8 IMPLICIT NONE 8 9 include "dimensions.h" 9 10 include "paramet.h" 10 include "comvert.h"11 11 !=============================================================================== 12 12 ! Arguments: -
LMDZ5/trunk/libf/dyn3d_common/writedynav.F90
r2598 r2600 32 32 include "dimensions.h" 33 33 include "paramet.h" 34 include "comvert.h"35 34 include "comgeom.h" 36 35 include "temps.h" -
LMDZ5/trunk/libf/dyn3d_common/writehist.F
r2598 r2600 35 35 include "dimensions.h" 36 36 include "paramet.h" 37 include "comvert.h"38 37 include "comgeom.h" 39 38 include "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/advect_new_loc.F
r2597 r2600 30 30 include "dimensions.h" 31 31 include "paramet.h" 32 include "comvert.h"33 32 include "comgeom.h" 34 33 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/advtrac_loc.F
r2597 r2600 32 32 include "dimensions.h" 33 33 include "paramet.h" 34 include "comvert.h"35 34 include "comdissip.h" 36 35 include "comgeom2.h" … … 172 171 #endif 173 172 174 173 GOTO 1234 175 174 c----------------------------------------------------------- 176 175 c Appel des sous programmes d'advection … … 184 183 if(iadv(iq).eq.10) THEN 185 184 186 !LF 185 !LF call vlsplt_p(q(1,1,iq),2.,massem,wg,pbarug,pbarvg,dtvr) 187 186 188 187 c ---------------------------------------------------------------- -
LMDZ5/trunk/libf/dyn3dmem/bilan_dyn_loc.F
r2597 r2600 18 18 USE write_field_loc 19 19 USE comconst_mod, ONLY: cpp, pi 20 USE comvert_mod, ONLY: presnivs 21 20 22 IMPLICIT NONE 21 23 22 24 include "dimensions.h" 23 25 include "paramet.h" 24 include "comvert.h"25 26 include "comgeom2.h" 26 27 include "temps.h" … … 598 599 do l=1,llm 599 600 Q_cum(:,jjb:jje,l,iQ)=Q_cum(:,jjb:jje,l,iQ) 600 . 601 . /masse_cum(:,jjb:jje,l) 601 602 enddo 602 603 !$OMP ENDDO NOWAIT -
LMDZ5/trunk/libf/dyn3dmem/caldyn_loc.F
r2597 r2600 12 12 USE caldyn_mod, ONLY: vcont, ucont, ang, p, massebx, masseby, 13 13 & vorpot, ecin, bern, massebxy, convm 14 USE comvert_mod, ONLY: ap, bp 14 15 15 16 IMPLICIT NONE … … 33 34 include "dimensions.h" 34 35 include "paramet.h" 35 include "comvert.h"36 36 include "comgeom.h" 37 37 -
LMDZ5/trunk/libf/dyn3dmem/call_calfis_mod.F90
r2597 r2600 83 83 USE write_field 84 84 USE comconst_mod, ONLY: dtphys 85 USE comvert_mod, ONLY: ap, bp, pressure_exner 86 85 87 IMPLICIT NONE 86 INCLUDE "comvert.h"87 88 INCLUDE "logic.h" 88 89 INCLUDE "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/dudv2_loc.F
r1907 r2600 23 23 c======================================================================= 24 24 c 25 #include "dimensions.h" 26 #include "paramet.h" 27 #include "comvert.h" 25 include "dimensions.h" 26 include "paramet.h" 28 27 29 28 REAL teta( ijb_u:ije_u,llm ),pkf( ijb_u:ije_u,llm ) -
LMDZ5/trunk/libf/dyn3dmem/dynetat0_loc.f90
r2598 r2600 12 12 USE control_mod, ONLY: planet_type 13 13 USE assert_eq_m, ONLY: assert_eq 14 USE comvert_mod, ONLY: pa,preff 14 15 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, im, jm, kappa, lllm, & 15 16 omeg, rad … … 20 21 include "paramet.h" 21 22 include "temps.h" 22 include "comvert.h"23 23 include "comgeom.h" 24 24 include "ener.h" -
LMDZ5/trunk/libf/dyn3dmem/dynredem_loc.F90
r2598 r2600 13 13 NF90_CLOSE, NF90_PUT_ATT, NF90_UNLIMITED, NF90_CLOBBER 14 14 USE dynredem_mod, ONLY: cre_var, put_var, err, modname, fil 15 USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt,pa,preff, & 16 nivsig,nivsigs 15 17 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad 16 18 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & … … 20 22 include "dimensions.h" 21 23 include "paramet.h" 22 include "comvert.h"23 24 include "comgeom.h" 24 25 include "temps.h" … … 182 183 include "paramet.h" 183 184 include "description.h" 184 include "comvert.h"185 185 include "comgeom.h" 186 186 include "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/exner_hyb_loc_m.F90
r2598 r2600 36 36 USE write_field_loc 37 37 USE comconst_mod, ONLY: cpp, kappa, r, jmp1 38 USE comvert_mod, ONLY: preff 39 38 40 IMPLICIT NONE 39 41 ! … … 41 43 include "paramet.h" 42 44 include "comgeom.h" 43 include "comvert.h"44 45 45 46 INTEGER ngrid -
LMDZ5/trunk/libf/dyn3dmem/exner_milieu_loc_m.F90
r2598 r2600 32 32 USE mod_filtreg_p 33 33 USE comconst_mod, ONLY: cpp, kappa, r, jmp1 34 USE comvert_mod, ONLY: preff 35 34 36 IMPLICIT NONE 35 37 ! … … 37 39 include "paramet.h" 38 40 include "comgeom.h" 39 include "comvert.h"40 41 41 42 INTEGER ngrid -
LMDZ5/trunk/libf/dyn3dmem/gcm.F90
r2598 r2600 56 56 include "paramet.h" 57 57 include "comdissnew.h" 58 include "comvert.h"59 58 include "comgeom.h" 60 59 include "logic.h" -
LMDZ5/trunk/libf/dyn3dmem/geopot_loc.F
r1907 r2600 26 26 c ------------- 27 27 28 #include "dimensions.h" 29 #include "paramet.h" 30 #include "comvert.h" 28 include "dimensions.h" 29 include "paramet.h" 31 30 32 31 c Arguments: -
LMDZ5/trunk/libf/dyn3dmem/groupe_loc.F
r2597 r2600 20 20 include "paramet.h" 21 21 include "comgeom2.h" 22 include "comvert.h"23 22 24 23 ! integer ngroup -
LMDZ5/trunk/libf/dyn3dmem/guide_loc_mod.F90
r2598 r2600 345 345 USE write_field_loc 346 346 USE comconst_mod, ONLY: cpp, daysec, dtvr, kappa 347 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 347 348 348 349 IMPLICIT NONE … … 350 351 INCLUDE "dimensions.h" 351 352 INCLUDE "paramet.h" 352 INCLUDE "comvert.h"353 353 354 354 ! Variables entree … … 891 891 USE Bands 892 892 USE comconst_mod, ONLY: cpp, kappa 893 USE comvert_mod, ONLY: preff, pressure_exner, bp, ap, disvert_type 893 894 IMPLICIT NONE 894 895 895 896 include "dimensions.h" 896 897 include "paramet.h" 897 include "comvert.h"898 898 include "comgeom2.h" 899 899 … … 2129 2129 USE mod_hallo, ONLY : gather_field_u, gather_field_v 2130 2130 USE comconst_mod, ONLY: pi 2131 USE comvert_mod, ONLY: presnivs 2131 2132 IMPLICIT NONE 2132 2133 … … 2135 2136 INCLUDE "netcdf.inc" 2136 2137 INCLUDE "comgeom2.h" 2137 INCLUDE "comvert.h"2138 2138 2139 2139 ! Variables entree -
LMDZ5/trunk/libf/dyn3dmem/iniacademic_loc.F90
r2597 r2600 19 19 USE Write_Field 20 20 USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm 21 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 21 22 22 23 ! Author: Frederic Hourdin original: 15/01/93 … … 31 32 include "dimensions.h" 32 33 include "paramet.h" 33 include "comvert.h"34 34 include "comgeom.h" 35 35 include "academic.h" -
LMDZ5/trunk/libf/dyn3dmem/initdynav_loc.F
r2598 r2600 15 15 & dynhistave_file,dynhistvave_file,dynhistuave_file 16 16 USE comconst_mod, ONLY: pi 17 USE comvert_mod, ONLY: presnivs 18 17 19 implicit none 18 20 … … 44 46 include "dimensions.h" 45 47 include "paramet.h" 46 include "comvert.h"47 48 include "comgeom.h" 48 49 include "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/initfluxsto_p.F
r2598 r2600 14 14 use misc_mod 15 15 USE comconst_mod, ONLY: pi 16 USE comvert_mod, ONLY: nivsigs 16 17 17 18 implicit none … … 46 47 include "dimensions.h" 47 48 include "paramet.h" 48 include "comvert.h"49 49 include "comgeom.h" 50 50 include "temps.h" … … 105 105 CALL ymds2ju(zan, 1, idayref, 0.0, zjulian) 106 106 tau0 = itau_dyn 107 108 107 108 do jj = 1, jjp1 109 109 do ii = 1, iip1 110 110 rlong(ii,jj) = rlonu(ii) * 180. / pi … … 164 164 . 1, iip1, 1, jjn,tau0, zjulian, tstep, vhoriid, 165 165 . filevid,dynv_domain_id) 166 166 167 167 rl(1,1) = 1. 168 168 … … 190 190 call histhori(fileid, iip1, rlong(:,jjb:jje),jjn,rlat(:,jjb:jje), 191 191 . 'scalar','Grille points scalaires', thoriid) 192 192 193 193 C 194 194 C Appel a histvert pour la grille verticale … … 210 210 C 211 211 C Appels a histdef pour la definition des variables a sauvegarder 212 213 212 213 CALL histdef(fileid, "phis", "Surface geop. height", "-", 214 214 . iip1,jjn,thoriid, 1,1,1, -99, 32, 215 215 . "once", t_ops, t_wrt) … … 218 218 . iip1,jjn,thoriid, 1,1,1, -99, 32, 219 219 . "once", t_ops, t_wrt) 220 220 221 221 if (mpi_rank==0) then 222 223 222 223 CALL histdef(filedid, "dtvr", "tps dyn", "s", 224 224 . 1,1,dhoriid, 1,1,1, -99, 32, 225 225 . "once", t_ops, t_wrt) … … 288 288 if (mpi_rank==0) call histsync(filedid) 289 289 endif 290 290 291 291 #else 292 292 write(lunout,*)'initfluxsto_p: Needs IOIPSL to function' -
LMDZ5/trunk/libf/dyn3dmem/inithist_loc.F
r2598 r2600 15 15 & dynhist_file,dynhistv_file,dynhistu_file 16 16 USE comconst_mod, ONLY: pi 17 USE comvert_mod, ONLY: presnivs 18 17 19 implicit none 18 20 … … 43 45 include "dimensions.h" 44 46 include "paramet.h" 45 include "comvert.h"46 47 include "comgeom.h" 47 48 include "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/integrd_loc.F
r2598 r2600 13 13 USE infotrac, ONLY: ok_iso_verif ! ajout CRisi 14 14 USE comconst_mod, ONLY: pi 15 USE comvert_mod, ONLY: ap, bp 16 15 17 IMPLICIT NONE 16 18 … … 34 36 include "paramet.h" 35 37 include "comgeom.h" 36 include "comvert.h"37 38 include "logic.h" 38 39 include "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F
r2598 r2600 33 33 use exner_milieu_loc_m, only: exner_milieu_loc 34 34 USE comconst_mod, ONLY: cpp, dtvr, ihf 35 USE comvert_mod, ONLY: ap, bp, pressure_exner 36 35 37 IMPLICIT NONE 36 38 … … 69 71 include "paramet.h" 70 72 include "comdissnew.h" 71 include "comvert.h"72 73 include "comgeom.h" 73 74 include "logic.h" … … 1632 1633 IF( MOD(itau,iecri).EQ.0) THEN 1633 1634 ! Ehouarn: output only during LF or Backward Matsuno 1634 1635 if (leapf.or.(.not.leapf.and.(.not.forward))) then 1635 1636 1636 1637 c$OMP BARRIER … … 1642 1643 #ifdef CPP_IOIPSL 1643 1644 if (ok_dyn_ins) then 1644 1645 CALL writehist_loc(itau,vcov,ucov,teta,pk,phi,q, 1645 1646 & masse,ps,phis) 1646 1647 endif -
LMDZ5/trunk/libf/dyn3dmem/qminimum_loc.F
r2286 r2600 7 7 c pour l'eau vapeur et l'eau liquide 8 8 c 9 #include "dimensions.h" 10 #include "paramet.h" 11 #include "comvert.h" 9 include "dimensions.h" 10 include "paramet.h" 12 11 c 13 12 INTEGER nqtot ! CRisi: on remplace nq par nqtot -
LMDZ5/trunk/libf/dyn3dmem/sw_case_williamson91_6_loc.F
r2597 r2600 28 28 USE parallel_lmdz 29 29 USE comconst_mod, ONLY: cpp, omeg, rad 30 USE comvert_mod, ONLY: ap, bp, preff 30 31 31 32 IMPLICIT NONE … … 36 37 include "dimensions.h" 37 38 include "paramet.h" 38 include "comvert.h"39 39 include "comgeom.h" 40 40 include "iniprint.h" -
LMDZ5/trunk/libf/dyn3dmem/top_bound_loc.F
r2597 r2600 6 6 USE comconst_mod, ONLY: iflag_top_bound, mode_top_bound, 7 7 & tau_top_bound 8 USE comvert_mod, ONLY: presnivs, preff, scaleheight 9 8 10 IMPLICIT NONE 9 11 c 10 12 include "dimensions.h" 11 13 include "paramet.h" 12 include "comvert.h"13 14 include "comgeom2.h" 14 15 -
LMDZ5/trunk/libf/dyn3dmem/vitvert_loc.F90
r2336 r2600 6 6 ! Purpose: Compute vertical speed at sigma levels. 7 7 USE parallel_lmdz 8 USE comvert_mod, ONLY: bp 9 8 10 IMPLICIT NONE 9 11 include "dimensions.h" 10 12 include "paramet.h" 11 include "comvert.h"12 13 !=============================================================================== 13 14 ! Arguments: -
LMDZ5/trunk/libf/dyn3dmem/vlsplt_loc.F
r2597 r2600 20 20 include "paramet.h" 21 21 include "logic.h" 22 include "comvert.h"23 22 c 24 23 c … … 422 421 include "paramet.h" 423 422 include "logic.h" 424 include "comvert.h"425 423 include "comgeom.h" 426 424 c … … 877 875 include "paramet.h" 878 876 include "logic.h" 879 include "comvert.h"880 877 c 881 878 c -
LMDZ5/trunk/libf/dyn3dmem/vlspltgen_loc.F
r2597 r2600 38 38 include "paramet.h" 39 39 include "logic.h" 40 include "comvert.h"41 40 42 41 c -
LMDZ5/trunk/libf/dyn3dmem/vlspltqs_loc.F
r2597 r2600 15 15 include "paramet.h" 16 16 include "logic.h" 17 include "comvert.h"18 17 c 19 18 c … … 173 172 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 174 173 DO l=1,llm 175 174 iadvplus(ip1jm+1:ip1jmp1,l)=0 176 175 ENDDO 177 176 c$OMP END DO NOWAIT 178 177 endif 179 178 180 179 c calcul des flux a gauche et a droite 181 180 … … 413 412 c ******************************************************************** 414 413 c q,masse_adv_v,w sont des arguments d'entree pour le s-pg .... 415 c qsat 414 c qsat est un argument de sortie pour le s-pg .... 416 415 c 417 416 c … … 425 424 include "paramet.h" 426 425 include "logic.h" 427 include "comvert.h"428 426 include "comgeom.h" 429 427 c … … 581 579 dyq(ij,l)=fn*dyq(ij,l) 582 580 ENDDO 583 581 584 582 ENDIF 585 583 … … 602 600 ENDDO 603 601 604 c calcul des pentes limites aux poles 602 c calcul des pentes limites aux poles 605 603 fs=1. 606 604 DO ij=1,iim … … 613 611 dyq(ip1jm+ij,l)=fs*dyq(ip1jm+ij,l) 614 612 ENDDO 615 613 616 614 ENDIF 617 615 … … 778 776 masse(ij,l,iq)=newmasse 779 777 ENDDO 780 781 ENDIF782 778 783 IF (pole_sud) THEN 784 785 convps = -SSUM(iim,qbyv(ip1jm-iim,l,iq),iq,1)/apols 779 ENDIF 780 781 IF (pole_sud) THEN 782 783 convps = -SSUM(iim,qbyv(ip1jm-iim,l,iq),iq,1)/apols 786 784 convmps = -SSUM(iim,masse_adv_v(ip1jm-iim,l),1)/apols 787 785 DO ij = ip1jm+1,ip1jmp1 … … 791 789 masse(ij,l,iq)=newmasse 792 790 ENDDO 793 794 791 792 ENDIF 795 793 c.-. fin ancienne version 796 794 -
LMDZ5/trunk/libf/dyn3dmem/writedynav_loc.F
r2598 r2600 44 44 include "dimensions.h" 45 45 include "paramet.h" 46 include "comvert.h"47 46 include "comgeom.h" 48 47 include "temps.h" -
LMDZ5/trunk/libf/dyn3dmem/writehist_loc.F
r2598 r2600 44 44 include "dimensions.h" 45 45 include "paramet.h" 46 include "comvert.h"47 46 include "comgeom.h" 48 47 include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/advect_new_p.F
r2597 r2600 29 29 #include "dimensions.h" 30 30 #include "paramet.h" 31 #include "comvert.h"32 31 #include "comgeom.h" 33 32 #include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/advect_p.F
r2597 r2600 28 28 #include "dimensions.h" 29 29 #include "paramet.h" 30 #include "comvert.h"31 30 #include "comgeom.h" 32 31 #include "logic.h" … … 86 85 87 86 uav(ij,l)=0.25*(ucov(ij,l)+ucov(ij-iip1,l)) 88 . 87 . +0.25*(ucov(ij+iip1,l)+ucov(ij,l)) 89 88 ENDDO 90 89 -
LMDZ5/trunk/libf/dyn3dpar/advtrac_p.F90
r2597 r2600 24 24 include "dimensions.h" 25 25 include "paramet.h" 26 include "comvert.h"27 26 include "comdissip.h" 28 27 include "comgeom2.h" -
LMDZ5/trunk/libf/dyn3dpar/bilan_dyn_p.F
r2597 r2600 18 18 use write_field_p 19 19 USE comconst_mod, ONLY: cpp, pi 20 USE comvert_mod, ONLY: presnivs 21 20 22 IMPLICIT NONE 21 23 22 24 #include "dimensions.h" 23 25 #include "paramet.h" 24 #include "comvert.h"25 26 #include "comgeom2.h" 26 27 #include "temps.h" … … 202 203 203 204 ! if (i_sortie.eq.1) then 204 ! 205 ! file='dynzon' 205 206 ! if (mpi_rank==0) then 206 ! 207 ! call inigrads(ifile,1 207 208 ! s ,0.,180./pi,0.,0.,jjm,rlatv,-90.,90.,180./pi 208 209 ! s ,llm,presnivs,1. … … 568 569 do l=1,llm 569 570 Q_cum(:,jjb:jje,l,iQ)=Q_cum(:,jjb:jje,l,iQ) 570 . 571 . /masse_cum(:,jjb:jje,l) 571 572 enddo 572 573 !$OMP ENDDO NOWAIT -
LMDZ5/trunk/libf/dyn3dpar/caldyn_p.F
r2597 r2600 10 10 USE parallel_lmdz 11 11 USE Write_Field_p 12 USE comvert_mod, ONLY: ap, bp 12 13 13 14 IMPLICIT NONE … … 31 32 #include "dimensions.h" 32 33 #include "paramet.h" 33 #include "comvert.h"34 34 #include "comgeom.h" 35 35 -
LMDZ5/trunk/libf/dyn3dpar/convmas1_p.F
r1907 r2600 32 32 #include "dimensions.h" 33 33 #include "paramet.h" 34 #include "comvert.h"35 34 #include "logic.h" 36 35 -
LMDZ5/trunk/libf/dyn3dpar/convmas2_p.F
r1907 r2600 32 32 #include "dimensions.h" 33 33 #include "paramet.h" 34 #include "comvert.h"35 34 #include "logic.h" 36 35 -
LMDZ5/trunk/libf/dyn3dpar/convmas_p.F
r1907 r2600 32 32 #include "dimensions.h" 33 33 #include "paramet.h" 34 #include "comvert.h"35 34 #include "logic.h" 36 35 -
LMDZ5/trunk/libf/dyn3dpar/dudv2_p.F
r1907 r2600 25 25 #include "dimensions.h" 26 26 #include "paramet.h" 27 #include "comvert.h"28 27 29 28 REAL teta( ip1jmp1,llm ),pkf( ip1jmp1,llm ) ,bern( ip1jmp1,llm ), -
LMDZ5/trunk/libf/dyn3dpar/dynetat0.F
r2598 r2600 9 9 10 10 use control_mod, only : planet_type 11 USE comvert_mod, ONLY: pa,preff 11 12 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, im, jm, kappa, 12 13 & lllm, omeg, rad 14 13 15 USE serre_mod, ONLY: clon,clat,grossismx,grossismy 14 16 … … 33 35 #include "paramet.h" 34 36 #include "temps.h" 35 #include "comvert.h"36 37 #include "comgeom2.h" 37 38 #include "ener.h" -
LMDZ5/trunk/libf/dyn3dpar/dynredem.F
r2598 r2600 9 9 USE infotrac 10 10 use netcdf95, only: NF95_PUT_VAR 11 USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt,pa,preff, 12 & nivsig,nivsigs 11 13 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad 12 14 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, … … 21 23 #include "dimensions.h" 22 24 #include "paramet.h" 23 #include "comvert.h"24 25 #include "comgeom2.h" 25 26 #include "temps.h" … … 481 482 #include "description.h" 482 483 #include "netcdf.inc" 483 #include "comvert.h"484 484 #include "comgeom.h" 485 485 #include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/dynredem_p.F
r2598 r2600 10 10 USE infotrac 11 11 use netcdf95, only: NF95_PUT_VAR 12 USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt,pa,preff, 13 & nivsig,nivsigs 12 14 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad 13 15 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, … … 22 24 #include "dimensions.h" 23 25 #include "paramet.h" 24 #include "comvert.h"25 26 #include "comgeom2.h" 26 27 #include "temps.h" … … 482 483 #include "description.h" 483 484 #include "netcdf.inc" 484 #include "comvert.h"485 485 #include "comgeom.h" 486 486 #include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/exner_hyb_p_m.F90
r2598 r2600 34 34 USE parallel_lmdz 35 35 USE comconst_mod, ONLY: cpp, kappa, r, jmp1 36 USE comvert_mod, ONLY: preff 36 37 ! 37 38 include "dimensions.h" 38 39 include "paramet.h" 39 40 include "comgeom.h" 40 include "comvert.h"41 41 42 42 INTEGER ngrid -
LMDZ5/trunk/libf/dyn3dpar/exner_milieu_p_m.F90
r2598 r2600 31 31 USE parallel_lmdz 32 32 USE comconst_mod, ONLY: cpp, kappa, r, jmp1 33 USE comvert_mod, ONLY: preff 33 34 ! 34 35 include "dimensions.h" 35 36 include "paramet.h" 36 37 include "comgeom.h" 37 include "comvert.h"38 38 39 39 INTEGER ngrid -
LMDZ5/trunk/libf/dyn3dpar/fluxstokenc_p.F
r2597 r2600 21 21 #include "dimensions.h" 22 22 #include "paramet.h" 23 #include "comvert.h"24 23 #include "comgeom.h" 25 24 #include "tracstoke.h" -
LMDZ5/trunk/libf/dyn3dpar/gcm.F
r2598 r2600 68 68 #include "paramet.h" 69 69 #include "comdissnew.h" 70 #include "comvert.h"71 70 #include "comgeom.h" 72 71 #include "logic.h" -
LMDZ5/trunk/libf/dyn3dpar/geopot_p.F
r1907 r2600 28 28 #include "dimensions.h" 29 29 #include "paramet.h" 30 #include "comvert.h"31 30 32 31 c Arguments: -
LMDZ5/trunk/libf/dyn3dpar/groupe_p.F
r2597 r2600 18 18 #include "paramet.h" 19 19 #include "comgeom2.h" 20 #include "comvert.h"21 20 22 21 ! integer ngroup -
LMDZ5/trunk/libf/dyn3dpar/guide_p_mod.F90
r2598 r2600 340 340 USE control_mod 341 341 USE comconst_mod, ONLY: daysec, dtvr, cpp, kappa 342 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 342 343 343 344 IMPLICIT NONE … … 345 346 INCLUDE "dimensions.h" 346 347 INCLUDE "paramet.h" 347 INCLUDE "comvert.h"348 348 349 349 ! Variables entree … … 707 707 USE Bands 708 708 USE comconst_mod, ONLY: cpp, kappa 709 USE comvert_mod, ONLY: preff, pressure_exner, bp, ap 709 710 IMPLICIT NONE 710 711 711 712 include "dimensions.h" 712 713 include "paramet.h" 713 include "comvert.h"714 714 include "comgeom2.h" 715 715 … … 1814 1814 USE parallel_lmdz 1815 1815 USE comconst_mod, ONLY: pi 1816 USE comvert_mod, ONLY: presnivs 1816 1817 IMPLICIT NONE 1817 1818 … … 1820 1821 INCLUDE "netcdf.inc" 1821 1822 INCLUDE "comgeom2.h" 1822 INCLUDE "comvert.h"1823 1823 1824 1824 ! Variables entree -
LMDZ5/trunk/libf/dyn3dpar/iniacademic.F90
r2597 r2600 17 17 use exner_milieu_m, only: exner_milieu 18 18 USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm 19 USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner 19 20 20 21 ! Author: Frederic Hourdin original: 15/01/93 … … 29 30 include "dimensions.h" 30 31 include "paramet.h" 31 include "comvert.h"32 32 include "comgeom.h" 33 33 include "academic.h" -
LMDZ5/trunk/libf/dyn3dpar/initdynav_p.F
r2598 r2600 13 13 USE infotrac 14 14 USE comconst_mod, ONLY: pi 15 USE comvert_mod, ONLY: nivsigs 15 16 16 17 implicit none … … 44 45 #include "dimensions.h" 45 46 #include "paramet.h" 46 #include "comvert.h"47 47 #include "comgeom.h" 48 48 #include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/initfluxsto_p.F
r2598 r2600 14 14 use misc_mod 15 15 USE comconst_mod, ONLY: pi 16 USE comvert_mod, ONLY: nivsigs 16 17 17 18 implicit none … … 46 47 #include "dimensions.h" 47 48 #include "paramet.h" 48 #include "comvert.h"49 49 #include "comgeom.h" 50 50 #include "temps.h" … … 105 105 CALL ymds2ju(zan, 1, idayref, 0.0, zjulian) 106 106 tau0 = itau_dyn 107 108 107 108 do jj = 1, jjp1 109 109 do ii = 1, iip1 110 110 rlong(ii,jj) = rlonu(ii) * 180. / pi … … 164 164 . 1, iip1, 1, jjn,tau0, zjulian, tstep, vhoriid, 165 165 . filevid,dynv_domain_id) 166 167 rl(1,1) = 1. 166 167 rl(1,1) = 1. 168 168 169 169 if (mpi_rank==0) then … … 190 190 call histhori(fileid, iip1, rlong(:,jjb:jje),jjn,rlat(:,jjb:jje), 191 191 . 'scalar','Grille points scalaires', thoriid) 192 192 193 193 C 194 194 C Appel a histvert pour la grille verticale … … 210 210 C 211 211 C Appels a histdef pour la definition des variables a sauvegarder 212 213 212 213 CALL histdef(fileid, "phis", "Surface geop. height", "-", 214 214 . iip1,jjn,thoriid, 1,1,1, -99, 32, 215 215 . "once", t_ops, t_wrt) … … 218 218 . iip1,jjn,thoriid, 1,1,1, -99, 32, 219 219 . "once", t_ops, t_wrt) 220 220 221 221 if (mpi_rank==0) then 222 223 222 223 CALL histdef(filedid, "dtvr", "tps dyn", "s", 224 224 . 1,1,dhoriid, 1,1,1, -99, 32, 225 225 . "once", t_ops, t_wrt) … … 288 288 if (mpi_rank==0) call histsync(filedid) 289 289 endif 290 290 291 291 #else 292 292 write(lunout,*)'initfluxsto_p: Needs IOIPSL to function' -
LMDZ5/trunk/libf/dyn3dpar/inithist_p.F
r2598 r2600 14 14 USE infotrac 15 15 USE comconst_mod, ONLY: pi 16 USE comvert_mod, ONLY: nivsigs 16 17 17 18 implicit none … … 46 47 #include "dimensions.h" 47 48 #include "paramet.h" 48 #include "comvert.h"49 49 #include "comgeom.h" 50 50 #include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/integrd_p.F
r2598 r2600 8 8 USE control_mod, only : planet_type 9 9 USE comconst_mod, ONLY: pi 10 USE comvert_mod, ONLY: ap, bp 10 11 IMPLICIT NONE 11 12 … … 29 30 #include "paramet.h" 30 31 #include "comgeom.h" 31 #include "comvert.h"32 32 #include "logic.h" 33 33 #include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/leapfrog_p.F
r2598 r2600 28 28 & periodav, ok_dyn_ave, output_grads_dyn, 29 29 & iapp_tracvl 30 USE comvert_mod, ONLY: ap,bp,pressure_exner,presnivs 30 31 USE comconst_mod, ONLY: cpp, dtvr, ihf, dtphys, pi, jmp1 31 32 IMPLICIT NONE … … 65 66 #include "paramet.h" 66 67 #include "comdissnew.h" 67 #include "comvert.h"68 68 #include "comgeom.h" 69 69 #include "logic.h" … … 1454 1454 call Gather_Field(teta,ip1jmp1,llm,0) 1455 1455 call Gather_Field(pk,ip1jmp1,llm,0) 1456 1456 call Gather_Field(phi,ip1jmp1,llm,0) 1457 1457 do iq=1,nqtot 1458 1458 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1459 1459 enddo 1460 1460 call Gather_Field(masse,ip1jmp1,llm,0) 1461 1461 call Gather_Field(ps,ip1jmp1,1,0) 1462 1462 call Gather_Field(phis,ip1jmp1,1,0) 1463 1463 if (mpi_rank==0) then 1464 1464 CALL writedynav(itau,vcov, 1465 1465 & ucov,teta,pk,phi,q,masse,ps,phis) 1466 1466 endif 1467 1467 #endif 1468 1468 !$OMP END MASTER … … 1476 1476 IF( MOD(itau,iecri).EQ.0) THEN 1477 1477 ! Ehouarn: output only during LF or Backward Matsuno 1478 1478 if (leapf.or.(.not.leapf.and.(.not.forward))) then 1479 1479 c$OMP BARRIER 1480 1480 c$OMP MASTER … … 1514 1514 call Gather_Field(ucov,ip1jmp1,llm,0) 1515 1515 call Gather_Field(teta,ip1jmp1,llm,0) 1516 1516 call Gather_Field(phi,ip1jmp1,llm,0) 1517 1517 do iq=1,nqtot 1518 1518 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1519 1519 enddo 1520 1520 call Gather_Field(masse,ip1jmp1,llm,0) 1521 1521 call Gather_Field(ps,ip1jmp1,1,0) 1522 1522 call Gather_Field(phis,ip1jmp1,1,0) 1523 1523 if (mpi_rank==0) then 1524 1525 1524 CALL writehist(itau,vcov,ucov,teta,phi,q,masse,ps,phis) 1525 endif 1526 1526 ! CALL writehist_p(histid,histvid, itau,vcov, 1527 1527 ! & ucov,teta,phi,q,masse,ps,phis) … … 1649 1649 call Gather_Field(teta,ip1jmp1,llm,0) 1650 1650 call Gather_Field(pk,ip1jmp1,llm,0) 1651 1651 call Gather_Field(phi,ip1jmp1,llm,0) 1652 1652 do iq=1,nqtot 1653 1653 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1654 1654 enddo 1655 1655 call Gather_Field(masse,ip1jmp1,llm,0) 1656 1656 call Gather_Field(ps,ip1jmp1,1,0) 1657 1657 call Gather_Field(phis,ip1jmp1,1,0) 1658 1658 if (mpi_rank==0) then 1659 1659 CALL writedynav(itau,vcov, 1660 1660 & ucov,teta,pk,phi,q,masse,ps,phis) 1661 1661 endif 1662 1662 #endif 1663 1663 !$OMP END MASTER … … 1705 1705 call Gather_Field(ucov,ip1jmp1,llm,0) 1706 1706 call Gather_Field(teta,ip1jmp1,llm,0) 1707 1707 call Gather_Field(phi,ip1jmp1,llm,0) 1708 1708 do iq=1,nqtot 1709 1709 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1710 1710 enddo 1711 1711 call Gather_Field(masse,ip1jmp1,llm,0) 1712 1712 call Gather_Field(ps,ip1jmp1,1,0) 1713 1713 call Gather_Field(phis,ip1jmp1,1,0) 1714 1714 if (mpi_rank==0) then 1715 1715 CALL writehist(itau,vcov,ucov,teta,phi,q,masse,ps,phis) 1716 1716 endif 1717 1717 ! CALL writehist_p(histid, histvid, itau,vcov , 1718 1718 ! & ucov,teta,phi,q,masse,ps,phis) -
LMDZ5/trunk/libf/dyn3dpar/qminimum_p.F
r1907 r2600 8 8 #include "dimensions.h" 9 9 #include "paramet.h" 10 #include "comvert.h"11 10 c 12 11 INTEGER nq -
LMDZ5/trunk/libf/dyn3dpar/sw_case_williamson91_6.F
r2597 r2600 27 27 c======================================================================= 28 28 USE comconst_mod, ONLY: cpp, omeg, rad 29 USE comvert_mod, ONLY: ap, bp, preff 30 29 31 IMPLICIT NONE 30 32 c----------------------------------------------------------------------- … … 34 36 #include "dimensions.h" 35 37 #include "paramet.h" 36 #include "comvert.h"37 38 #include "comgeom.h" 38 39 #include "iniprint.h" -
LMDZ5/trunk/libf/dyn3dpar/top_bound_p.F
r2597 r2600 6 6 USE comconst_mod, ONLY: iflag_top_bound, mode_top_bound, 7 7 & tau_top_bound 8 USE comvert_mod, ONLY: presnivs, preff, scaleheight 9 8 10 IMPLICIT NONE 9 11 c 10 12 #include "dimensions.h" 11 13 #include "paramet.h" 12 #include "comvert.h"13 14 #include "comgeom2.h" 14 15 … … 70 71 REAL uzon(jjp1,llm),vzon(jjm,llm),tzon(jjp1,llm) 71 72 72 integer i 73 integer i 73 74 REAL,SAVE :: rdamp(llm) ! quenching coefficient 74 75 real,save :: lambda(llm) ! inverse or quenching time scale (Hz) -
LMDZ5/trunk/libf/dyn3dpar/vitvert_p.F
r1907 r2600 2 2 c 3 3 USE parallel_lmdz 4 USE comvert_mod, ONLY: bp 5 4 6 IMPLICIT NONE 5 7 … … 28 30 #include "dimensions.h" 29 31 #include "paramet.h" 30 #include "comvert.h"31 32 32 33 REAL w(ip1jmp1,llm),convm(ip1jmp1,llm) -
LMDZ5/trunk/libf/dyn3dpar/vlsplt_p.F
r2597 r2600 26 26 #include "paramet.h" 27 27 #include "logic.h" 28 #include "comvert.h"29 28 30 29 c … … 208 207 #include "paramet.h" 209 208 #include "logic.h" 210 #include "comvert.h"211 209 c 212 210 c … … 543 541 #include "paramet.h" 544 542 #include "logic.h" 545 #include "comvert.h"546 543 #include "comgeom.h" 547 544 c … … 931 928 #include "paramet.h" 932 929 #include "logic.h" 933 #include "comvert.h"934 930 c 935 931 c -
LMDZ5/trunk/libf/dyn3dpar/vlspltgen_p.F
r2597 r2600 34 34 #include "paramet.h" 35 35 #include "logic.h" 36 #include "comvert.h"37 36 38 37 c … … 105 104 106 105 107 108 109 110 111 106 ijb=ij_begin-iip1 107 ije=ij_end+iip1 108 if (pole_nord) ijb=ij_begin 109 if (pole_sud) ije=ij_end 110 112 111 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 113 112 DO l = 1, llm 114 113 DO ij = ijb, ije 115 114 tempe(ij) = teta(ij,l) * pk(ij,l) /cpp … … 191 190 192 191 if(iadv(iq) == 0) then 193 194 195 196 192 193 cycle 194 195 else if (iadv(iq)==10) then 197 196 198 197 #ifdef _ADV_HALO 199 200 & 198 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu, 199 & ij_begin,ij_begin+2*iip1-1) 201 200 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu, 202 201 & ij_end-2*iip1+1,ij_end) 203 202 #else 204 205 & 203 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu, 204 & ij_begin,ij_end) 206 205 #endif 207 206 … … 215 214 call VTe(VTHallo) 216 215 c$OMP END MASTER 217 216 else if (iadv(iq)==14) then 218 217 219 218 #ifdef _ADV_HALO … … 239 238 c$OMP END MASTER 240 239 else 241 242 240 241 stop 'vlspltgen_p : schema non parallelise' 243 242 244 243 endif … … 261 260 262 261 if(iadv(iq) == 0) then 263 264 265 266 262 263 cycle 264 265 else if (iadv(iq)==10) then 267 266 268 267 #ifdef _ADV_HALLO … … 270 269 & ij_begin+2*iip1,ij_end-2*iip1) 271 270 #endif 272 271 else if (iadv(iq)==14) then 273 272 #ifdef _ADV_HALLO 274 273 call vlxqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu,qsat, … … 276 275 #endif 277 276 else 278 279 277 278 stop 'vlspltgen_p : schema non parallelise' 280 279 281 280 endif … … 301 300 302 301 if(iadv(iq) == 0) then 303 304 305 306 302 303 cycle 304 305 else if (iadv(iq)==10) then 307 306 308 307 call vly_p(zq(1,1,iq),pente_max,zm(1,1,iq),mv) 309 308 310 309 else if (iadv(iq)==14) then 311 310 312 311 call vlyqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mv,qsat) 313 312 314 313 else 315 316 314 315 stop 'vlspltgen_p : schema non parallelise' 317 316 318 317 endif … … 324 323 325 324 if(iadv(iq) == 0) then 326 327 328 329 325 326 cycle 327 328 else if (iadv(iq)==10 .or. iadv(iq)==14 ) then 330 329 331 330 c$OMP BARRIER … … 350 349 c$OMP MASTER 351 350 call VTe(VTHallo) 352 c$OMP END MASTER 353 c$OMP BARRIER 354 else 355 356 351 c$OMP END MASTER 352 c$OMP BARRIER 353 else 354 355 stop 'vlspltgen_p : schema non parallelise' 357 356 358 357 endif … … 369 368 c$OMP MASTER 370 369 call VTe(VTHallo) 371 c$OMP END MASTER 370 c$OMP END MASTER 372 371 373 372 c$OMP BARRIER … … 375 374 376 375 if(iadv(iq) == 0) then 377 378 379 380 376 377 cycle 378 379 else if (iadv(iq)==10 .or. iadv(iq)==14 ) then 381 380 c$OMP BARRIER 382 381 … … 388 387 c$OMP BARRIER 389 388 else 390 391 389 390 stop 'vlspltgen_p : schema non parallelise' 392 391 393 392 endif … … 414 413 415 414 if(iadv(iq) == 0) then 416 417 418 419 415 416 cycle 417 418 else if (iadv(iq)==10) then 420 419 421 420 call vly_p(zq(1,1,iq),pente_max,zm(1,1,iq),mv) 422 421 423 422 else if (iadv(iq)==14) then 424 423 425 424 call vlyqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mv,qsat) 426 425 427 426 else 428 429 427 428 stop 'vlspltgen_p : schema non parallelise' 430 429 431 430 endif … … 436 435 437 436 if(iadv(iq) == 0) then 438 439 440 441 437 438 cycle 439 440 else if (iadv(iq)==10) then 442 441 443 442 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu, 444 443 & ij_begin,ij_end) 445 444 446 445 else if (iadv(iq)==14) then 447 446 448 447 call vlxqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu,qsat, … … 450 449 451 450 else 452 451 453 452 stop 'vlspltgen_p : schema non parallelise' 454 453 … … 469 468 DO ij=ijb,ije 470 469 c print *,'zq-->',ij,l,iq,zq(ij,l,iq) 471 c 472 470 c print *,'q-->',ij,l,iq,q(ij,l,iq) 471 q(ij,l,iq)=zq(ij,l,iq) 473 472 ENDDO 474 473 ENDDO -
LMDZ5/trunk/libf/dyn3dpar/vlspltqs_p.F
r2597 r2600 32 32 #include "paramet.h" 33 33 #include "logic.h" 34 #include "comvert.h"35 34 36 35 c … … 237 236 #include "paramet.h" 238 237 #include "logic.h" 239 #include "comvert.h"240 238 c 241 239 c … … 589 587 #include "paramet.h" 590 588 #include "logic.h" 591 #include "comvert.h"592 589 #include "comgeom.h" 593 590 c -
LMDZ5/trunk/libf/dyn3dpar/writedynav_p.F
r2598 r2600 43 43 #include "dimensions.h" 44 44 #include "paramet.h" 45 #include "comvert.h"46 45 #include "comgeom.h" 47 46 #include "temps.h" -
LMDZ5/trunk/libf/dyn3dpar/writehist_p.F
r2598 r2600 43 43 #include "dimensions.h" 44 44 #include "paramet.h" 45 #include "comvert.h"46 45 #include "comgeom.h" 47 46 #include "temps.h" -
LMDZ5/trunk/libf/dynphy_lonlat/calfis.F
r2597 r2600 35 35 #endif 36 36 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, kappa, pi 37 USE comvert_mod, ONLY: preff, presnivs 37 38 38 39 IMPLICIT NONE … … 90 91 c ------------------ 91 92 92 #include "dimensions.h"93 #include "paramet.h"94 #include "temps.h"93 include "dimensions.h" 94 include "paramet.h" 95 include "temps.h" 95 96 96 97 INTEGER ngridmx 97 98 PARAMETER( ngridmx = 2+(jjm-1)*iim - 1/jjm ) 98 99 99 #include "comvert.h" 100 #include "comgeom2.h" 101 #include "iniprint.h" 100 include "comgeom2.h" 101 include "iniprint.h" 102 102 103 103 c Arguments : -
LMDZ5/trunk/libf/dynphy_lonlat/calfis_loc.F
r2597 r2600 50 50 USE callphysiq_mod, ONLY: call_physiq 51 51 #endif 52 USE comvert_mod, ONLY: preff, presnivs 52 53 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, kappa, pi 53 54 … … 115 116 PARAMETER( ngridmx = 2+(jjm-1)*iim - 1/jjm ) 116 117 117 include "comvert.h"118 118 include "comgeom2.h" 119 119 include "iniprint.h" … … 277 277 ALLOCATE(flxwfi(klon,llm)) 278 278 c$OMP END MASTER 279 c$OMP BARRIER 279 c$OMP BARRIER 280 280 ELSE 281 281 debut = .FALSE. … … 365 365 enddo 366 366 ENDDO 367 c$OMP END DO NOWAIT 367 c$OMP END DO NOWAIT 368 368 ENDDO 369 369 … … 382 382 enddo 383 383 ENDDO 384 c$OMP END DO NOWAIT 384 c$OMP END DO NOWAIT 385 385 386 386 c CALL gr_dyn_fi_p(llm,iip1,jjp1,klon,pphi,zphi) … … 403 403 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 404 404 DO l=1,llm 405 406 407 405 DO ig=1,klon 406 zphi(ig,l)=zphi(ig,l)-zphis(ig) 407 ENDDO 408 408 ENDDO 409 409 c$OMP END DO NOWAIT … … 532 532 DO i=2,iim 533 533 z1(i) =(rlonu(i)-rlonu(i-1))*pvcov(i,jjm,l)/cv(i,jjm) 534 534 ENDDO 535 535 536 536 DO i=1,iim 537 537 zcos(i) = COS(rlonv(i))*z1(i) 538 538 zsin(i) = SIN(rlonv(i))*z1(i) 539 539 ENDDO 540 540 541 541 zufi(klon,l) = SSUM(iim,zcos,1)/pi … … 590 590 allocate(zdpsrf_omp(klon)) 591 591 allocate(flxwfi_omp(klon,llm)) 592 592 first_omp=.false. 593 593 endif 594 594 595 595 596 596 klon=klon_omp 597 597 offset=klon_omp_begin-1 … … 600 600 do i=1,klon 601 601 zplev_omp(i,l)=zplev(offset+i,l) 602 603 enddo 604 602 enddo 603 enddo 604 605 605 do l=1,llm 606 606 do i=1,klon 607 608 609 enddo 610 611 do l=1,llm 612 do i=1,klon 613 614 615 enddo 616 607 zplay_omp(i,l)=zplay(offset+i,l) 608 enddo 609 enddo 610 611 do l=1,llm 612 do i=1,klon 613 zphi_omp(i,l)=zphi(offset+i,l) 614 enddo 615 enddo 616 617 617 do i=1,klon 618 618 zphis_omp(i)=zphis(offset+i) 619 619 enddo 620 620 621 621 622 622 do l=1,llm 623 623 presnivs_omp(l)=presnivs(l) 624 624 enddo 625 626 do l=1,llm 627 do i=1,klon 628 629 630 enddo 631 632 do l=1,llm 633 do i=1,klon 634 635 636 enddo 637 638 do l=1,llm 639 do i=1,klon 640 641 642 enddo 643 644 do l=1,llm 645 do i=1,klon 646 647 648 enddo 649 625 626 do l=1,llm 627 do i=1,klon 628 zufi_omp(i,l)=zufi(offset+i,l) 629 enddo 630 enddo 631 632 do l=1,llm 633 do i=1,klon 634 zvfi_omp(i,l)=zvfi(offset+i,l) 635 enddo 636 enddo 637 638 do l=1,llm 639 do i=1,klon 640 zrfi_omp(i,l)=zrfi(offset+i,l) 641 enddo 642 enddo 643 644 do l=1,llm 645 do i=1,klon 646 ztfi_omp(i,l)=ztfi(offset+i,l) 647 enddo 648 enddo 649 650 650 do iq=1,nqtot 651 651 do l=1,llm 652 652 do i=1,klon 653 653 zqfi_omp(i,l,iq)=zqfi(offset+i,l,iq) 654 655 656 enddo 657 658 do l=1,llm 659 do i=1,klon 660 661 662 enddo 663 664 do l=1,llm 665 do i=1,klon 666 667 668 enddo 669 654 enddo 655 enddo 656 enddo 657 658 do l=1,llm 659 do i=1,klon 660 zdufi_omp(i,l)=zdufi(offset+i,l) 661 enddo 662 enddo 663 664 do l=1,llm 665 do i=1,klon 666 zdvfi_omp(i,l)=zdvfi(offset+i,l) 667 enddo 668 enddo 669 670 670 do l=1,llm 671 671 do i=1,klon 672 672 zdtfi_omp(i,l)=zdtfi(offset+i,l) 673 674 enddo 675 673 enddo 674 enddo 675 676 676 do iq=1,nqtot 677 677 do l=1,llm 678 678 do i=1,klon 679 680 679 zdqfi_omp(i,l,iq)=zdqfi(offset+i,l,iq) 680 enddo 681 681 enddo 682 682 enddo 683 683 684 684 do i=1,klon 685 685 zdpsrf_omp(i)=zdpsrf(offset+i) 686 686 enddo 687 687 … … 689 689 do i=1,klon 690 690 flxwfi_omp(i,l)=flxwfi(offset+i,l) 691 691 enddo 692 692 enddo 693 693 … … 749 749 do i=1,klon 750 750 zplev(offset+i,l)=zplev_omp(i,l) 751 752 enddo 753 751 enddo 752 enddo 753 754 754 do l=1,llm 755 755 do i=1,klon 756 757 758 enddo 759 760 do l=1,llm 761 do i=1,klon 762 763 764 enddo 765 756 zplay(offset+i,l)=zplay_omp(i,l) 757 enddo 758 enddo 759 760 do l=1,llm 761 do i=1,klon 762 zphi(offset+i,l)=zphi_omp(i,l) 763 enddo 764 enddo 765 766 766 767 767 do i=1,klon 768 768 zphis(offset+i)=zphis_omp(i) 769 769 enddo 770 770 771 771 772 772 do l=1,llm 773 773 presnivs(l)=presnivs_omp(l) 774 774 enddo 775 776 do l=1,llm 777 do i=1,klon 778 779 780 enddo 781 782 do l=1,llm 783 do i=1,klon 784 785 786 enddo 787 788 do l=1,llm 789 do i=1,klon 790 791 792 enddo 793 775 776 do l=1,llm 777 do i=1,klon 778 zufi(offset+i,l)=zufi_omp(i,l) 779 enddo 780 enddo 781 782 do l=1,llm 783 do i=1,klon 784 zvfi(offset+i,l)=zvfi_omp(i,l) 785 enddo 786 enddo 787 788 do l=1,llm 789 do i=1,klon 790 ztfi(offset+i,l)=ztfi_omp(i,l) 791 enddo 792 enddo 793 794 794 do iq=1,nqtot 795 795 do l=1,llm 796 796 do i=1,klon 797 797 zqfi(offset+i,l,iq)=zqfi_omp(i,l,iq) 798 799 800 enddo 801 802 do l=1,llm 803 do i=1,klon 804 805 806 enddo 807 808 do l=1,llm 809 do i=1,klon 810 811 812 enddo 813 798 enddo 799 enddo 800 enddo 801 802 do l=1,llm 803 do i=1,klon 804 zdufi(offset+i,l)=zdufi_omp(i,l) 805 enddo 806 enddo 807 808 do l=1,llm 809 do i=1,klon 810 zdvfi(offset+i,l)=zdvfi_omp(i,l) 811 enddo 812 enddo 813 814 814 do l=1,llm 815 815 do i=1,klon 816 816 zdtfi(offset+i,l)=zdtfi_omp(i,l) 817 818 enddo 819 817 enddo 818 enddo 819 820 820 do iq=1,nqtot 821 821 do l=1,llm 822 822 do i=1,klon 823 824 823 zdqfi(offset+i,l,iq)=zdqfi_omp(i,l,iq) 824 enddo 825 825 enddo 826 826 enddo 827 827 828 828 do i=1,klon 829 829 zdpsrf(offset+i)=zdpsrf_omp(i) 830 830 enddo 831 831 … … 929 929 930 930 if (.not. is_south_pole_dyn) then 931 931 pdpsfi(:,jj_end:jj_end+1)=0 932 932 endif 933 933 c$OMP END MASTER … … 1045 1045 pdqfi(:,jj_begin:jj_end,l,:)=0. 1046 1046 ENDDO 1047 c$OMP END DO NOWAIT 1047 c$OMP END DO NOWAIT 1048 1048 1049 1049 C … … 1056 1056 !CDIR ON_ADB(index_j) 1057 1057 !cdir NODEP 1058 1058 DO ig0=kstart,kend 1059 1059 i=index_i(ig0) 1060 1060 j=index_j(ig0) … … 1062 1062 if (i==1) pdqfi(iip1,j,l,iiq) = zdqfi(ig0,l,iq) 1063 1063 ENDDO 1064 1065 1066 1064 1065 IF (is_north_pole_dyn) then 1066 DO i=1,iip1 1067 1067 pdqfi(i,1,l,iiq) = zdqfi(1,l,iq) 1068 1069 1070 1071 1072 1068 ENDDO 1069 ENDIF 1070 1071 IF (is_south_pole_dyn) then 1072 DO i=1,iip1 1073 1073 pdqfi(i,jjp1,l,iiq) = zdqfi(klon,l,iq) 1074 1075 1076 1074 ENDDO 1075 ENDIF 1076 1077 1077 ENDDO 1078 c$OMP END DO NOWAIT 1078 c$OMP END DO NOWAIT 1079 1079 ENDDO 1080 1080 … … 1136 1136 pdvfi(i,j,l)=0.5*(zdvfi2(ig0,l)+zdvfi2(ig0+iim,l))*cv(i,j) 1137 1137 if (i==1) pdvfi(iip1,j,l) = 0.5*(zdvfi2(ig0,l)+ 1138 $ 1139 $ 1138 $ zdvfi2(ig0+iim,l)) 1139 $ *cv(i,j) 1140 1140 enddo 1141 1141 -
LMDZ5/trunk/libf/dynphy_lonlat/calfis_p.F
r2597 r2600 47 47 USE callphysiq_mod, ONLY: call_physiq 48 48 #endif 49 USE comvert_mod, ONLY: preff, presnivs 49 50 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, kappa, pi 50 51 … … 111 112 PARAMETER( ngridmx = 2+(jjm-1)*iim - 1/jjm ) 112 113 113 #include "comvert.h"114 114 #include "comgeom2.h" 115 115 #include "iniprint.h" … … 277 277 ALLOCATE(flxwfi(klon,llm)) 278 278 c$OMP END MASTER 279 c$OMP BARRIER 279 c$OMP BARRIER 280 280 ELSE 281 281 debut = .FALSE. … … 365 365 enddo 366 366 ENDDO 367 c$OMP END DO NOWAIT 367 c$OMP END DO NOWAIT 368 368 ENDDO 369 369 … … 380 380 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 381 381 DO l=1,llm 382 383 384 382 DO ig=1,klon 383 zphi(ig,l)=zphi(ig,l)-zphis(ig) 384 ENDDO 385 385 ENDDO 386 386 c$OMP END DO NOWAIT … … 510 510 DO i=2,iim 511 511 z1(i) =(rlonu(i)-rlonu(i-1))*pvcov(i,jjm,l)/cv(i,jjm) 512 512 ENDDO 513 513 514 514 DO i=1,iim 515 515 zcos(i) = COS(rlonv(i))*z1(i) 516 516 zsin(i) = SIN(rlonv(i))*z1(i) 517 517 ENDDO 518 518 519 519 zufi(klon,l) = SSUM(iim,zcos,1)/pi … … 556 556 allocate(zdpsrf_omp(klon)) 557 557 allocate(flxwfi_omp(klon,llm)) 558 558 first_omp=.false. 559 559 endif 560 560 561 561 562 562 klon=klon_omp 563 563 offset=klon_omp_begin-1 … … 566 566 do i=1,klon 567 567 zplev_omp(i,l)=zplev(offset+i,l) 568 569 enddo 570 568 enddo 569 enddo 570 571 571 do l=1,llm 572 572 do i=1,klon 573 574 575 enddo 576 577 do l=1,llm 578 do i=1,klon 579 580 581 enddo 582 573 zplay_omp(i,l)=zplay(offset+i,l) 574 enddo 575 enddo 576 577 do l=1,llm 578 do i=1,klon 579 zphi_omp(i,l)=zphi(offset+i,l) 580 enddo 581 enddo 582 583 583 do i=1,klon 584 584 zphis_omp(i)=zphis(offset+i) 585 585 enddo 586 586 587 587 588 588 do l=1,llm 589 589 presnivs_omp(l)=presnivs(l) 590 590 enddo 591 592 do l=1,llm 593 do i=1,klon 594 595 596 enddo 597 598 do l=1,llm 599 do i=1,klon 600 601 602 enddo 603 604 do l=1,llm 605 do i=1,klon 606 607 608 enddo 609 610 611 do l=1,llm 612 do i=1,klon 613 614 615 enddo 616 591 592 do l=1,llm 593 do i=1,klon 594 zufi_omp(i,l)=zufi(offset+i,l) 595 enddo 596 enddo 597 598 do l=1,llm 599 do i=1,klon 600 zvfi_omp(i,l)=zvfi(offset+i,l) 601 enddo 602 enddo 603 604 do l=1,llm 605 do i=1,klon 606 zrfi_omp(i,l)=zrfi(offset+i,l) 607 enddo 608 enddo 609 610 611 do l=1,llm 612 do i=1,klon 613 ztfi_omp(i,l)=ztfi(offset+i,l) 614 enddo 615 enddo 616 617 617 do iq=1,nqtot 618 618 do l=1,llm 619 619 do i=1,klon 620 620 zqfi_omp(i,l,iq)=zqfi(offset+i,l,iq) 621 622 623 enddo 624 625 do l=1,llm 626 do i=1,klon 627 628 629 enddo 630 631 do l=1,llm 632 do i=1,klon 633 634 635 enddo 636 621 enddo 622 enddo 623 enddo 624 625 do l=1,llm 626 do i=1,klon 627 zdufi_omp(i,l)=zdufi(offset+i,l) 628 enddo 629 enddo 630 631 do l=1,llm 632 do i=1,klon 633 zdvfi_omp(i,l)=zdvfi(offset+i,l) 634 enddo 635 enddo 636 637 637 do l=1,llm 638 638 do i=1,klon 639 639 zdtfi_omp(i,l)=zdtfi(offset+i,l) 640 641 enddo 642 640 enddo 641 enddo 642 643 643 do iq=1,nqtot 644 644 do l=1,llm 645 645 do i=1,klon 646 647 646 zdqfi_omp(i,l,iq)=zdqfi(offset+i,l,iq) 647 enddo 648 648 enddo 649 649 enddo 650 650 651 651 do i=1,klon 652 652 zdpsrf_omp(i)=zdpsrf(offset+i) 653 653 enddo 654 654 … … 656 656 do i=1,klon 657 657 flxwfi_omp(i,l)=flxwfi(offset+i,l) 658 658 enddo 659 659 enddo 660 660 … … 713 713 do i=1,klon 714 714 zplev(offset+i,l)=zplev_omp(i,l) 715 716 enddo 717 715 enddo 716 enddo 717 718 718 do l=1,llm 719 719 do i=1,klon 720 721 722 enddo 723 724 do l=1,llm 725 do i=1,klon 726 727 728 enddo 729 720 zplay(offset+i,l)=zplay_omp(i,l) 721 enddo 722 enddo 723 724 do l=1,llm 725 do i=1,klon 726 zphi(offset+i,l)=zphi_omp(i,l) 727 enddo 728 enddo 729 730 730 731 731 do i=1,klon 732 732 zphis(offset+i)=zphis_omp(i) 733 733 enddo 734 734 735 735 736 736 do l=1,llm 737 737 presnivs(l)=presnivs_omp(l) 738 738 enddo 739 740 do l=1,llm 741 do i=1,klon 742 743 744 enddo 745 746 do l=1,llm 747 do i=1,klon 748 749 750 enddo 751 752 do l=1,llm 753 do i=1,klon 754 755 756 enddo 757 739 740 do l=1,llm 741 do i=1,klon 742 zufi(offset+i,l)=zufi_omp(i,l) 743 enddo 744 enddo 745 746 do l=1,llm 747 do i=1,klon 748 zvfi(offset+i,l)=zvfi_omp(i,l) 749 enddo 750 enddo 751 752 do l=1,llm 753 do i=1,klon 754 ztfi(offset+i,l)=ztfi_omp(i,l) 755 enddo 756 enddo 757 758 758 do iq=1,nqtot 759 759 do l=1,llm 760 760 do i=1,klon 761 761 zqfi(offset+i,l,iq)=zqfi_omp(i,l,iq) 762 763 764 enddo 765 766 do l=1,llm 767 do i=1,klon 768 769 770 enddo 771 772 do l=1,llm 773 do i=1,klon 774 775 776 enddo 777 762 enddo 763 enddo 764 enddo 765 766 do l=1,llm 767 do i=1,klon 768 zdufi(offset+i,l)=zdufi_omp(i,l) 769 enddo 770 enddo 771 772 do l=1,llm 773 do i=1,klon 774 zdvfi(offset+i,l)=zdvfi_omp(i,l) 775 enddo 776 enddo 777 778 778 do l=1,llm 779 779 do i=1,klon 780 780 zdtfi(offset+i,l)=zdtfi_omp(i,l) 781 782 enddo 783 781 enddo 782 enddo 783 784 784 do iq=1,nqtot 785 785 do l=1,llm 786 786 do i=1,klon 787 788 787 zdqfi(offset+i,l,iq)=zdqfi_omp(i,l,iq) 788 enddo 789 789 enddo 790 790 enddo 791 791 792 792 do i=1,klon 793 793 zdpsrf(offset+i)=zdpsrf_omp(i) 794 794 enddo 795 795 … … 892 892 pdpsfi(:,jj_begin)=0 893 893 if (.not. is_south_pole_dyn) then 894 894 pdpsfi(:,jj_end)=0 895 895 endif 896 896 c$OMP END MASTER … … 976 976 pdqfi(:,:,l,:)=0. 977 977 ENDDO 978 c$OMP END DO NOWAIT 978 c$OMP END DO NOWAIT 979 979 980 980 C … … 987 987 !CDIR ON_ADB(index_j) 988 988 !cdir NODEP 989 989 DO ig0=kstart,kend 990 990 i=index_i(ig0) 991 991 j=index_j(ig0) … … 993 993 if (i==1) pdqfi(iip1,j,l,iiq) = zdqfi(ig0,l,iq) 994 994 ENDDO 995 996 997 995 996 IF (is_north_pole_dyn) then 997 DO i=1,iip1 998 998 pdqfi(i,1,l,iiq) = zdqfi(1,l,iq) 999 1000 1001 1002 1003 999 ENDDO 1000 ENDIF 1001 1002 IF (is_south_pole_dyn) then 1003 DO i=1,iip1 1004 1004 pdqfi(i,jjp1,l,iiq) = zdqfi(klon,l,iq) 1005 1006 1007 1005 ENDDO 1006 ENDIF 1007 1008 1008 ENDDO 1009 c$OMP END DO NOWAIT 1009 c$OMP END DO NOWAIT 1010 1010 ENDDO 1011 1011 … … 1067 1067 pdvfi(i,j,l)=0.5*(zdvfi2(ig0,l)+zdvfi2(ig0+iim,l))*cv(i,j) 1068 1068 if (i==1) pdvfi(iip1,j,l) = 0.5*(zdvfi2(ig0,l)+ 1069 $ 1070 $ 1069 $ zdvfi2(ig0+iim,l)) 1070 $ *cv(i,j) 1071 1071 enddo 1072 1072 -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/ce0l.F90
r2597 r2600 36 36 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, kappa, omeg, r, rad, & 37 37 pi, jmp1 38 USE comvert_mod, ONLY: pa, preff, pressure_exner 38 39 39 40 IMPLICIT NONE … … 44 45 include "paramet.h" 45 46 include "comgeom2.h" 46 include "comvert.h"47 47 include "iniprint.h" 48 48 include "temps.h" -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/etat0dyn_netcdf.F90
r2598 r2600 37 37 USE assert_eq_m, ONLY: assert_eq 38 38 USE comconst_mod, ONLY: pi, cpp, kappa 39 USE comvert_mod, ONLY: ap, bp, preff, pressure_exner 39 40 IMPLICIT NONE 40 41 … … 46 47 include "paramet.h" 47 48 include "comgeom2.h" 48 include "comvert.h"49 49 include "temps.h" 50 50 include "comdissnew.h" -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r2597 r2600 12 12 prad,pg,pr,pcpp,iflag_phys) 13 13 USE dimphy, ONLY: init_dimphy 14 USE comvert_mod, ONLY: preff, ap, bp, presnivs, scaleheight, pseudoalt 14 15 USE inigeomphy_mod, ONLY: inigeomphy 15 16 USE mod_grid_phy_lmdz, ONLY: klon_glo ! number of atmospheric columns (on full grid) … … 50 51 51 52 include "dimensions.h" 52 include "comvert.h"53 53 include "iniprint.h" 54 54 include "temps.h" -
LMDZ5/trunk/libf/dynphy_lonlat/phymar/iniphysiq_mod.F90
r2599 r2600 12 12 prad,pg,pr,pcpp,iflag_phys) 13 13 USE dimphy, ONLY: init_dimphy 14 USE comvert_mod, ONLY: preff, ap, bp, presnivs, scaleheight, pseudoalt 14 15 USE inigeomphy_mod, ONLY: inigeomphy 15 16 USE vertical_layers_mod, ONLY : init_vertical_layers … … 29 30 30 31 31 include "dimensions.h"32 include "comvert.h"33 32 include "iniprint.h" 34 33 -
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2565 r2600 950 950 !--------------------------------------------------------------------- 951 951 call physiq(ngrid,llm, & 952 953 954 955 956 952 firstcall,lastcall,timestep, & 953 plev,play,phi,phis,presnivs, & 954 u,v, rot, temp,q,omega2, & 955 du_phys,dv_phys,dt_phys,dq,dpsrf) 956 firstcall=.false. 957 957 958 958 !---------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.