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 3044 for branches – NEMO

Changeset 3044 for branches


Ignore:
Timestamp:
2011-11-04T16:49:50+01:00 (12 years ago)
Author:
acc
Message:

Branch dev_NOC_2011_MERGE. #874. Step 9: minor corrections required for full SETTE compliance (includes small bug fix to traldf_lap.F90 which was uncovered during investigations)

Location:
branches/2011/dev_NOC_2011_MERGE/NEMOGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NOC_2011_MERGE/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/namelist

    r3009 r3044  
    870870!----------------------------------------------------------------------- 
    871871   ! Suggested lengthscale values are those of Eby & Holloway (1994) for a coarse model 
    872    ln_neptsimp       = .true.   ! yes/no use simplified neptune 
     872   ln_neptsimp       = .false.  ! yes/no use simplified neptune 
    873873 
    874874   ln_smooth_neptvel = .false.  ! yes/no smooth zunep, zvnep 
  • branches/2011/dev_NOC_2011_MERGE/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_lap.F90

    r2715 r3044  
    8282         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~ ' 
    8383         ! 
    84          ALLOCATE( e1ur(jpi,jpj), e2vr(jpi,jpj), STAT=ierr ) 
    85          IF( lk_mpp    )   CALL mpp_sum( ierr ) 
    86          IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'tra_ldf_lap : unable to allocate arrays' ) 
    87          ! 
    88          e1ur(:,:) = e2u(:,:) / e1u(:,:) 
    89          e2vr(:,:) = e1v(:,:) / e2v(:,:) 
     84         IF( .NOT. ALLOCATED( e1ur ) ) THEN 
     85            ! This routine may be called for both active and passive tracers.  
     86            ! Allocate and set saved arrays on first call only. 
     87            ALLOCATE( e1ur(jpi,jpj), e2vr(jpi,jpj), STAT=ierr ) 
     88            IF( lk_mpp    )   CALL mpp_sum( ierr ) 
     89            IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'tra_ldf_lap : unable to allocate arrays' ) 
     90            ! 
     91            e1ur(:,:) = e2u(:,:) / e1u(:,:) 
     92            e2vr(:,:) = e1v(:,:) / e2v(:,:) 
     93         ENDIF 
    9094      ENDIF 
    9195 
Note: See TracChangeset for help on using the changeset viewer.