New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 32 for trunk/NEMO/OPA_SRC/DYN – NEMO

Changeset 32 for trunk/NEMO/OPA_SRC/DYN


Ignore:
Timestamp:
2004-02-17T10:20:15+01:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE001 : First major NEMO update

Location:
trunk/NEMO/OPA_SRC/DYN
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/dynhpg.F90

    r3 r32  
    3131   !!   'key_autotasking' :                             j-k-i loop (j-slab) 
    3232   !!---------------------------------------------------------------------- 
    33    LOGICAL, PUBLIC ::   l_dyn_hpg_tsk = .TRUE.    ! ??? 
    34    LOGICAL, PUBLIC ::   l_dyn_hpg     = .FALSE.   ! ??? 
     33   LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg_tsk = .TRUE.    !: autotasked hpg flag 
     34   LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg     = .FALSE.   !: vector hpg flag 
    3535#else 
    3636   !!---------------------------------------------------------------------- 
    3737   !!   default case :                             k-j-i loop (vector opt.) 
    3838   !!----------------------------------------------------------------------    
    39    LOGICAL, PUBLIC ::   l_dyn_hpg_tsk = .FALSE.   ! ??? 
    40    LOGICAL, PUBLIC ::   l_dyn_hpg     = .TRUE.    ! ??? 
     39   LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg_tsk = .FALSE.   !: autotasked hpg flag 
     40   LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg     = .TRUE.    !: vector hpg flag 
    4141#endif 
    4242 
     
    6767      !!      level. s-coordinates ('key_s_coord'): a corrective term is added 
    6868      !!      to the horizontal pressure gradient : 
    69       !!         zhpi = g .....  + 1/e1u mi(rhd) di[ g dep3w ] 
    70       !!         zhpj = g .....  + 1/e2v mj(rhd) dj[ g dep3w ] 
     69      !!         zhpi = grav .....  + 1/e1u mi(rhd) di[ grav dep3w ] 
     70      !!         zhpj = grav .....  + 1/e2v mj(rhd) dj[ grav dep3w ] 
    7171      !!      add it to the general momentum trend (ua,va). 
    7272      !!         ua = ua - 1/e1u * zhpi 
     
    104104      ! 0. Local constant initialization 
    105105      ! -------------------------------- 
    106       zcoef0 = -g * 0.5 
     106      zcoef0 = - grav * 0.5 
    107107      zuap   = 0.e0 
    108108      zvap   = 0.e0 
     
    187187      !!      jk is computed by taking the vertical integral of the in-situ  
    188188      !!      density gradient along the model level from the suface to that 
    189       !!      level:   zhpi = g ..... 
    190       !!               zhpj = g ..... 
     189      !!      level:   zhpi = grav ..... 
     190      !!               zhpj = grav ..... 
    191191      !!      add it to the general momentum trend (ua,va). 
    192192      !!            ua = ua - 1/e1u * zhpi 
     
    223223      ! 0. Local constant initialization 
    224224      ! -------------------------------- 
    225       zcoef0 = -g * 0.5 
     225      zcoef0 = - grav * 0.5 
    226226      zuap   = 0.e0 
    227227      zvap   = 0.e0 
     
    342342      !!      jk is computed by taking the vertical integral of the in-situ 
    343343      !!      density gradient along the model level from the suface to that 
    344       !!      level:    zhpi = g ..... 
    345       !!                zhpj = g ..... 
     344      !!      level:    zhpi = grav ..... 
     345      !!                zhpj = grav ..... 
    346346      !!      add it to the general momentum trend (ua,va). 
    347347      !!            ua = ua - 1/e1u * zhpi 
     
    379379      ! 0. Local constant initialization 
    380380      ! -------------------------------- 
    381       zcoef0 = -g * 0.5 
     381      zcoef0 = - grav * 0.5 
    382382      zuap   = 0.e0 
    383383      zvap   = 0.e0 
  • trunk/NEMO/OPA_SRC/DYN/dynhpg_atsk.F90

    r3 r32  
    5656      !!      level. s-coordinate case ('key_s_coord'): a corrective term is 
    5757      !!      added to the horizontal pressure gradient : 
    58       !!         zhpi = g .....   + 1/e1u mi(rhd) di[ g dep3w ] 
    59       !!         zhpj = g .....   + 1/e2v mj(rhd) dj[ g dep3w ] 
     58      !!         zhpi = grav .....   + 1/e1u mi(rhd) di[ grav dep3w ] 
     59      !!         zhpj = grav .....   + 1/e2v mj(rhd) dj[ grav dep3w ] 
    6060      !!      add it to the general momentum trend (ua,va). 
    6161      !!         ua = ua - 1/e1u * zhpi 
     
    9292      ! 0. Local constant initialization 
    9393      ! -------------------------------- 
    94       zcoef0 = -g * 0.5 
     94      zcoef0 = - grav * 0.5 
    9595 
    9696      !                                                ! =============== 
     
    174174      !!      jk is computed by taking the vertical integral of the in-situ 
    175175      !!      density gradient along the model level from the suface to that  
    176       !!      level:    zhpi = g ..... 
    177       !!                zhpj = g ..... 
     176      !!      level:    zhpi = grav ..... 
     177      !!                zhpj = grav ..... 
    178178      !!      add it to the general momentum trend (ua,va). 
    179179      !!            ua = ua - 1/e1u * zhpi 
     
    210210      ! 0. Local constant initialization 
    211211      ! -------------------------------- 
    212       zcoef0 = -g * 0.5 
     212      zcoef0 = - grav * 0.5 
    213213      zuap   = 0.e0 
    214214      zvap   = 0.e0 
     
    313313      !!      jk is computed by taking the vertical integral of the in-situ   
    314314      !!      density gradient along the model level from the suface to that 
    315       !!      level:    zhpi = g ..... 
    316       !!                zhpj = g ..... 
     315      !!      level:    zhpi = grav ..... 
     316      !!                zhpj = grav ..... 
    317317      !!      add it to the general momentum trend (ua,va). 
    318318      !!            ua = ua - 1/e1u * zhpi 
     
    351351      ! 0. Local constant initialization 
    352352      ! -------------------------------- 
    353       zcoef0 = -g * 0.5 
     353      zcoef0 = - grav * 0.5 
    354354 
    355355      !                                                ! =============== 
  • trunk/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90

    r3 r32  
    465465CONTAINS 
    466466   SUBROUTINE dyn_ldf_bilapg( kt )               ! Dummy routine 
    467       WRITE(*,*) kt 
     467      WRITE(*,*) 'dyn_ldf_bilapg: You should not have seen this print! error?', kt 
    468468   END SUBROUTINE dyn_ldf_bilapg 
    469469#endif 
  • trunk/NEMO/OPA_SRC/DYN/dynldf_iso.F90

    r3 r32  
    251251CONTAINS 
    252252   SUBROUTINE dyn_ldf_iso( kt )               ! Empty routine 
    253       WRITE(*,*) kt 
     253      WRITE(*,*) 'dyn_ldf_iso: You should not have seen this print! error?', kt 
    254254   END SUBROUTINE dyn_ldf_iso 
    255255#endif 
  • trunk/NEMO/OPA_SRC/DYN/dynnxt.F90

    r3 r32  
    3535      !!      After velocity is compute using a leap-frog scheme environment: 
    3636      !!         (ua,va) = (ub,vb) + 2 rdt (ua,va) 
    37       !!      Note that if "key_dynspg_fsc" defined, the time stepping  
    38       !!      has already been performed in dynspg.F routine 
     37      !!      Note that if lk_dynspg_fsc=T, the time stepping has already been 
     38      !!      performed in dynspg module 
    3939      !!      Time filter applied on now horizontal velocity to avoid the 
    4040      !!      divergence of two consecutive time-steps and swap of dynamics 
  • trunk/NEMO/OPA_SRC/DYN/dynvor.F90

    r3 r32  
    2727 
    2828   !! * Shared module variables 
    29    LOGICAL, PUBLIC ::   ln_dynvor_ene = .FALSE.   ! energy conserving scheme 
    30    LOGICAL, PUBLIC ::   ln_dynvor_ens = .TRUE.    ! enstrophy conserving scheme 
    31    LOGICAL, PUBLIC ::   ln_dynvor_mix = .FALSE.   ! mixed scheme 
     29   LOGICAL, PUBLIC ::   ln_dynvor_ene = .FALSE.   !: energy conserving scheme 
     30   LOGICAL, PUBLIC ::   ln_dynvor_ens = .TRUE.    !: enstrophy conserving scheme 
     31   LOGICAL, PUBLIC ::   ln_dynvor_mix = .FALSE.   !: mixed scheme 
    3232 
    3333   !! * Substitutions 
  • trunk/NEMO/OPA_SRC/DYN/dynzdf_iso.F90

    r3 r32  
    387387CONTAINS 
    388388   SUBROUTINE dyn_zdf_iso( kt )                        ! Dummy routine 
    389       WRITE(*,*) kt 
     389      WRITE(*,*) 'dyn_zdf_iso: You should not have seen this print! error?', kt 
    390390   END SUBROUTINE dyn_zdf_iso 
    391391#endif 
Note: See TracChangeset for help on using the changeset viewer.