[3331] | 1 | MODULE YOMSLPHY |
---|
| 2 | |
---|
| 3 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
| 4 | |
---|
| 5 | IMPLICIT NONE |
---|
| 6 | |
---|
| 7 | SAVE |
---|
| 8 | |
---|
| 9 | ! ------------------------------------------------------------------ |
---|
| 10 | |
---|
| 11 | ! * Variables for split ECMWF physics. |
---|
| 12 | |
---|
| 13 | ! LSLPHY : for split physics (one part at t-Dt, one part at t+Dt); |
---|
| 14 | ! can be used only at ECMWF with the ECMWF package. |
---|
| 15 | ! RSLWX : level of implicitness of semi-Lagrangian/physics. |
---|
| 16 | ! NVTEND : third dimension of SAVTEND (number of 3D fields). |
---|
| 17 | ! SAVTEND : buffer to store the physical tendencies. |
---|
| 18 | |
---|
| 19 | LOGICAL :: LSLPHY |
---|
| 20 | REAL(KIND=JPRB) , PARAMETER :: RSLWX=0.5_JPRB |
---|
| 21 | INTEGER(KIND=JPIM) :: NVTEND |
---|
| 22 | REAL(KIND=JPRB),ALLOCATABLE :: SAVTEND(:,:,:,:) |
---|
| 23 | ! Pointers for SAVTEND |
---|
| 24 | INTEGER(KIND=JPIM) :: MU_SAVTEND,MV_SAVTEND,MT_SAVTEND,MSAT_SAVTEND |
---|
| 25 | INTEGER(KIND=JPIM) :: MU_SAVTEND_S,MV_SAVTEND_S,MT_SAVTEND_S,MSAT_SAVTEND_S |
---|
| 26 | INTEGER(KIND=JPIM) :: MSAVTEND_S |
---|
| 27 | |
---|
| 28 | !$OMP THREADPRIVATE(lslphy,msat_savtend,msat_savtend_s,msavtend_s,mt_savtend,mt_savtend_s) |
---|
| 29 | !$OMP THREADPRIVATE(mu_savtend,mu_savtend_s,mv_savtend,mv_savtend_s,nvtend) |
---|
| 30 | !$OMP THREADPRIVATE(savtend) |
---|
| 31 | END MODULE YOMSLPHY |
---|