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 2715 for trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_exp.F90 – NEMO

Ignore:
Timestamp:
2011-03-30T17:58:35+02:00 (13 years ago)
Author:
rblod
Message:

First attempt to put dynamic allocation on the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_exp.F90

    r2528 r2715  
    4040   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    4141   !! $Id$ 
    42    !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
     42   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
    4343   !!---------------------------------------------------------------------- 
    44  
    4544CONTAINS 
    4645 
     
    6261      !!                         the surf. pressure gradient trend 
    6362      !!--------------------------------------------------------------------- 
    64       INTEGER, INTENT( in )  ::   kt         ! ocean time-step index 
     63      INTEGER, INTENT(in)  ::   kt   ! ocean time-step index 
    6564      !! 
    66       INTEGER  ::   ji, jj, jk               ! dummy loop indices 
     65      INTEGER ::   ji, jj, jk   ! dummy loop indices 
    6766      !!---------------------------------------------------------------------- 
    6867 
     
    7271         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~   (explicit free surface)' 
    7372         ! 
    74          spgu(:,:) = 0.e0   ;   spgv(:,:) = 0.e0 
     73         spgu(:,:) = 0._wp   ;   spgv(:,:) = 0._wp 
    7574         ! 
    7675         IF( lk_vvl .AND. lwp ) WRITE(numout,*) '              lk_vvl=T : spg is included in dynhpg' 
Note: See TracChangeset for help on using the changeset viewer.