- Timestamp:
- 2020-05-14T21:46:00+02:00 (4 years ago)
- Location:
- NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser
- Property svn:externals
-
old new 6 6 ^/vendors/FCM@HEAD ext/FCM 7 7 ^/vendors/IOIPSL@HEAD ext/IOIPSL 8 9 # SETTE 10 ^/utils/CI/sette@HEAD sette
-
- Property svn:externals
-
NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/src/TOP/CFC/trcini_cfc.F90
r10068 r12928 24 24 REAL(wp) :: ylatn = 10. ! 10 degrees north 25 25 26 !! * Substitutions 27 # include "do_loop_substitute.h90" 26 28 !!---------------------------------------------------------------------- 27 29 !! NEMO/TOP 4.0 , NEMO Consortium (2018) … … 31 33 CONTAINS 32 34 33 SUBROUTINE trc_ini_cfc 35 SUBROUTINE trc_ini_cfc( Kmm ) 34 36 !!---------------------------------------------------------------------- 35 37 !! *** trc_ini_cfc *** … … 39 41 !! ** Method : - Read the namcfc namelist and check the parameter values 40 42 !!---------------------------------------------------------------------- 43 INTEGER, INTENT(in) :: Kmm ! time level indices 41 44 INTEGER :: ji, jj, jn, jl, jm, js, io, ierr 42 INTEGER :: iskip = 6 ! number of 1st descriptor lines45 INTEGER :: iskip = 6 ! number of 1st descriptor lines 43 46 REAL(wp) :: zyy, zyd 44 47 CHARACTER(len = 20) :: cltra … … 90 93 DO jl = 1, jp_cfc 91 94 jn = jp_cfc0 + jl - 1 92 tr n(:,:,:,jn) = 0._wp95 tr(:,:,:,jn,Kmm) = 0._wp 93 96 END DO 94 97 ENDIF … … 129 132 !--------------------------------------------------------------------------------------- 130 133 zyd = ylatn - ylats 131 DO jj = 1 , jpj 132 DO ji = 1 , jpi 133 IF( gphit(ji,jj) >= ylatn ) THEN ; xphem(ji,jj) = 1.e0 134 ELSEIF( gphit(ji,jj) <= ylats ) THEN ; xphem(ji,jj) = 0.e0 135 ELSE ; xphem(ji,jj) = ( gphit(ji,jj) - ylats) / zyd 136 ENDIF 137 END DO 138 END DO 134 DO_2D_11_11 135 IF( gphit(ji,jj) >= ylatn ) THEN ; xphem(ji,jj) = 1.e0 136 ELSEIF( gphit(ji,jj) <= ylats ) THEN ; xphem(ji,jj) = 0.e0 137 ELSE ; xphem(ji,jj) = ( gphit(ji,jj) - ylats) / zyd 138 ENDIF 139 END_2D 139 140 ! 140 141 IF(lwp) WRITE(numout,*) 'Initialization of CFC tracers done'
Note: See TracChangeset
for help on using the changeset viewer.