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 11510 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdyice.F90 – NEMO

Ignore:
Timestamp:
2019-09-06T18:08:57+02:00 (5 years ago)
Author:
clem
Message:

add ponds for bdy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdyice.F90

    r11507 r11510  
    225225                  ! 
    226226               CASE( 0 )   ! velocity is inward 
    227                   oa_i(ji,jj,jl) = rice_age(jbdy) * a_i(ji,jj,jl)   ! age 
    228                   a_ip(ji,jj,jl) = 0._wp                            ! pond concentration 
    229                   v_ip(ji,jj,jl) = 0._wp                            ! pond volume 
     227                  oa_i(ji,jj,jl) = rice_age(jbdy) * a_i(ji,jj,jl)     ! age 
     228                  IF( ln_pnd_CST .OR. ln_pnd_H12 ) THEN 
     229                     a_ip(ji,jj,jl) = rice_apnd(jbdy)                 ! pond concentration 
     230                     v_ip(ji,jj,jl) = rice_apnd(jbdy)*rice_hpnd(jbdy) ! pond volume 
     231                  ENDIF 
    230232               CASE( 1 )   ! velocity is outward 
    231                   oa_i(ji,jj,jl) = oa_i(ib,jb,jl) ! age 
    232                   a_ip(ji,jj,jl) = a_ip(ib,jb,jl) ! pond concentration 
    233                   v_ip(ji,jj,jl) = v_ip(ib,jb,jl) ! pond volume 
     233                  oa_i(ji,jj,jl) = oa_i(ib,jb,jl)                     ! age 
     234                  IF( ln_pnd_CST .OR. ln_pnd_H12 ) THEN 
     235                     a_ip(ji,jj,jl) = a_ip(ib,jb,jl)                  ! pond concentration 
     236                     v_ip(ji,jj,jl) = v_ip(ib,jb,jl)                  ! pond volume 
     237                  ENDIF 
    234238               END SELECT 
    235239               ! 
Note: See TracChangeset for help on using the changeset viewer.