Ignore:
Timestamp:
Jun 11, 2014, 3:46:46 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r1997:2055 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/dyn3dpar/leapfrog_p.F

    r1999 r2056  
    88     &                    time_0)
    99
     10      use exner_hyb_m, only: exner_hyb
     11      use exner_milieu_m, only: exner_milieu
     12      use exner_hyb_p_m, only: exner_hyb_p
     13      use exner_milieu_p_m, only: exner_milieu_p
    1014       USE misc_mod
    1115       USE parallel_lmdz
     
    149153      character*10 string10
    150154
    151       REAL,SAVE :: alpha(ip1jmp1,llm),beta(ip1jmp1,llm)
    152155      REAL,SAVE :: flxw(ip1jmp1,llm) ! flux de masse verticale
    153156
     
    209212      lafin=.false.
    210213     
    211       itaufin   = nday*day_step
     214      if (nday>=0) then
     215         itaufin   = nday*day_step
     216      else
     217         itaufin   = -nday
     218      endif
     219
    212220      itaufinp1 = itaufin +1
    213221
     
    241249      CALL pression ( ip1jmp1, ap, bp, ps, p       )
    242250      if (pressure_exner) then
    243         CALL exner_hyb( ip1jmp1, ps, p,alpha,beta, pks, pk, pkf )
     251        CALL exner_hyb( ip1jmp1, ps, p, pks, pk, pkf )
    244252      else
    245         CALL exner_milieu( ip1jmp1, ps, p, beta, pks, pk, pkf )
     253        CALL exner_milieu( ip1jmp1, ps, p, pks, pk, pkf )
    246254      endif
    247255c$OMP END MASTER
     
    705713c$OMP BARRIER
    706714         if (pressure_exner) then
    707            CALL exner_hyb_p(  ip1jmp1, ps, p,alpha,beta,pks, pk, pkf )
     715           CALL exner_hyb_p(  ip1jmp1, ps, p,pks, pk, pkf )
    708716         else
    709            CALL exner_milieu_p( ip1jmp1, ps, p, beta, pks, pk, pkf )
     717           CALL exner_milieu_p( ip1jmp1, ps, p, pks, pk, pkf )
    710718         endif
     719! Appel a geopot ajoute le 2014/05/08 pour garantir la convergence numerique
     720! avec dyn3dmem
     721      CALL geopot  ( ip1jmp1, teta  , pk , pks,  phis  , phi   )
    711722c$OMP BARRIER
    712723           jD_cur = jD_ref + day_ini - day_ref
     
    918929c$OMP BARRIER
    919930          if (pressure_exner) then
    920             CALL exner_hyb_p(ip1jmp1,ps,p,alpha,beta,pks,pk,pkf)
     931            CALL exner_hyb_p(ip1jmp1,ps,p,pks,pk,pkf)
    921932          else
    922             CALL exner_milieu_p(ip1jmp1,ps,p,beta,pks,pk,pkf)
     933            CALL exner_milieu_p(ip1jmp1,ps,p,pks,pk,pkf)
    923934          endif
    924935c$OMP BARRIER
     
    10591070c$OMP BARRIER
    10601071        if (pressure_exner) then
    1061           CALL exner_hyb_p( ip1jmp1, ps, p,alpha,beta, pks, pk, pkf )
     1072          CALL exner_hyb_p( ip1jmp1, ps, p, pks, pk, pkf )
    10621073        else
    1063           CALL exner_milieu_p( ip1jmp1, ps, p, beta, pks, pk, pkf )
     1074          CALL exner_milieu_p( ip1jmp1, ps, p, pks, pk, pkf )
    10641075        endif
    10651076c$OMP BARRIER
Note: See TracChangeset for help on using the changeset viewer.