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 7134 for branches/UKMO/r5936_hadgem3_cplseq/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2016-10-27T13:30:10+02:00 (7 years ago)
Author:
jcastill
Message:

Version as in UKMO/dev_r5107_hadgem3_cplseq@5646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r5936_hadgem3_cplseq/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r7131 r7134  
    258258      ENDIF 
    259259      ! 
    260       IF( lk_oasis )   CALL sbc_cpl_init (nn_ice)   ! OASIS initialisation. must be done before: (1) first time step 
    261       !                                             !                                            (2) the use of nn_fsbc 
    262  
     260      IF( lk_oasis ) THEN  
     261         IF( sbc_cpl_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'sbc_cpl_alloc : unable to allocate arrays' )           
     262         CALL sbc_cpl_init (nn_ice)   ! OASIS initialisation. must be done before: (1) first time step  
     263                                      !                                            (2) the use of nn_fsbc  
     264      ENDIF  
    263265!     nn_fsbc initialization if OPA-SAS coupling via OASIS 
    264266!     sas model time step has to be declared in OASIS (mandatory) -> nn_fsbc has to be modified accordingly 
Note: See TracChangeset for help on using the changeset viewer.