Changeset 8914
- Timestamp:
- 2017-12-06T12:24:54+01:00 (5 years ago)
- Location:
- branches/2017/dev_r8329_ENHANCE14_SAL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8329_ENHANCE14_SAL/DOC/Namelists/nam_tide
r7646 r8914 2 2 &nam_tide ! tide parameters 3 3 !----------------------------------------------------------------------- 4 ln_tide = .true. ! Activate tide module 5 ln_tide_pot = .true. ! use tidal potential forcing 6 ln_tide_ramp = .false. ! 7 rdttideramp = 0. ! 8 clname(1) = 'DUMMY' ! name of constituent - all tidal components must be set in namelist_cfg 4 ln_tide = .false. ! Activate tides 5 ln_tide_pot = .true. ! use tidal potential forcing 6 ln_scal_load = .false. ! Use scalar approximation for 7 rn_scal_load = 0.094 ! load potential 8 ln_read_load = .false. ! Or read load potential from file 9 cn_tide_load = 'tide_LOAD_grid_T.nc' ! filename for load potential 10 ! 11 ln_tide_ramp = .false. ! Use linear ramp for tides at startup 12 rdttideramp = 0. ! ramp duration in days 13 clname(1) = 'DUMMY' ! name of constituent - all tidal components must be set in namelist_cfg 9 14 / -
branches/2017/dev_r8329_ENHANCE14_SAL/NEMOGCM/NEMO/OPA_SRC/SBC/tideini.F90
r8903 r8914 8 8 USE oce ! ocean dynamics and tracers variables 9 9 USE dom_oce ! ocean space and time domain 10 USE phycst ! physical constant 11 USE daymod ! cal andar10 USE phycst ! physical constants 11 USE daymod ! calendar 12 12 USE tide_mod ! 13 13 ! … … 34 34 REAL(wp), PUBLIC :: rdttideramp !: 35 35 REAL(wp), PUBLIC :: rn_scal_load !: 36 CHARACTER(lc), PUBLIC :: cn_tide_load !: filename for input load potential36 CHARACTER(lc), PUBLIC :: cn_tide_load !: 37 37 38 38 INTEGER , PUBLIC, ALLOCATABLE, DIMENSION(:) :: ntide !: … … 53 53 INTEGER :: ios ! Local integer output status for namelist read 54 54 ! 55 NAMELIST/nam_tide/ln_tide, ln_tide_pot, ln_ read_load, ln_scal_load, cn_tide_load, &55 NAMELIST/nam_tide/ln_tide, ln_tide_pot, ln_scal_load, ln_read_load, cn_tide_load, & 56 56 & ln_tide_ramp, rn_scal_load, rdttideramp, clname 57 57 !!---------------------------------------------------------------------- … … 77 77 WRITE(numout,*) ' Use scalar approx. for load potential : ln_scal_load = ', ln_scal_load 78 78 WRITE(numout,*) ' Read load potential from file : ln_read_load = ', ln_read_load 79 80 WRITE(numout,*) ' nb_harmo = ', nb_harmo 81 WRITE(numout,*) ' rn_scal_load = ', rn_scal_load 82 WRITE(numout,*) ' ln_tide_ramp = ', ln_tide_ramp 83 WRITE(numout,*) ' rdttideramp = ', rdttideramp 79 WRITE(numout,*) ' Apply ramp on tides at startup : ln_tide_ramp = ', ln_tide_ramp 80 WRITE(numout,*) ' Fraction of SSH used in scal. approx. : rn_scal_load = ', rn_scal_load 81 WRITE(numout,*) ' Duration (days) of ramp : rdttideramp = ', rdttideramp 84 82 ENDIF 85 83 ELSE … … 106 104 IF( ln_scal_load.AND.(.NOT.ln_tide_pot) ) & 107 105 & CALL ctl_stop('ln_scal_load requires ln_tide_pot') 108 IF( ln_scal_load.AND.ln_ tide_pot) &106 IF( ln_scal_load.AND.ln_read_load ) & 109 107 & CALL ctl_stop('Choose between ln_scal_load and ln_read_load') 110 108 IF( ln_tide_ramp.AND.((nitend-nit000+1)*rdt/rday < rdttideramp) ) &
Note: See TracChangeset
for help on using the changeset viewer.