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/src/OCE/TDE – 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/src/OCE/TDE/tide_mod.F90

    r12406 r12443  
    6464   INTEGER , PUBLIC ::   nb_harmo            !: Number of active tidal components 
    6565   REAL(wp), PUBLIC ::   rn_tide_ramp_dt     !: 
    66    REAL(wp), PUBLIC ::   rn_scal_load        !: 
     66   REAL(wp), PUBLIC ::   rn_load        !: 
    6767   CHARACTER(lc), PUBLIC ::   cn_tide_load   !:  
    6868   REAL(wp)         ::   rn_tide_gamma       ! Tidal tilt factor 
     
    124124      NAMELIST/nam_tide/ln_tide, nn_tide_var, ln_tide_dia, ln_tide_pot, rn_tide_gamma, & 
    125125         &              ln_scal_load, ln_read_load, cn_tide_load,         & 
    126          &              ln_tide_ramp, rn_scal_load, rn_tide_ramp_dt,      & 
     126         &              ln_tide_ramp, rn_load, rn_tide_ramp_dt,      & 
    127127         &              sn_tide_cnames 
    128128      !!---------------------------------------------------------------------- 
     
    153153            WRITE(numout,*) '         Read load potential from file           ln_read_load    = ', ln_read_load 
    154154            WRITE(numout,*) '         Apply ramp on tides at startup          ln_tide_ramp    = ', ln_tide_ramp 
    155             WRITE(numout,*) '         Fraction of SSH used in scal. approx.   rn_scal_load    = ', rn_scal_load 
     155            WRITE(numout,*) '         Fraction of SSH used in scal. approx.   rn_load    = ', rn_load 
    156156            WRITE(numout,*) '         Duration (days) of ramp                 rn_tide_ramp_dt = ', rn_tide_ramp_dt 
    157157         ENDIF 
    158158      ELSE 
    159          rn_scal_load = 0._wp  
     159         rn_load = 0._wp  
    160160 
    161161         IF(lwp) WRITE(numout,*) 
     
    193193      IF( nb_harmo == 0 )   CALL ctl_stop( 'tide_init : No tidal components set in nam_tide' ) 
    194194      ! 
    195       IF (.NOT.ln_scal_load ) rn_scal_load = 0._wp 
     195      IF (.NOT.ln_scal_load ) rn_load = 0._wp 
    196196      ! 
    197197      ALLOCATE( amp_pot(jpi,jpj,nb_harmo),                      & 
     
    754754      ! 
    755755      IF( ln_tide_dia ) THEN          ! Output total tidal potential (incl. load potential) 
    756          IF ( iom_use( "tide_pot" ) ) CALL iom_put( "tide_pot", pot_astro(:,:) + rn_scal_load * ssh(:,:,Kmm) ) 
     756         IF ( iom_use( "tide_pot" ) ) CALL iom_put( "tide_pot", pot_astro(:,:) + rn_load * ssh(:,:,Kmm) ) 
    757757      END IF 
    758758      ! 
Note: See TracChangeset for help on using the changeset viewer.