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 5952 for branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90 – NEMO

Ignore:
Timestamp:
2015-11-30T13:16:21+01:00 (8 years ago)
Author:
mathiot
Message:

ice sheet coupling: minor changes before merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90

    r5779 r5952  
    358358    IF ( nn_timing == 1 ) CALL timing_start('sbc_isf_bg03') 
    359359     ! 
    360  
    361     ! This test is false only in the very first time step of a run (JMM ???- Initialy build to skip 1rst year of run ) 
    362360    DO ji = 1, jpi 
    363361       DO jj = 1, jpj 
     
    368366    ! 3. -----------the average temperature between 200m and 600m --------------------- 
    369367             DO jk = misfkt(ji,jj),misfkb(ji,jj) 
    370              ! freezing point temperature  at ice shelf base BG eq. 2 (JMM sign pb ??? +7.64e-4 !!!) 
    371              ! after verif with UNESCO, wrong sign in BG eq. 2 
    372368             ! Calculate freezing temperature 
    373                 zpress = grav*rau0*fsdept(ji,jj,ik)*1.e-04  
    374                 CALL eos_fzp(tsb(ji,jj,ik,jp_sal), zt_frz, zpress)  
     369                CALL eos_fzp(tsb(ji,jj,ik,jp_sal), zt_frz, fsdept(ji,jj,ik))  
    375370                zt_sum = zt_sum + (tsn(ji,jj,ik,jp_tem)-zt_frz) * fse3t(ji,jj,ik) * tmask(ji,jj,ik)  ! sum temp 
    376371             ENDDO 
Note: See TracChangeset for help on using the changeset viewer.