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 3176 – NEMO

Changeset 3176


Ignore:
Timestamp:
2011-11-24T12:55:59+01:00 (12 years ago)
Author:
charris
Message:

Removal of references to tn and tb since they no longer exist in NEMO. Also a bit of tidying and some extra consistency checks between NEMO and CICE options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90

    r3152 r3176  
    4343                swvdr,swvdf,swidr,swidf 
    4444   USE ice_forcing, only: frcvdr,frcvdf,frcidr,frcidf 
     45   USE ice_atmo, only: calc_strair 
     46   USE ice_therm_vertical, only: calc_Tsfc 
    4547 
    4648   USE CICE_InitMod 
     
    143145 
    144146! Initialize CICE 
    145       call CICE_Initialize 
     147      CALL CICE_Initialize 
     148 
     149! Do some CICE consistency checks 
     150     IF ( (nsbc == 2) .OR. (nsbc == 5) ) THEN 
     151        IF ( calc_strair .OR. calc_Tsfc ) THEN 
     152           CALL ctl_stop( 'STOP', 'cice_sbc_init : Forcing option requires calc_strair=F and calc_Tsfc=F in ice_in' ) 
     153        ENDIF 
     154     ELSEIF (nsbc == 4) THEN 
     155        IF ( .NOT. (calc_strair .AND. calc_Tsfc) ) THEN 
     156           CALL ctl_stop( 'STOP', 'cice_sbc_init : Forcing option requires calc_strair=T and calc_Tsfc=T in ice_in' ) 
     157        ENDIF 
     158     ENDIF 
     159 
    146160 
    147161! allocate sbc_ice and sbc_cice arrays 
     
    153167         tsn(:,:,:,jp_tem) = MAX (tsn(:,:,:,jp_tem),Tocnfrz) 
    154168         tsb(:,:,:,jp_tem) = tsn(:,:,:,jp_tem) 
    155          tn(:,:,:) = MAX (tn(:,:,:),Tocnfrz) 
    156          tb(:,:,:) = tn(:,:,:) 
    157169      ENDIF 
    158170 
Note: See TracChangeset for help on using the changeset viewer.