Ignore:
Timestamp:
Jan 15, 2016, 8:27:16 AM (9 years ago)
Author:
emillour
Message:

Common dynamics:
Updates in the dynamics (seq and ) to keep up with updates
in LMDZ5 (up to LMDZ5 trunk, rev 2325):
IMPORTANT: Modifications for isotopes are only done in dyn3d, not in dyn3dpar

as in LMDZ5 these modifications were done in dyn3dmem.
Related LMDZ5 revisions are r2270 and r2281

  • in dynlonlat_phylonlat:
  • add module "grid_atob_m.F90" (a regridding utility so far only used by phylmd/ce0l.F90, used to be dyn3d_common/grid_atob.F)
  • in misc:
  • follow up updates on wxios.F (add missing_val module variable)
  • in dyn3d_common:
  • pression.F => pression.F90
  • misc_mod.F90: moved from misc to dyn3d_common
  • added new iso_verif_dyn.F
  • covcont.F => covcont.F90
  • infotrac.F90 : add handling of isotopes (reading of corresponding traceur.def for planets not implemented)
  • dynetat0.F => dynetat0.F90 with some code factorization
  • dynredem.F => dynredem.F90 with some code factorization
  • added dynredem_mod.F90: routines used by dynredem
  • iniacademic.F90 : added isotopes-related initialization for Earth case
  • in dyn3d:
  • added check_isotopes.F
  • modified (isotopes) advtrac.F90, caladvtrac.F
  • guide_mod.F90: ported updates
  • leapfrog.F : (isotopes) updates (NB: call integrd with nqtot tracers)
  • qminimium.F : adaptations for isotopes (copied over, except that #include comvert.h is not needed).
  • vlsplt.F: adaptations for isotopes (copied over, except than #include logic.h, comvert.h not needed, and replace "include comconst.h" with use comconst_mod, ONLY: pi)
  • vlspltqs.F : same as vlsplt.F, but also keeping added modification for CP(T)
  • in dyn3dpar:
  • leapfrog_p.F: remove unecessary #ifdef CPP_EARTH cpp flag. and call integrd_p with nqtot tracers (only important for Earth)
  • dynredem_p.F => dynredem_p.F90 and some code factorization
  • and no isotopes-relates changes in dyn3dpar (since these changes have been made in LMDZ5 dyn3dmem).

EM

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3d_common/covcont.F90

    r1506 r1508  
     1SUBROUTINE covcont (klevel,ucov, vcov, ucont, vcont )
    12!
    2 ! $Header$
    3 !
    4       SUBROUTINE covcont (klevel,ucov, vcov, ucont, vcont )
    5       IMPLICIT NONE
     3!-------------------------------------------------------------------------------
     4! Author: P. Le Van
     5!-------------------------------------------------------------------------------
     6! Purpose: Compute contravariant components from covariant components.
     7!-------------------------------------------------------------------------------
     8  IMPLICIT NONE
     9  include "dimensions.h"
     10  include "paramet.h"
     11  include "comgeom.h"
     12!===============================================================================
     13! Arguments:
     14  INTEGER, INTENT(IN)  :: klevel                    !--- VERTICAL LEVELS NUMBER
     15  REAL,    INTENT(IN)  :: ucov ( ip1jmp1,klevel )   !--- U COVARIANT WIND
     16  REAL,    INTENT(IN)  :: vcov ( ip1jm  ,klevel )   !--- V COVARIANT WIND
     17  REAL,    INTENT(OUT) :: ucont( ip1jmp1,klevel )   !--- U CONTRAVAR WIND
     18  REAL,    INTENT(OUT) :: vcont( ip1jm  ,klevel )   !--- V CONTRAVAR WIND
     19!===============================================================================
     20!   Local variables:
     21  INTEGER :: l
     22!===============================================================================
     23  DO l=1,klevel
     24    ucont(iip2:ip1jm,l)=ucov(iip2:ip1jm,l) * unscu2(iip2:ip1jm)
     25    vcont(   1:ip1jm,l)=vcov(   1:ip1jm,l) * unscv2(   1:ip1jm)
     26  END DO
    627
    7 c=======================================================================
    8 c
    9 c   Auteur:  P. Le Van
    10 c   -------
    11 c
    12 c   Objet:
    13 c   ------
    14 c
    15 c  *********************************************************************
    16 c    calcul des compos. contravariantes a partir des comp.covariantes
    17 c  ********************************************************************
    18 c
    19 c=======================================================================
     28END SUBROUTINE covcont
    2029
    21 #include "dimensions.h"
    22 #include "paramet.h"
    23 #include "comgeom.h"
    24 
    25       INTEGER klevel
    26       REAL ucov( ip1jmp1,klevel ),  vcov( ip1jm,klevel )
    27       REAL ucont( ip1jmp1,klevel ), vcont( ip1jm,klevel )
    28       INTEGER   l,ij
    29 
    30 
    31       DO 10 l = 1,klevel
    32 
    33       DO 2  ij = iip2, ip1jm
    34       ucont( ij,l ) = ucov( ij,l ) * unscu2( ij )
    35    2  CONTINUE
    36 
    37       DO 4 ij = 1,ip1jm
    38       vcont( ij,l ) = vcov( ij,l ) * unscv2( ij )
    39    4  CONTINUE
    40 
    41   10  CONTINUE
    42       RETURN
    43       END
Note: See TracChangeset for help on using the changeset viewer.