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 311 for trunk/NEMO/OPA_SRC/restart.F90 – NEMO

Ignore:
Timestamp:
2005-09-30T12:18:52+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_update_017:RB: added extra outer halo (parameters jpr2di and jpr2dj) and the corresponding lbc_lnk_e for boundary conditions.It will be use for nsolv=4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/restart.F90

    r295 r311  
    8383      REAL(wp), DIMENSION( 1) ::   zfice, zfblk   ! used only in case of ice & bulk 
    8484      REAL(wp), DIMENSION(10) ::   zinfo(10) 
     85      REAL(wp), DIMENSION(jpi,jpj) :: ztab  
    8586      !!---------------------------------------------------------------------- 
    8687      !!  OPA 9.0 , LOCEAN-IPSL (2005)  
     
    159160         CALL restput( numwrs, 'hdivn'  , jpi, jpj, jpk, 0, hdivn   ) 
    160161 
    161          CALL restput( numwrs, 'gcx'    , jpi, jpj, 1  , 0, gcx     )   ! Read elliptic solver arrays 
    162          CALL restput( numwrs, 'gcxb'   , jpi, jpj, 1  , 0, gcxb    ) 
     162         ztab(:,:) = gcx(1:jpi,1:jpj) 
     163         CALL restput( numwrs, 'gcx'    , jpi, jpj, 1  , 0, ztab    )   ! Read elliptic solver arrays 
     164         ztab(:,:) = gcxb(1:jpi,1:jpj) 
     165         CALL restput( numwrs, 'gcxb'   , jpi, jpj, 1  , 0, ztab    ) 
    163166# if defined key_dynspg_fsc 
    164167         CALL restput( numwrs, 'sshb'   , jpi, jpj, 1  , 0, sshb    )   ! free surface formulation (ssh) 
     
    243246      REAL(wp) ::   zdate0, zdt, zinfo(10) 
    244247      REAL(wp) ::   zdept(jpk), zlamt(jpi,jpj), zphit(jpi,jpj) 
     248      REAL(wp), DIMENSION(jpi,jpj) :: ztab  
    245249#   if defined key_ice_lim 
    246250      INTEGER  ::   ios1, ji, jj, jn 
     
    346350      CALL restget( inum, 'hdivn'  , jpi, jpj, jpk, 0, llog, hdivn   ) 
    347351 
    348       CALL restget( inum, 'gcxb'   , jpi, jpj, 1  , 0, llog, gcxb    )   ! Read elliptic solver arrays 
    349       CALL restget( inum, 'gcx'    , jpi, jpj, 1  , 0, llog, gcx     ) 
     352      CALL restget( inum, 'gcxb'   , jpi, jpj, 1  , 0, llog, ztab    )   ! Read elliptic solver arrays 
     353      gcxb(1:jpi,1:jpj) = ztab(:,:)  
     354      CALL restget( inum, 'gcx'    , jpi, jpj, 1  , 0, llog, ztab    ) 
     355      gcx(1:jpi,1:jpj) = ztab(:,:)  
    350356# if defined key_dynspg_fsc 
    351357      CALL restget( inum, 'sshb'   , jpi, jpj, 1  , 0, llog, sshb    )   ! free surface formulation (ssh) 
Note: See TracChangeset for help on using the changeset viewer.