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 11436 for NEMO/branches/UKMO/NEMO_4.0_GC_couple_pkg/src/OCE/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2019-08-14T16:16:20+02:00 (5 years ago)
Author:
timgraham
Message:

Get rid of modification to sbc_cpl_init and sbc_cpl_alloc so that number of models is no longer hard coded in the latter. This must be leftover from CICE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_GC_couple_pkg/src/OCE/SBC/sbcmod.F90

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