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 292 for trunk/NEMO/OPA_SRC/OBC – NEMO

Changeset 292 for trunk/NEMO/OPA_SRC/OBC


Ignore:
Timestamp:
2005-09-22T12:48:12+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_009 : CT : the obcsurftot variable must be initialized to zero before its computation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/OBC/obcini.F90

    r247 r292  
    499499      ! ------------------------------------------------ 
    500500 
    501       ! ... West open boundary surface 
    502       IF( lp_obc_west ) THEN 
     501      obcsurftot = 0.e0 
     502       
     503      IF( lp_obc_west ) THEN    ! ... West open boundary vertical surface 
    503504         DO ji = niw0, niw1 
    504505            DO jj = 1, jpj  
     
    508509       END IF 
    509510 
    510       ! ... East open boundary surface 
    511       IF( lp_obc_east ) THEN 
     511      IF( lp_obc_east ) THEN    ! ... East open boundary vertical surface 
    512512         DO ji = nie0, nie1 
    513513            DO jj = 1, jpj  
     
    517517      END IF 
    518518 
    519       ! ... North open boundary vertical surface 
    520       IF( lp_obc_north ) THEN 
     519      IF( lp_obc_north ) THEN   ! ... North open boundary vertical surface 
    521520         DO jj = njn0, njn1 
    522521            DO ji = 1, jpi 
     
    526525      END IF 
    527526 
    528       ! ... South open boundary vertical surface 
    529       IF( lp_obc_south ) THEN 
     527      IF( lp_obc_south ) THEN   ! ... South open boundary vertical surface 
    530528         DO jj = njs0, njs1 
    531529            DO ji = 1, jpi 
Note: See TracChangeset for help on using the changeset viewer.