Ignore:
Timestamp:
2019-03-15T13:13:07+01:00 (23 months ago)
Author:
jcastill
Message:

Minimal set of changes for coupling order

File:
1 edited

Legend:

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

    r10763 r10764  
    290290      !                             !* OASIS initialization 
    291291      ! 
    292       IF( lk_oasis )   CALL sbc_cpl_init( nn_ice )   ! Must be done before: (1) first time step 
    293       !                                              !                      (2) the use of nn_fsbc 
     292      IF( lk_oasis ) THEN  
     293         IF( sbc_cpl_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'sbc_cpl_alloc : unable to allocate arrays' )   
     294         CALL sbc_cpl_init( nn_ice )   ! Must be done before: (1) first time step  
     295                                       !                      (2) the use of nn_fsbc  
     296      ENDIF 
    294297      !     nn_fsbc initialization if OPA-SAS coupling via OASIS 
    295298      !     SAS 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.