/[lmdze]/trunk/Sources/dyn3d/etat0.f
ViewVC logotype

Diff of /trunk/Sources/dyn3d/etat0.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 61 by guez, Fri Apr 20 14:58:43 2012 UTC revision 65 by guez, Thu Sep 20 09:57:03 2012 UTC
# Line 61  contains Line 61  contains
61      ! (latitude and longitude of a point of the scalar grid identified      ! (latitude and longitude of a point of the scalar grid identified
62      ! by a simple index, in °)      ! by a simple index, in °)
63    
64      REAL, dimension(iim + 1, jjm + 1, llm):: uvent, t3d, tpot      REAL, dimension(iim + 1, jjm + 1, llm):: ucov, t3d, tpot
65      REAL vvent(iim + 1, jjm, llm)      REAL vcov(iim + 1, jjm, llm)
66    
67      REAL q3d(iim + 1, jjm + 1, llm, nqmx)      REAL q3d(iim + 1, jjm + 1, llm, nqmx)
68      ! (mass fractions of trace species      ! (mass fractions of trace species
# Line 158  contains Line 158  contains
158      PRINT *, "minval(pls) = ", minval(pls)      PRINT *, "minval(pls) = ", minval(pls)
159      print *, "maxval(pls) = ", maxval(pls)      print *, "maxval(pls) = ", maxval(pls)
160    
161      call start_inter_3d('U', rlonv, rlatv, pls, uvent)      call start_inter_3d('U', rlonv, rlatv, pls, ucov)
162      forall (l = 1: llm) uvent(:iim, :, l) = uvent(:iim, :, l) * cu_2d(:iim, :)      forall (l = 1: llm) ucov(:iim, :, l) = ucov(:iim, :, l) * cu_2d(:iim, :)
163      uvent(iim+1, :, :) = uvent(1, :, :)      ucov(iim+1, :, :) = ucov(1, :, :)
164    
165      call start_inter_3d('V', rlonu, rlatu(:jjm), pls(:, :jjm, :), vvent)      call start_inter_3d('V', rlonu, rlatu(:jjm), pls(:, :jjm, :), vcov)
166      forall (l = 1: llm) vvent(:iim, :, l) = vvent(:iim, :, l) * cv_2d(:iim, :)      forall (l = 1: llm) vcov(:iim, :, l) = vcov(:iim, :, l) * cv_2d(:iim, :)
167      vvent(iim + 1, :, :) = vvent(1, :, :)      vcov(iim + 1, :, :) = vcov(1, :, :)
168    
169      call start_inter_3d('TEMP', rlonu, rlatv, pls, t3d)      call start_inter_3d('TEMP', rlonu, rlatv, pls, t3d)
170      PRINT *,  'minval(t3d) = ', minval(t3d)      PRINT *,  'minval(t3d) = ', minval(t3d)
# Line 308  contains Line 308  contains
308      annee_ref = anneeref      annee_ref = anneeref
309    
310      CALL geopot(ip1jmp1, tpot, pk , pks,  phis, phi)      CALL geopot(ip1jmp1, tpot, pk , pks,  phis, phi)
311      CALL caldyn0(uvent, vvent, tpot, psol, masse, pk, phis, phi, w, pbaru, &      CALL caldyn0(ucov, vcov, tpot, psol, masse, pk, phis, phi, w, pbaru, &
312           pbarv)           pbarv)
313      CALL dynredem0("start.nc", dayref, phis)      CALL dynredem0("start.nc", dayref, phis)
314      CALL dynredem1("start.nc", vvent, uvent, tpot, q3d, masse, psol, itau=0)      CALL dynredem1("start.nc", vcov, ucov, tpot, q3d, masse, psol, itau=0)
315    
316      ! Ecriture état initial physique:      ! Ecriture état initial physique:
317      print *, "iphysiq = ", iphysiq      print *, "iphysiq = ", iphysiq

Legend:
Removed from v.61  
changed lines
  Added in v.65

  ViewVC Help
Powered by ViewVC 1.1.21