Changeset 4748 for branches/2014/dev_r4650_UKMO13_CICE_changes_take2/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
- Timestamp:
- 2014-08-18T10:33:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO13_CICE_changes_take2/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r4627 r4748 4 4 !! To couple with sea ice model CICE (LANL) 5 5 !!===================================================================== 6 #if defined key_cice 6 #if defined key_cice || defined key_cice5 7 7 !!---------------------------------------------------------------------- 8 8 !! 'key_cice' : CICE sea-ice model … … 23 23 USE daymod ! calendar 24 24 USE fldread ! read input fields 25 26 25 USE sbc_oce ! Surface boundary condition: ocean fields 27 26 USE sbc_ice ! Surface boundary condition: ice fields … … 38 37 USE ice_calendar, only: dt 39 38 USE ice_state, only: aice,aicen,uvel,vvel,vsno,vsnon,vice,vicen 39 # if defined key_cice5 40 USE ice_flux, only: strax,stray,strocnx,strocny,frain,fsnow, & 41 sst,sss,uocn,vocn,ss_tltx,ss_tlty,fsalt_ai, & 42 fresh_ai,fhocn_ai,fswthru_ai,frzmlt, & 43 flatn_f,fsurfn_f,fcondtopn_f, & 44 uatm,vatm,wind,fsw,flw,Tair,potT,Qa,rhoa,zlvl, & 45 swvdr,swvdf,swidr,swidf 46 USE ice_therm_shared, only: calc_Tsfc 47 #else 40 48 USE ice_flux, only: strax,stray,strocnx,strocny,frain,fsnow, & 41 49 sst,sss,uocn,vocn,ss_tltx,ss_tlty,fsalt_gbm, & … … 44 52 uatm,vatm,wind,fsw,flw,Tair,potT,Qa,rhoa,zlvl, & 45 53 swvdr,swvdf,swidr,swidf 54 USE ice_therm_vertical, only: calc_Tsfc 55 #endif 46 56 USE ice_forcing, only: frcvdr,frcvdf,frcidr,frcidf 47 57 USE ice_atmo, only: calc_strair 48 USE ice_therm_vertical, only: calc_Tsfc49 58 50 59 USE CICE_InitMod … … 524 533 ENDIF 525 534 535 #if defined key_cice5 536 CALL cice2nemo(fresh_ai,ztmp1,'T', 1. ) 537 CALL cice2nemo(fsalt_ai,ztmp2,'T', 1. ) 538 #else 526 539 CALL cice2nemo(fresh_gbm,ztmp1,'T', 1. ) 527 540 CALL cice2nemo(fsalt_gbm,ztmp2,'T', 1. ) 541 #endif 528 542 529 543 ! Check to avoid unphysical expression when ice is forming (ztmp1 negative) … … 557 571 ! Now add in ice / snow related terms 558 572 ! [fswthru will be zero unless running with calc_Tsfc=T in CICE] 573 #if defined key_cice5 574 CALL cice2nemo(fswthru_ai,ztmp1,'T', 1. ) 575 #else 559 576 CALL cice2nemo(fswthru_gbm,ztmp1,'T', 1. ) 577 #endif 560 578 qsr(:,:)=qsr(:,:)+ztmp1(:,:) 561 579 CALL lbc_lnk( qsr , 'T', 1. ) … … 567 585 ENDDO 568 586 587 #if defined key_cice5 588 CALL cice2nemo(fhocn_ai,ztmp1,'T', 1. ) 589 #else 569 590 CALL cice2nemo(fhocn_gbm,ztmp1,'T', 1. ) 591 #endif 570 592 qns(:,:)=qns(:,:)+nfrzmlt(:,:)+ztmp1(:,:) 571 593
Note: See TracChangeset
for help on using the changeset viewer.