Changeset 1172


Ignore:
Timestamp:
Jun 8, 2009, 5:32:22 PM (16 years ago)
Author:
yann meurdesoif
Message:

ajout du nouveau guide de F. Caudron (version parallele)
YM

Location:
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/comvert.h

    r774 r1172  
    22! $Header$
    33!
    4 c-----------------------------------------------------------------------
    5 c   INCLUDE 'comvert.h'
     4!-----------------------------------------------------------------------
     5!   INCLUDE 'comvert.h'
    66
    7       COMMON/comvert/ap(llm+1),bp(llm+1),presnivs(llm),dpres(llm) ,
    8      ,               pa,preff,nivsigs(llm),nivsig(llm+1)
     7      COMMON/comvert/ap(llm+1),bp(llm+1),presnivs(llm),dpres(llm),       &
     8     &               pa,preff,nivsigs(llm),nivsig(llm+1)
    99
    1010      REAL ap,bp,presnivs,dpres,pa,preff,nivsigs,nivsig
    1111
    12 c-----------------------------------------------------------------------
     12!-----------------------------------------------------------------------
  • LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/leapfrog_p.F

    r1143 r1172  
    1818       USE timer_filtre, ONLY : print_filtre_timer
    1919       USE infotrac
     20       USE guide_p_mod, ONLY : guide_main
    2021
    2122      IMPLICIT NONE
     
    246247c$OMP BARRIER
    247248
     249
    248250#ifdef CPP_IOIPSL
    249 c$OMP MASTER
    250       if (ok_guide.and.(itaufin-itau-1)*dtvr.gt.21600) then
    251         call guide_pp(itau,ucov,vcov,teta,q,masse,ps)
    252       else
    253         IF(prt_level>9)WRITE(*,*)'attention on ne guide pas les ',
    254      .    '6 dernieres heures'
     251      if (ok_guide) then
     252!$OMP MASTER
     253        call guide_main(itau,ucov,vcov,teta,q,masse,ps)
     254!$OMP END MASTER
     255!$OMP BARRIER
    255256      endif
    256 c$OMP END MASTER
    257257#endif
     258
    258259c
    259260c     IF( MOD( itau, 10* day_step ).EQ.0 )  THEN
     
    554555
    555556!      CALL FTRACE_REGION_END("caldyn")
     557
    556558c$OMP MASTER
    557559      call VTe(VTcaldyn)
     
    560562cc$OMP BARRIER
    561563cc$OMP MASTER
    562 c      call WriteField_p('du',reshape(du,(/iip1,jmp1,llm/)))
    563 c      call WriteField_p('dv',reshape(dv,(/iip1,jjm,llm/)))
    564 c      call WriteField_p('dteta',reshape(dteta,(/iip1,jmp1,llm/)))
    565 c      call WriteField_p('dp',reshape(dp,(/iip1,jmp1/)))
    566 c      call WriteField_p('w',reshape(w,(/iip1,jmp1,llm/)))
    567 c      call WriteField_p('pbaru',reshape(pbaru,(/iip1,jmp1,llm/)))
    568 c      call WriteField_p('pbarv',reshape(pbarv,(/iip1,jjm,llm/)))
    569 c      call WriteField_p('p',reshape(p,(/iip1,jmp1,llmp1/)))
    570 c      call WriteField_p('masse',reshape(masse,(/iip1,jmp1,llm/)))
    571 c      call WriteField_p('pk',reshape(pk,(/iip1,jmp1,llm/)))
     564!      call WriteField_p('du',reshape(du,(/iip1,jmp1,llm/)))
     565!      call WriteField_p('dv',reshape(dv,(/iip1,jjm,llm/)))
     566!      call WriteField_p('dteta',reshape(dteta,(/iip1,jmp1,llm/)))
     567!      call WriteField_p('dp',reshape(dp,(/iip1,jmp1/)))
     568!      call WriteField_p('w',reshape(w,(/iip1,jmp1,llm/)))
     569!      call WriteField_p('pbaru',reshape(pbaru,(/iip1,jmp1,llm/)))
     570!      call WriteField_p('pbarv',reshape(pbarv,(/iip1,jjm,llm/)))
     571!      call WriteField_p('p',reshape(p,(/iip1,jmp1,llmp1/)))
     572!      call WriteField_p('masse',reshape(masse,(/iip1,jmp1,llm/)))
     573!      call WriteField_p('pk',reshape(pk,(/iip1,jmp1,llm/)))
    572574cc$OMP END MASTER
    573575
Note: See TracChangeset for help on using the changeset viewer.