Ignore:
Timestamp:
Oct 6, 2008, 11:11:53 AM (16 years ago)
Author:
Laurent Fairhead
Message:
  • Modifs sur le parallelisme: masquage dans la physique
  • Inclusion strato
  • mise en coherence etat0
  • le mode offline fonctionne maintenant en parallele,
  • les fichiers de la dynamiques sont correctement sortis et peuvent etre reconstruit avec rebuild
  • la version parallele de la dynamique peut s'executer sans MPI (sur 1 proc)
  • L'OPENMP fonctionne maintenant sans la parallelisation MPI.

YM
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/physiq.F

    r998 r1001  
    9494#include "clesphys.h"
    9595#include "control.h"
    96 #include "logic.h"
     96!#include "logic.h"
    9797#include "temps.h"
    9898cym#include "comgeomphy.h"
     
    943943      REAL zustrli(klon), zvstrli(klon)
    944944      REAL zustrph(klon), zvstrph(klon)
     945      REAL zustrhi(klon), zvstrhi(klon)
    945946      REAL aam, torsfc
    946947cIM 141004 END
     
    13771378!           ENDDO
    13781379!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1379 
    1380            CALL SUGWD(klon,klev,paprs,pplay)
     1380           IF (ok_strato) THEN
     1381             CALL SUGWD_strato(klon,klev,paprs,pplay)
     1382           ELSE
     1383             CALL SUGWD(klon,klev,paprs,pplay)
     1384           ENDIF
     1385           
    13811386           DO i=1,klon
    13821387             zuthe(i)=0.
     
    29322937c        igwdim=MAX(1,igwd)
    29332938c
     2939        IF (ok_strato) THEN
     2940       
     2941          CALL drag_noro_strato(klon,klev,dtime,paprs,pplay,
     2942     e                   zmea,zstd, zsig, zgam, zthe,zpic,zval,
     2943     e                   igwd,idx,itest,
     2944     e                   t_seri, u_seri, v_seri,
     2945     s                   zulow, zvlow, zustrdr, zvstrdr,
     2946     s                   d_t_oro, d_u_oro, d_v_oro)
     2947
     2948       ELSE
    29342949        CALL drag_noro(klon,klev,dtime,paprs,pplay,
    29352950     e                   zmea,zstd, zsig, zgam, zthe,zpic,zval,
    29362951     e                   igwd,idx,itest,
    29372952     e                   t_seri, u_seri, v_seri,
    2938 cIM 141004    s                   zulow, zvlow, zustr, zvstr,
    29392953     s                   zulow, zvlow, zustrdr, zvstrdr,
    29402954     s                   d_t_oro, d_u_oro, d_v_oro)
     2955       ENDIF
    29412956c
    29422957c  ajout des tendances
     
    29692984c        igwdim=MAX(1,igwd)
    29702985c
    2971         CALL lift_noro(klon,klev,dtime,paprs,pplay,
     2986        IF (ok_strato) THEN
     2987
     2988          CALL lift_noro_strato(klon,klev,dtime,paprs,pplay,
     2989     e                   rlat,zmea,zstd,zpic,zgam,zthe,zpic,zval,
     2990     e                   igwd,idx,itest,
     2991     e                   t_seri, u_seri, v_seri,
     2992     s                   zulow, zvlow, zustrli, zvstrli,
     2993     s                   d_t_lif, d_u_lif, d_v_lif               )
     2994       
     2995        ELSE
     2996          CALL lift_noro(klon,klev,dtime,paprs,pplay,
    29722997     e                   rlat,zmea,zstd,zpic,
    29732998     e                   itest,
     
    29753000     s                   zulow, zvlow, zustrli, zvstrli,
    29763001     s                   d_t_lif, d_u_lif, d_v_lif)
    2977 c
     3002       ENDIF
     3003c   
    29783004!-----------------------------------------------------------------------------------------
    29793005! ajout des tendances de la portance de l'orographie
     
    29823008c
    29833009      ENDIF ! fin de test sur ok_orolf
     3010C  HINES GWD PARAMETRIZATION
     3011
     3012       IF (ok_hines) then
     3013
     3014         CALL hines_gwd(klon,klev,dtime,paprs,pplay,
     3015     i                  rlat,t_seri,u_seri,v_seri,
     3016     o                  zustrhi,zvstrhi,
     3017     o                  d_t_hin, d_u_hin, d_v_hin)
     3018c
     3019c  ajout des tendances
     3020        CALL add_phys_tend(d_u_hin,d_v_hin,d_t_hin,dq0,dql0,'lif')
     3021
     3022      ENDIF
     3023c
     3024
    29843025c
    29853026cIM cf. FLott BEG
     
    33683409         itau_phy = itau_phy + itap
    33693410         CALL phyredem ("restartphy.nc")
    3370          open(97,form="unformatted",file="finbin")
    3371          write(97) u_seri,v_seri,t_seri,q_seri
    3372          close(97)
     3411!         open(97,form="unformatted",file="finbin")
     3412!         write(97) u_seri,v_seri,t_seri,q_seri
     3413!         close(97)
    33733414      ENDIF
    33743415     
Note: See TracChangeset for help on using the changeset viewer.