Changeset 13599 for NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/AM98/MY_SRC/usrdef_istate.F90
- Timestamp:
- 2020-10-14T17:45:46+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/AM98/MY_SRC/usrdef_istate.F90
r13503 r13599 7 7 !! User defined : set the initial state of a user configuration 8 8 !!====================================================================== 9 !! History : 4.0 ! 2016-03 (S. Flavoni) Original code 9 !! History : 4.0 ! 2016-03 (S. Flavoni) Original code 10 !! - ! 2020-03 (A. Nasser) Shallow Water Eq. configuration 10 11 !!---------------------------------------------------------------------- 11 12 … … 13 14 !! usr_def_istate : initial state in Temperature and salinity 14 15 !!---------------------------------------------------------------------- 15 USE par_oce ! ocean space and time domain 16 USE par_oce ! ocean space and time domain master parameters 16 17 USE phycst ! physical constants 17 18 ! 18 19 USE in_out_manager ! I/O manager 19 20 USE lib_mpp ! MPP library 20 21 21 22 IMPLICIT NONE 22 23 PRIVATE … … 43 44 REAL(wp), DIMENSION(jpi,jpj,jpk) , INTENT(in ) :: pdept ! depth of t-point [m] 44 45 REAL(wp), DIMENSION(jpi,jpj,jpk) , INTENT(in ) :: ptmask ! t-point ocean mask [m] 46 ! 45 47 REAL(wp), DIMENSION(jpi,jpj,jpk,jpts), INTENT( out) :: pts ! T & S fields [Celsius ; g/kg] 46 48 REAL(wp), DIMENSION(jpi,jpj,jpk) , INTENT( out) :: pu ! i-component of the velocity [m/s] … … 55 57 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~~ Ocean at rest, with an horizontally uniform T and S profiles' 56 58 ! 57 pu (:,:,:) = 0._wp ! ocean at rest 58 pv (:,:,:) = 0._wp 59 pssh(:,:) = 0._wp 60 !!an 61 IF(lwp) WRITE(numout,*) "end istate" 62 call flush(numout) 59 pu (:,:,:) = 0._wp ! ocean at rest 60 pv (:,:,:) = 0._wp 61 pssh(:,:) = 0._wp 62 ts (:,:,:,:) = 0._wp ! not used in SWE 63 63 64 IF(lwp) WRITE(numout,*) "end istate" 65 CALL FLUSH(numout) 64 66 ! 65 67 END SUBROUTINE usr_def_istate
Note: See TracChangeset
for help on using the changeset viewer.