Ignore:
Timestamp:
Apr 3, 2018, 8:13:24 AM (7 years ago)
Author:
emillour
Message:

Mars GCM:
Tidying the gravity wave routines by turning them into modules:
orodrag.F -> orodrag_mod.F : note that the declared size of pvar(), which is
used in call to gwstress was wrong.
calldrag_noro.F -> calldrag_noro_mod.F
drag_noro.F -> drag_noro_mod.F
gwstress.F -> gwstress_mod.F
EM

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/orodrag_mod.F

    r1911 r1912  
     1      MODULE orodrag_mod
     2     
     3      IMPLICIT NONE
     4     
     5      CONTAINS
     6     
    17      SUBROUTINE ORODRAG( klon,klev
    28     I                 , KGWD, KGWDIM, KDX, KTEST
     
    7177C-----------------------------------------------------------------------
    7278      use dimradmars_mod, only: ndlo2
    73       USE comcstfi_h
     79      USE gwstress_mod, ONLY: gwstress
     80      USE comcstfi_h, ONLY: g, cpp
    7481      implicit none
    7582C
     
    7986      integer, save :: kfdia ! =NDLO2
    8087
    81 #include "yoegwd.h"
     88      include "yoegwd.h"
    8289C-----------------------------------------------------------------------
    8390C
     
    116123      integer ji,jk,jl,klevm1,ilevp1
    117124C      real gkwake
    118       real ztmst,pvar,ztauf,zrtmst,zdelp,zb,zc,zbet
     125      real ztmst,pvar(NDLO2,4),ztauf,zrtmst,zdelp,zb,zc,zbet
    119126      real zconb,zabsv,zzd1,ratio,zust,zvst,zdis,ztemp
    120127C
     
    283290C
    284291C
    285       RETURN
    286       END
     292
     293      END SUBROUTINE ORODRAG
     294     
     295      END MODULE orodrag_mod
Note: See TracChangeset for help on using the changeset viewer.