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 359 for trunk/NEMO/OPA_SRC/DYN – NEMO

Changeset 359 for trunk/NEMO/OPA_SRC/DYN


Ignore:
Timestamp:
2005-12-21T11:46:45+01:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_033 : RB + CT : Add new surface pressure gradient algorithms

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

Legend:

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

    r258 r359  
    2828   !! * Accessibility 
    2929   PUBLIC dyn_hpg                ! routine called by step.F90 
    30  
    31 #if defined key_autotasking 
    32    !!---------------------------------------------------------------------- 
    33    !!   'key_autotasking' :                             j-k-i loop (j-slab) 
    34    !!---------------------------------------------------------------------- 
    35    LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg_tsk = .TRUE.    !: autotasked hpg flag 
    36    LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg     = .FALSE.   !: vector hpg flag 
    37 #else 
    38    !!---------------------------------------------------------------------- 
    39    !!   default case :                             k-j-i loop (vector opt.) 
    40    !!----------------------------------------------------------------------    
    41    LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg_tsk = .FALSE.   !: autotasked hpg flag 
    42    LOGICAL, PUBLIC, PARAMETER ::   lk_dynhpg     = .TRUE.    !: vector hpg flag 
    43 #endif 
    4430 
    4531   !! * Substitutions 
  • trunk/NEMO/OPA_SRC/DYN/dynnxt.F90

    r258 r359  
    3636      !!      After velocity is compute using a leap-frog scheme environment: 
    3737      !!         (ua,va) = (ub,vb) + 2 rdt (ua,va) 
    38       !!      Note that if lk_dynspg_fsc=T, the time stepping has already been 
     38      !!      Note that if lk_dynspg_flt=T, the time stepping has already been 
    3939      !!      performed in dynspg module 
    4040      !!      Time filter applied on now horizontal velocity to avoid the 
     
    5656      !!   8.5  !  02-08  (G. Madec)  F90: Free form and module 
    5757      !!        !  02-10  (C. Talandier, A-M. Treguier) Open boundary cond. 
     58      !!   9.0  !  05-11  (V. Garnier) Surface pressure gradient organization 
    5859      !!---------------------------------------------------------------------- 
    5960      !! * Arguments 
     
    8889         ! Next velocity 
    8990         ! ------------- 
    90 #if defined key_dynspg_fsc 
     91#if defined key_dynspg_flt 
    9192         ! Leap-frog time stepping already done in dynspg.F routine 
    9293#else 
  • trunk/NEMO/OPA_SRC/DYN/dynspg_exp.F90

    r358 r359  
    3434#  include "vectopt_loop_substitute.h90" 
    3535   !!---------------------------------------------------------------------- 
    36    !!   OPA 9.0 , LODYC-IPSL  (2005) 
    37    !!---------------------------------------------------------------------- 
     36   !!  OPA 9.0 , LOCEAN-IPSL (2005)  
     37   !! $Header$  
     38   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
     39   !!---------------------------------------------------------------------- 
     40 
    3841 
    3942CONTAINS 
  • trunk/NEMO/OPA_SRC/DYN/dynspg_rl.F90

    r314 r359  
    1818   USE ldfdyn_oce      ! ocean dynamics: lateral physics 
    1919   USE zdf_oce         ! ocean vertical physics 
    20    USE trdmod          ! ocean dynamics trends  
    21    USE trdmod_oce      ! ocean variables trends 
    22    USE in_out_manager  ! I/O manager 
    2320   USE sol_oce         ! ocean elliptic solver 
    2421   USE solpcg          ! preconditionned conjugate gradient solver 
     
    3027   USE lib_mpp         ! distributed memory computing library 
    3128   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
     29   USE in_out_manager  ! I/O manager 
    3230 
    3331   IMPLICIT NONE 
     
    3634   !! * Accessibility 
    3735   PUBLIC dyn_spg_rl   ! called by step.F90 
    38  
    39    !! * Shared module variables 
    40    LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_rl = .TRUE.    !: rigid-lid flag 
    4136 
    4237   !! * Substitutions 
     
    8075      !! 
    8176      !! ** Action : - Update (ua,va) with the surf. pressure gradient trend 
    82       !!             - Save the trends in (ztdua,ztdva) ('key_trddyn') 
    8377      !! 
    8478      !! References : 
     
    9791      !!        !  02-11  (C. Talandier, A-M Treguier) Open boundaries 
    9892      !!   9.0  !  04-08  (C. Talandier)  New trends organization 
     93      !!    "   !  05-11  (V. Garnier) Surface pressure gradient organization 
    9994      !!--------------------------------------------------------------------- 
    100       !! * Modules used      
    101       USE oce, ONLY :    ztdua => ta,    & ! use ta as 3D workspace    
    102                          ztdva => sa       ! use sa as 3D workspace    
    10395      !! * Arguments 
    10496      INTEGER, INTENT( in  ) ::   kt       ! ocean time-step index 
     
    532524      END DO 
    533525 
    534       ! save the surface pressure gradient trends for diagnostic 
    535       ! momentum trends 
    536       IF( l_trddyn )   THEN 
    537          DO jk = 1, jpkm1 
    538             ztdua(:,:,jk) = - spgu(:,:) 
    539             ztdva(:,:,jk) = - spgv(:,:) 
    540          END DO 
    541  
    542          CALL trd_mod(ztdua, ztdva, jpdtdldf, 'DYN', kt) 
    543       ENDIF 
    544  
    545526   END SUBROUTINE dyn_spg_rl 
    546527 
     
    549530   !!   'key_dynspg_rl'                                        NO rigid lid 
    550531   !!---------------------------------------------------------------------- 
    551    LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_rl = .FALSE.   !: rigid-lid flag 
    552532CONTAINS 
    553533   SUBROUTINE dyn_spg_rl( kt, kindic )       ! Empty routine 
  • trunk/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r358 r359  
    3939#  include "vectopt_loop_substitute.h90" 
    4040   !!---------------------------------------------------------------------- 
    41    !!   OPA 9.0 , LODYC-IPSL  (2005) 
     41   !!  OPA 9.0 , LOCEAN-IPSL (2005)  
     42   !! $Header$  
     43   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    4244   !!---------------------------------------------------------------------- 
    4345 
Note: See TracChangeset for help on using the changeset viewer.