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/sbcssr.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/sbcssr.F90

    r1156 r1200  
    111111               CALL ctl_stop( 'sbc_ssr: unable to allocate sf_sst structure' )   ;   RETURN 
    112112            ENDIF 
     113            ALLOCATE( sf_sst(1)%fnow(jpi,jpj) ) 
     114            ALLOCATE( sf_sst(1)%fdta(jpi,jpj,2) ) 
     115 
    113116            ! fill sf_sst with sn_sst and control print 
    114117            CALL fld_fill( sf_sst, (/ sn_sst /), cn_dir, 'sbc_ssr', 'SST restoring term toward SST data', 'namsbc_ssr' ) 
     
    122125               CALL ctl_stop( 'sbc_ssr: unable to allocate sf_sss structure' )   ;   RETURN 
    123126            ENDIF 
     127            ALLOCATE( sf_sss(1)%fnow(jpi,jpj) ) 
     128            ALLOCATE( sf_sss(1)%fdta(jpi,jpj,2) ) 
     129 
    124130            ! fill sf_sss with sn_sss and control print 
    125131            CALL fld_fill( sf_sss, (/ sn_sss /), cn_dir, 'sbc_ssr', 'SSS restoring term toward SSS data', 'namsbc_ssr' ) 
Note: See TracChangeset for help on using the changeset viewer.