Ignore:
Timestamp:
Aug 2, 2024, 9:58:25 PM (3 months ago)
Author:
abarral
Message:

Put dimensions.h and paramet.h into modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3d/addfi.F90

    r5136 r5159  
    11! $Id$
    22
    3 SUBROUTINE addfi(pdt, leapf, forward, &
    4         pucov, pvcov, pteta, pq, pps, &
    5         pdufi, pdvfi, pdhfi, pdqfi, pdpfi)
     3SUBROUTINE addfi(pdt, leapf, forward, pucov, pvcov, pteta, pq, pps, pdufi, pdvfi, pdhfi, pdqfi, pdpfi)
    64
    75  USE infotrac, ONLY: nqtot
     
    97  USE lmdz_ssum_scopy, ONLY: ssum
    108  USE lmdz_comgeom
     9  USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm
     10  USE lmdz_paramet
     11
    1112  IMPLICIT NONE
    12   !
     13
    1314  !=======================================================================
    14   !
     15
    1516  !    Addition of the physical tendencies
    16   !
     17
    1718  !    Interface :
    1819  !    -----------
    19   !
     20
    2021  !  Input :
    2122  !  -------
     
    3132  !  pdhfi(ip1jmp1)         |      tendencies
    3233  !  pdtsfi(ip1jmp1)        |
    33   !
     34
    3435  !  Output :
    3536  !  --------
     
    3839  !  ph
    3940  !  pts
    40   !
    41   !
     41
     42
    4243  !=======================================================================
    43   !
    44   !-----------------------------------------------------------------------
    45   !
    46   !    0.  Declarations :
    47   !    ------------------
    48   !
    49   INCLUDE "dimensions.h"
    50   INCLUDE "paramet.h"
    51   !
     44  !  !
    5245  !    Arguments :
    5346  !    -----------
    54   !
     47
    5548  REAL, INTENT(IN) :: pdt ! time step for the integration (s)
    56   !
     49
    5750  REAL, INTENT(INOUT) :: pvcov(ip1jm, llm) ! covariant meridional wind
    5851  REAL, INTENT(INOUT) :: pucov(ip1jmp1, llm) ! covariant zonal wind
     
    6659  REAL, INTENT(IN) :: pdhfi(ip1jmp1, llm)
    6760  REAL, INTENT(IN) :: pdpfi(ip1jmp1)
    68   !
     61
    6962  LOGICAL, INTENT(IN) :: leapf, forward ! not used
    70   !
    71   !
     63
     64
    7265  !    Local variables :
    7366  !    -----------------
    74   !
     67
    7568  REAL :: xpn(iim), xps(iim), tpn, tps
    7669  INTEGER :: j, k, iq, ij
    7770  REAL, PARAMETER :: qtestw = 1.0e-15
    7871  REAL, PARAMETER :: qtestt = 1.0e-40
    79   !
     72
    8073  !-----------------------------------------------------------------------
    8174
     
    113106  ENDDO
    114107
    115   !
     108
    116109  DO j = 1, ip1jmp1
    117110    pps(j) = pps(j) + pdpfi(j) * pdt
     
    177170  ENDDO
    178171
    179 
    180172END SUBROUTINE addfi
Note: See TracChangeset for help on using the changeset viewer.