Changeset 1255 for trunk/NEMO/TOP_SRC/CFC/trcini_cfc.F90
- Timestamp:
- 2009-01-13T11:20:17+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/TOP_SRC/CFC/trcini_cfc.F90
r1146 r1255 44 44 !! ** Method : - Read the namcfc namelist and check the parameter values 45 45 !!---------------------------------------------------------------------- 46 INTEGER :: ji, jj, jn, jl, jm 46 INTEGER :: ji, jj, jn, jl, jm, js 47 47 REAL(wp) :: zyy , zyd 48 48 !!---------------------------------------------------------------------- … … 55 55 ! Initialization of boundaries conditions 56 56 ! --------------------------------------- 57 qtr (:,:,:)= 0.e058 xphem (:,:) = 0.e059 DO jn = jp_cfc0, jp_cfc157 xphem (:,:) = 0.e0 58 DO jl = 1, jp_cfc 59 jn = jp_cfc0 + jl - 1 60 60 DO jm = 1, jphem 61 DO j l= 1, jpyear62 p_cfc(j l,jm,jn) = 0.061 DO js = 1, jpyear 62 p_cfc(js,jm,jn) = 0.0 63 63 END DO 64 64 END DO … … 68 68 ! Initialization of qint in case of no restart 69 69 !---------------------------------------------- 70 qtr_cfc(:,:,:) = 0.e0 70 71 IF( .NOT. lrsttr ) THEN 71 72 IF(lwp) THEN … … 73 74 WRITE(numout,*) 'Initialization de qint ; No restart : qint equal zero ' 74 75 ENDIF 75 DO jn = jp_cfc0, jp_cfc1 76 trn(:,:,:,jn) = 0.e0 77 qint(:,: ,jn) = 0.e0 76 DO jl = 1, jp_cfc 77 jn = jp_cfc0 + jl - 1 78 trn (:,:,:,jn) = 0.e0 79 qint_cfc(:,: ,jn) = 0.e0 78 80 END DO 79 81 ENDIF … … 96 98 97 99 DO jn = 31, 98 ! Read file 98 READ(inum,*) zyy, p_cfc(jn,1,jp11), p_cfc(jn,1,jp12), & 99 & p_cfc(jn,2,jp11), p_cfc(jn,2,jp12) 100 READ(inum,*) zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), p_cfc(jn,2,1), p_cfc(jn,2,2) 100 101 WRITE(numout,'(f7.2, 4f8.2)' ) & 101 & zyy, p_cfc(jn,1,jp11), p_cfc(jn,1,jp12), & 102 & p_cfc(jn,2,jp11), p_cfc(jn,2,jp12) 102 & zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), p_cfc(jn,2,1), p_cfc(jn,2,2) 103 103 END DO 104 104 105 p_cfc(32,1:2, jp11) = 5.e-4 ! modify the values of the first years106 p_cfc(33,1:2, jp11) = 8.e-4107 p_cfc(34,1:2, jp11) = 1.e-6108 p_cfc(35,1:2, jp11) = 2.e-3109 p_cfc(36,1:2, jp11) = 4.e-3110 p_cfc(37,1:2, jp11) = 6.e-3111 p_cfc(38,1:2, jp11) = 8.e-3112 p_cfc(39,1:2, jp11) = 1.e-2105 p_cfc(32,1:2,1) = 5.e-4 ! modify the values of the first years 106 p_cfc(33,1:2,1) = 8.e-4 107 p_cfc(34,1:2,1) = 1.e-6 108 p_cfc(35,1:2,1) = 2.e-3 109 p_cfc(36,1:2,1) = 4.e-3 110 p_cfc(37,1:2,1) = 6.e-3 111 p_cfc(38,1:2,1) = 8.e-3 112 p_cfc(39,1:2,1) = 1.e-2 113 113 114 114 IF(lwp) THEN ! Control print … … 117 117 DO jn = 30, 100 118 118 WRITE(numout, '( 1I4, 4F9.2)') & 119 & jn, p_cfc(jn,1,jp11), p_cfc(jn,2,jp11), & 120 & p_cfc(jn,1,jp12), p_cfc(jn,2,jp12) 119 & jn, p_cfc(jn,1,1), p_cfc(jn,2,1), p_cfc(jn,1,2), p_cfc(jn,2,2) 121 120 END DO 122 121 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.