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 12443 for NEMO/branches/2020/KERNEL-03_Storkey_Coward_RK3_stage2/tests/BENCH/MY_SRC/diawri.F90 – NEMO

Ignore:
Timestamp:
2020-02-24T14:00:21+01:00 (4 years ago)
Author:
davestorkey
Message:

2020/KERNEL-03_Storkey_Coward_RK3_stage2: More variable renaming:
atfp -> rn_atfp (use namelist parameter everywhere)
rdtbt -> rDt_e
nn_baro -> nn_e
rn_scal_load -> rn_load
rau0 -> rho0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/KERNEL-03_Storkey_Coward_RK3_stage2/tests/BENCH/MY_SRC/diawri.F90

    r12377 r12443  
    169169 
    170170      IF ( iom_use("taubot") ) THEN                ! bottom stress 
    171          zztmp = rau0 * 0.25 
     171         zztmp = rho0 * 0.25 
    172172         z2d(:,:) = 0._wp 
    173173         DO jj = 2, jpjm1 
     
    214214      IF( iom_use('w_masstr') .OR. iom_use('w_masstr2') ) THEN   ! vertical mass transport & its square value 
    215215         ! Caution: in the VVL case, it only correponds to the baroclinic mass transport. 
    216          z2d(:,:) = rau0 * e1e2t(:,:) 
     216         z2d(:,:) = rho0 * e1e2t(:,:) 
    217217         DO jk = 1, jpk 
    218218            z3d(:,:,jk) = ww(:,:,jk) * z2d(:,:) 
     
    257257            END DO 
    258258         END DO 
    259          CALL iom_put( "heatc", rau0_rcp * z2d )   ! vertically integrated heat content (J/m2) 
     259         CALL iom_put( "heatc", rho0_rcp * z2d )   ! vertically integrated heat content (J/m2) 
    260260      ENDIF 
    261261 
     
    269269            END DO 
    270270         END DO 
    271          CALL iom_put( "saltc", rau0 * z2d )          ! vertically integrated salt content (PSU*kg/m2) 
     271         CALL iom_put( "saltc", rho0 * z2d )          ! vertically integrated salt content (PSU*kg/m2) 
    272272      ENDIF 
    273273      ! 
     
    295295         z2d(:,:) = 0.e0 
    296296         DO jk = 1, jpkm1 
    297             z3d(:,:,jk) = rau0 * uu(:,:,jk,Kmm) * e2u(:,:) * e3u(:,:,jk,Kmm) * umask(:,:,jk) 
     297            z3d(:,:,jk) = rho0 * uu(:,:,jk,Kmm) * e2u(:,:) * e3u(:,:,jk,Kmm) * umask(:,:,jk) 
    298298            z2d(:,:) = z2d(:,:) + z3d(:,:,jk) 
    299299         END DO 
     
    332332         z3d(:,:,jpk) = 0.e0 
    333333         DO jk = 1, jpkm1 
    334             z3d(:,:,jk) = rau0 * vv(:,:,jk,Kmm) * e1v(:,:) * e3v(:,:,jk,Kmm) * vmask(:,:,jk) 
     334            z3d(:,:,jk) = rho0 * vv(:,:,jk,Kmm) * e1v(:,:) * e3v(:,:,jk,Kmm) * vmask(:,:,jk) 
    335335         END DO 
    336336         CALL iom_put( "v_masstr", z3d )              ! mass transport in j-direction 
     
    373373         END DO 
    374374         CALL lbc_lnk( 'diawri', z2d, 'T', -1. ) 
    375          CALL iom_put( "tosmint", rau0 * z2d )        ! Vertical integral of temperature 
     375         CALL iom_put( "tosmint", rho0 * z2d )        ! Vertical integral of temperature 
    376376      ENDIF 
    377377      IF( iom_use("somint") ) THEN 
     
    385385         END DO 
    386386         CALL lbc_lnk( 'diawri', z2d, 'T', -1. ) 
    387          CALL iom_put( "somint", rau0 * z2d )         ! Vertical integral of salinity 
     387         CALL iom_put( "somint", rho0 * z2d )         ! Vertical integral of salinity 
    388388      ENDIF 
    389389 
Note: See TracChangeset for help on using the changeset viewer.