Changeset 184
- Timestamp:
- Mar 29, 2001, 10:41:34 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/dyn3d/fluxstokenc.F
r55 r184 1 1 SUBROUTINE fluxstokenc(pbaru,pbarv,masse,teta,phi,phis, 2 . time_step,itau , fluxid, fluxvid,fluxdid)2 . time_step,itau ) 3 3 4 4 USE IOIPSL … … 30 30 31 31 REAL pbarvst(iip1,jjp1,llm),zistdyn 32 real dtcum 32 33 33 34 INTEGER iadvtr 35 integer ndex1d(1) 36 integer ndex2d(ip1jmp1) 37 integer ndex3dv(ip1jm*llm),ndex3d(ip1jmp1*llm) 34 INTEGER iadvtr,ndex(1) 38 35 integer nscal 39 36 real tst(1),ist(1),istp(1) … … 53 50 . time_step,istdyn* time_step,istdyn* time_step, 54 51 . nqmx, fluxid,fluxvid,fluxdid) 52 53 ndex(1) = 0 54 call histwrite(fluxid, 'phis', 1, phis, iip1*jjp1, ndex) 55 call histwrite(fluxid, 'aire', 1, aire, iip1*jjp1, ndex) 56 57 ndex(1) = 0 58 nscal = 1 59 tst(1) = time_step 60 call histwrite(fluxdid, 'dtvr', 1, tst, nscal, ndex) 61 ist(1)=istdyn 62 call histwrite(fluxdid, 'istdyn', 1, ist, nscal, ndex) 63 istp(1)= istphy 64 call histwrite(fluxdid, 'istphy', 1, istp, nscal, ndex) 65 55 66 first = .false. 56 67 57 68 endif 58 59 60 ndex1d = 061 ndex2d = 062 ndex3dv = 063 ndex3d = 064 69 65 70 … … 93 98 c Test pour savoir si on advecte a ce pas de temps 94 99 IF ( iadvtr.EQ.istdyn ) THEN 95 96 100 c normalisation 97 101 DO l=1,llm … … 124 128 125 129 iadvtr=0 126 127 c write(*,*)'histwrite phis' 128 call histwrite(fluxid, 'phis', 1, phis, iip1*jjp1, ndex2d) 129 c write(*,*)'histwrite aire' 130 call histwrite(fluxid, 'aire', 1, aire, iip1*jjp1, ndex2d) 130 Print*,'ITAU auqel on stoke les fluxmasses',itau 131 131 132 nscal = 1 133 tst(1) = time_step 134 c write(*,*)'histwrite dtvr' 135 call histwrite(fluxdid, 'dtvr', 1, tst, nscal, ndex1d) 136 ist(1)=istdyn 137 c write(*,*)'histwrite istdyn' 138 call histwrite(fluxdid, 'istdyn', 1, ist, nscal, ndex1d) 139 istp(1)= istphy 140 c write(*,*)'histwrite istphy' 141 call histwrite(fluxdid, 'istphy', 1, istp, nscal, ndex1d) 142 143 c write(*,*)'histwrite masse' 144 call histwrite(fluxid, 'masse', itau, masse, 145 . iip1*jjp1*llm, ndex3d) 132 call histwrite(fluxid, 'masse', itau, massem, 133 . iip1*jjp1*llm, ndex) 146 134 147 c write(*,*)'histwrite pbaru'148 135 call histwrite(fluxid, 'pbaru', itau, pbarug, 149 . iip1*jjp1*llm, ndex 3d)136 . iip1*jjp1*llm, ndex) 150 137 151 c write(*,*)'histwrite pbarv' 152 call histwrite(fluxvid, 'pbarv', itau, pbarvst, 153 . iim*jjp1*llm, ndex3dv) 138 call histwrite(fluxvid, 'pbarv', itau, pbarvg, 139 . iip1*jjm*llm, ndex) 154 140 155 c write(*,*)'histwrite w'156 141 call histwrite(fluxid, 'w' ,itau, wg, 157 . iip1*jjp1*llm, ndex 3d)142 . iip1*jjp1*llm, ndex) 158 143 159 c write(*,*)'histwrite teta'160 144 call histwrite(fluxid, 'teta' ,itau, tetac, 161 . iip1*jjp1*llm, ndex 3d)145 . iip1*jjp1*llm, ndex) 162 146 163 c write(*,*)'histwrite phi'164 147 call histwrite(fluxid, 'phi' ,itau, phic, 165 . iip1*jjp1*llm, ndex 3d)148 . iip1*jjp1*llm, ndex) 166 149 167 150 C
Note: See TracChangeset
for help on using the changeset viewer.