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

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

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

revision 144 by guez, Wed Jun 10 16:46:46 2015 UTC revision 145 by guez, Tue Jun 16 15:23:29 2015 UTC
# Line 15  contains Line 15  contains
15      ! Il vaut mieux avoir : grossismx \times dzoom < pi      ! Il vaut mieux avoir : grossismx \times dzoom < pi
16    
17      ! Le premier point scalaire pour une grille regulière (grossismx =      ! Le premier point scalaire pour une grille regulière (grossismx =
18      ! 1., taux=0., clon=0.) est à - 180 degrés.      ! 1., taux = 0., clon = 0.) est à - 180 degrés.
19    
20      USE dimens_m, ONLY: iim      USE dimens_m, ONLY: iim
21      use dynetat0_m, only: clon, grossismx, dzoomx, taux      use dynetat0_m, only: clon, grossismx, dzoomx, taux
# Line 33  contains Line 33  contains
33      real d_rlonv(iim)      real d_rlonv(iim)
34      DOUBLE PRECISION xtild(0:2 * nmax)      DOUBLE PRECISION xtild(0:2 * nmax)
35      DOUBLE PRECISION fhyp(nmax:2 * nmax), ffdx, beta, Xprimt(0:2 * nmax)      DOUBLE PRECISION fhyp(nmax:2 * nmax), ffdx, beta, Xprimt(0:2 * nmax)
36      DOUBLE PRECISION Xf(0:2 * nmax), xxpr(2 * nmax)      DOUBLE PRECISION Xf(0:2 * nmax)
37      INTEGER i, is2      INTEGER i, is2
38      DOUBLE PRECISION, dimension(nmax + 1:2 * nmax):: xmoy, fxm      DOUBLE PRECISION, dimension(nmax + 1:2 * nmax):: xxpr, xmoy, fxm
39    
40      !----------------------------------------------------------------------      !----------------------------------------------------------------------
41    
# Line 91  contains Line 91  contains
91    
92         ! Calcul de Xf         ! Calcul de Xf
93    
94         xxpr(nmax + 1:2 * nmax) = beta + (grossismx - beta) * fxm         xxpr = beta + (grossismx - beta) * fxm
95         xxpr(:nmax) = xxpr(2 * nmax:nmax + 1:- 1)         Xf(nmax) = 0d0
96    
97         Xf(0) = - pi_d         DO i = nmax + 1, 2 * nmax - 1
   
        DO i=1, 2 * nmax - 1  
98            Xf(i) = Xf(i-1) + xxpr(i) * (xtild(i) - xtild(i-1))            Xf(i) = Xf(i-1) + xxpr(i) * (xtild(i) - xtild(i-1))
99         END DO         END DO
100    
101         Xf(2 * nmax) = pi_d         Xf(2 * nmax) = pi_d
102           xf(:nmax - 1) = - xf(2 * nmax:nmax + 1:- 1)
103    
104         call invert_zoom_x(xf, xtild, Xprimt, rlonm025(:iim), xprimm025(:iim), &         call invert_zoom_x(xf, xtild, Xprimt, rlonm025(:iim), xprimm025(:iim), &
105              xuv = - 0.25d0)              xuv = - 0.25d0)

Legend:
Removed from v.144  
changed lines
  Added in v.145

  ViewVC Help
Powered by ViewVC 1.1.21