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 14133 for NEMO/trunk/tests/VORTEX – NEMO

Ignore:
Timestamp:
2020-12-08T14:25:34+01:00 (4 years ago)
Author:
jchanut
Message:

Now rn_a0 is public, use it in test cases instead of harcoded values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/tests/VORTEX/MY_SRC/usrdef_istate.F90

    r14086 r14133  
    1717   USE dom_oce , ONLY : glamt, gphit, glamu, gphiu, glamv, gphiv   
    1818   USE phycst         ! physical constants 
     19   USE eosbn2  , ONLY : rn_a0 
    1920   ! 
    2021   USE in_out_manager ! I/O manager 
     
    8586                  & * EXP(-(zx**2+zy**2)/zlambda**2) / (grav*(zH -1._wp + EXP(-zH))); 
    8687            ENDIF 
    87             pts(ji,jj,jk,jp_tem) = (20._wp + (rho0-zrho1) / 0.28_wp) * ptmask(ji,jj,jk) 
     88            pts(ji,jj,jk,jp_tem) = (20._wp + (rho0-zrho1) / rn_a0 ) * ptmask(ji,jj,jk) 
    8889         END DO 
    8990      END_2D 
Note: See TracChangeset for help on using the changeset viewer.