Changeset 14770 for NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU/tests/STATION_ASF/MY_SRC/usrdef_nam.F90
- Timestamp:
- 2021-04-30T12:05:23+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r13747_HPC-11_mcastril_HPDAonline_DiagGPU/tests/STATION_ASF/MY_SRC/usrdef_nam.F90
r13286 r14770 13 13 !!---------------------------------------------------------------------- 14 14 !! usr_def_nam : read user defined namelist and set global domain size 15 !! usr_def_hgr : initialize the horizontal mesh 15 !! usr_def_hgr : initialize the horizontal mesh 16 16 !!---------------------------------------------------------------------- 17 USE dom_oce , ONLY: nimpp, njmpp ! ocean space and time domain 17 18 USE par_oce ! ocean space and time domain 18 19 USE phycst ! physical constants … … 20 21 USE in_out_manager ! I/O manager 21 22 USE lib_mpp ! MPP library 22 23 23 24 IMPLICIT NONE 24 25 PRIVATE … … 31 32 !!---------------------------------------------------------------------- 32 33 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 33 !! $Id: usrdef_nam.F90 1 2377 2020-02-12 14:39:06Z acc $34 !! $Id: usrdef_nam.F90 13216 2020-07-02 09:25:49Z rblod $ 34 35 !! Software governed by the CeCILL license (see ./LICENSE) 35 36 !!---------------------------------------------------------------------- 36 37 CONTAINS 37 38 38 SUBROUTINE usr_def_nam( cd_cfg, kk_cfg, kpi, kpj, kpk, kperio)39 SUBROUTINE usr_def_nam( cd_cfg, kk_cfg, kpi, kpj, kpk, ldIperio, ldJperio, ldNFold, cdNFtype ) 39 40 !!---------------------------------------------------------------------- 40 41 !! *** ROUTINE dom_nam *** 41 !! 42 !! 42 43 !! ** Purpose : read user defined namelist and define the domain size 43 44 !! … … 48 49 !! ** input : - namusr_def namelist found in namelist_cfg 49 50 !!---------------------------------------------------------------------- 50 CHARACTER(len=*), INTENT(out) :: cd_cfg ! configuration name 51 INTEGER , INTENT(out) :: kk_cfg ! configuration resolution 52 INTEGER , INTENT(out) :: kpi, kpj, kpk ! global domain sizes 53 INTEGER , INTENT(out) :: kperio ! lateral global domain b.c. 51 CHARACTER(len=*), INTENT(out) :: cd_cfg ! configuration name 52 INTEGER , INTENT(out) :: kk_cfg ! configuration resolution 53 INTEGER , INTENT(out) :: kpi, kpj, kpk ! global domain sizes 54 LOGICAL , INTENT(out) :: ldIperio, ldJperio ! i- and j- periodicity 55 LOGICAL , INTENT(out) :: ldNFold ! North pole folding 56 CHARACTER(len=1), INTENT(out) :: cdNFtype ! Folding type: T or F 54 57 ! 55 58 INTEGER :: ios ! Local integer … … 72 75 ! 73 76 ! ! Set the lateral boundary condition of the global domain 74 kperio = 7 ! C1D configuration : 3x3 basin with cyclic Est-West and Norht-South condition 77 ldIperio = .TRUE. ; ldJperio = .true. ! C1D configuration : 3x3 basin with cyclic Est-West and Norht-South condition 78 ldNFold = .FALSE. ; cdNFtype = '-' 75 79 ! 76 80 ! ! control print … … 84 88 WRITE(numout,*) ' number of model levels kpk = ', kpk 85 89 WRITE(numout,*) ' ' 86 WRITE(numout,*) ' Lateral b.c. of the domain set to jperio = ', kperio87 90 ENDIF 88 91 !
Note: See TracChangeset
for help on using the changeset viewer.