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

Changeset 199


Ignore:
Timestamp:
2004-12-22T16:49:02+01:00 (19 years ago)
Author:
opalod
Message:

CT : UPDATE140 : Add the storage of mbathy in order to be 100% compatible with standard domwri.F90 output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DOM/domwri_dimg.h90

    r179 r199  
    4949      INTEGER, DIMENSION(11:15)  :: irecv ! index of this array will be inumxxx 
    5050      REAL(wp) ::   zdate0 
     51      REAL(wp), DIMENSION(jpi,jpj) ::   & 
     52         zprt                       ! temporary array for bathymetry 
     53 
    5154      CHARACTER (len=21) ::      & 
    5255         clnam0 = 'mesh_mask',   &  ! filename (mesh and mask informations) 
     
    242245         WRITE(inum3,REC=irec) ff(:,:) 
    243246         irecv(inum3) = irecv(inum3) + jpnij  
    244           
    245              
     247         ! 
     248         ! mbathy 
     249         !       note that mbathy has been modified in dommsk or in solver. 
     250         !       it is the number of non-zero "w" levels in the water, and the minimum 
     251         !       value (on land) is 2. We define zprt as the number of "T" points in the ocean 
     252         !       at any location, and zero on land. 
     253         ! 
     254          zprt = tmask(:,:,1)*(mbathy-1) 
     255         irec = irecv(inum4) + (narea - 1 ) 
     256         WRITE(inum4,REC=irec) zprt(:,:) 
     257         irecv(inum4) = irecv(inum4) + jpnij  
     258 
    246259#if defined key_s_coord 
    247260         ! 
Note: See TracChangeset for help on using the changeset viewer.