Changeset 3176
- Timestamp:
- 2011-11-24T12:55:59+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r3152 r3176 43 43 swvdr,swvdf,swidr,swidf 44 44 USE ice_forcing, only: frcvdr,frcvdf,frcidr,frcidf 45 USE ice_atmo, only: calc_strair 46 USE ice_therm_vertical, only: calc_Tsfc 45 47 46 48 USE CICE_InitMod … … 143 145 144 146 ! 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 146 160 147 161 ! allocate sbc_ice and sbc_cice arrays … … 153 167 tsn(:,:,:,jp_tem) = MAX (tsn(:,:,:,jp_tem),Tocnfrz) 154 168 tsb(:,:,:,jp_tem) = tsn(:,:,:,jp_tem) 155 tn(:,:,:) = MAX (tn(:,:,:),Tocnfrz)156 tb(:,:,:) = tn(:,:,:)157 169 ENDIF 158 170
Note: See TracChangeset
for help on using the changeset viewer.