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 1200 for trunk/NEMO/OPA_SRC/SBC/sbcblk_core.F90 – NEMO

Ignore:
Timestamp:
2008-09-24T15:05:20+02:00 (16 years ago)
Author:
rblod
Message:

Adapt Agrif to the new SBC and correct several bugs for agrif (restart writing and reading), see ticket #133
Note : this fix does not work yet on NEC computerq (sxf90/360)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r1156 r1200  
    108108      !! 
    109109      INTEGER  ::   ierror   ! return error code 
     110      INTEGER  ::   ifpr     ! dummy loop indice 
    110111      !! 
    111112      CHARACTER(len=100) ::  cn_dir   !   Root directory for location of core files 
     
    149150            CALL ctl_stop( 'sbc_blk_core: unable to allocate sf structure' )   ;   RETURN 
    150151         ENDIF 
     152 
     153         DO ifpr= 1, jpfld 
     154            ALLOCATE( sf(ifpr)%fnow(jpi,jpj) ) 
     155            ALLOCATE( sf(ifpr)%fdta(jpi,jpj,2) ) 
     156         END DO 
    151157 
    152158         ! fill sf with slf_i and control print 
Note: See TracChangeset for help on using the changeset viewer.