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 450 – NEMO

Changeset 450


Ignore:
Timestamp:
2006-04-28T14:24:20+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_042:RB: - initialization of bathy_level for partial steps

  • set eiv coeff. to 0 when aeiv0 = 0
Location:
trunk/NEMO/OPA_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DOM/domzgr.F90

    r411 r450  
    442442                             itime, 1, 1, 1, jpidta, 1, jpjdta, zdta(:,:) )  
    443443               CALL flinclo( inum ) 
     444               idta(:,:) = jpkm1      ! initialisation 
    444445            ELSE 
    445446               IF(lwp) WRITE(numout,cform_err)        
  • trunk/NEMO/OPA_SRC/LDF/ldfeiv.F90

    r412 r450  
    186186            CALL prt_ctl(tab2d_1=ahtw, clinfo1=' aht  - w: ', ovlap=1) 
    187187         ENDIF 
     188      ENDIF 
     189 
     190      IF( aeiv0 == 0.e0 ) THEN 
     191         aeiu(:,:) = 0.e0 
     192         aeiv(:,:) = 0.e0 
     193         aeiw(:,:) = 0.e0 
    188194      ENDIF 
    189195 
     
    354360         ENDIF 
    355361      ENDIF 
     362       
     363      IF( aeiv0 == 0.e0 ) THEN 
     364         aeiu(:,:) = 0.e0 
     365         aeiv(:,:) = 0.e0 
     366         aeiw(:,:) = 0.e0 
     367      ENDIF 
    356368 
    357369   END SUBROUTINE ldf_eiv 
Note: See TracChangeset for help on using the changeset viewer.