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 5845 for branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg.F90 – NEMO

Ignore:
Timestamp:
2015-10-31T08:40:45+01:00 (8 years ago)
Author:
gm
Message:

#1613: vvl by default: suppression of domzgr_substitute.h90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg.F90

    r5836 r5845  
    4646 
    4747   !! * Substitutions 
    48 #  include "domzgr_substitute.h90" 
    4948#  include "vectopt_loop_substitute.h90" 
    5049   !!---------------------------------------------------------------------- 
     
    7877      !!             period is used to prevent the divergence of odd and even time step. 
    7978      !!---------------------------------------------------------------------- 
    80       ! 
    8179      INTEGER, INTENT(in   ) ::   kt       ! ocean time-step index 
    8280      INTEGER, INTENT(  out) ::   kindic   ! solver flag 
     
    9795 
    9896      IF( l_trddyn )   THEN                      ! temporary save of ta and sa trends 
    99          CALL wrk_alloc( jpi, jpj, jpk, ztrdu, ztrdv )  
     97         CALL wrk_alloc( jpi,jpj,jpk,  ztrdu, ztrdv )  
    10098         ztrdu(:,:,:) = ua(:,:,:) 
    10199         ztrdv(:,:,:) = va(:,:,:) 
     
    139137         ! 
    140138         IF( nn_ice_embd == 2 ) THEN          !== embedded sea ice: Pressure gradient due to snow-ice mass ==! 
    141             CALL wrk_alloc( jpi, jpj, zpice ) 
     139            CALL wrk_alloc( jpi,jpj,  zpice ) 
    142140            !                                             
    143141            zintp = REAL( MOD( kt-1, nn_fsbc ) ) / REAL( nn_fsbc ) 
     
    151149            END DO 
    152150            ! 
    153             CALL wrk_dealloc( jpi, jpj, zpice )          
     151            CALL wrk_dealloc( jpi,jpj,  zpice )          
    154152         ENDIF 
    155153         ! 
     
    188186         CALL trd_dyn( ztrdu, ztrdv, jpdyn_spg, kt ) 
    189187         ! 
    190          CALL wrk_dealloc( jpi, jpj, jpk, ztrdu, ztrdv )  
     188         CALL wrk_dealloc( jpi,jpj,jpk,  ztrdu, ztrdv )  
    191189      ENDIF 
    192190      !                                          ! print mean trends (used for debugging) 
Note: See TracChangeset for help on using the changeset viewer.