Changeset 2641 for LMDZ5/branches/testing/libf/dyn3dpar/leapfrog_p.F
- Timestamp:
- Sep 29, 2016, 11:26:46 PM (8 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2596-2640
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/dyn3dpar/leapfrog_p.F
r2408 r2641 28 28 & periodav, ok_dyn_ave, output_grads_dyn, 29 29 & iapp_tracvl 30 USE comvert_mod, ONLY: ap,bp,pressure_exner,presnivs 31 USE comconst_mod, ONLY: cpp, dtvr, ihf, dtphys, pi, jmp1 32 USE logic_mod, ONLY: iflag_phys,ok_guide,forward,leapf,apphys, 33 & statcl,conser,apdiss,purmats,ok_strato 34 USE temps_mod, ONLY: itaufin,jD_ref,jH_ref,day_ini, 35 & day_ref,start_time,dt 36 30 37 IMPLICIT NONE 31 38 … … 63 70 #include "dimensions.h" 64 71 #include "paramet.h" 65 #include "comconst.h"66 72 #include "comdissnew.h" 67 #include "comvert.h"68 73 #include "comgeom.h" 69 #include "logic.h"70 #include "temps.h"71 #include "ener.h"72 74 #include "description.h" 73 #include "serre.h"74 75 !#include "com_io_dyn.h" 75 76 #include "iniprint.h" … … 1455 1456 call Gather_Field(teta,ip1jmp1,llm,0) 1456 1457 call Gather_Field(pk,ip1jmp1,llm,0) 1457 1458 call Gather_Field(phi,ip1jmp1,llm,0) 1458 1459 do iq=1,nqtot 1459 1460 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1460 1461 enddo 1461 1462 call Gather_Field(masse,ip1jmp1,llm,0) 1462 1463 call Gather_Field(ps,ip1jmp1,1,0) 1463 1464 call Gather_Field(phis,ip1jmp1,1,0) 1464 1465 if (mpi_rank==0) then 1465 1466 CALL writedynav(itau,vcov, 1466 1467 & ucov,teta,pk,phi,q,masse,ps,phis) 1467 1468 endif 1468 1469 #endif 1469 1470 !$OMP END MASTER … … 1477 1478 IF( MOD(itau,iecri).EQ.0) THEN 1478 1479 ! Ehouarn: output only during LF or Backward Matsuno 1479 1480 if (leapf.or.(.not.leapf.and.(.not.forward))) then 1480 1481 c$OMP BARRIER 1481 1482 c$OMP MASTER … … 1515 1516 call Gather_Field(ucov,ip1jmp1,llm,0) 1516 1517 call Gather_Field(teta,ip1jmp1,llm,0) 1517 1518 call Gather_Field(phi,ip1jmp1,llm,0) 1518 1519 do iq=1,nqtot 1519 1520 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1520 1521 enddo 1521 1522 call Gather_Field(masse,ip1jmp1,llm,0) 1522 1523 call Gather_Field(ps,ip1jmp1,1,0) 1523 1524 call Gather_Field(phis,ip1jmp1,1,0) 1524 1525 if (mpi_rank==0) then 1525 1526 1526 CALL writehist(itau,vcov,ucov,teta,phi,q,masse,ps,phis) 1527 endif 1527 1528 ! CALL writehist_p(histid,histvid, itau,vcov, 1528 1529 ! & ucov,teta,phi,q,masse,ps,phis) … … 1650 1651 call Gather_Field(teta,ip1jmp1,llm,0) 1651 1652 call Gather_Field(pk,ip1jmp1,llm,0) 1652 1653 call Gather_Field(phi,ip1jmp1,llm,0) 1653 1654 do iq=1,nqtot 1654 1655 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1655 1656 enddo 1656 1657 call Gather_Field(masse,ip1jmp1,llm,0) 1657 1658 call Gather_Field(ps,ip1jmp1,1,0) 1658 1659 call Gather_Field(phis,ip1jmp1,1,0) 1659 1660 if (mpi_rank==0) then 1660 1661 CALL writedynav(itau,vcov, 1661 1662 & ucov,teta,pk,phi,q,masse,ps,phis) 1662 1663 endif 1663 1664 #endif 1664 1665 !$OMP END MASTER … … 1706 1707 call Gather_Field(ucov,ip1jmp1,llm,0) 1707 1708 call Gather_Field(teta,ip1jmp1,llm,0) 1708 1709 call Gather_Field(phi,ip1jmp1,llm,0) 1709 1710 do iq=1,nqtot 1710 1711 call Gather_Field(q(1,1,iq),ip1jmp1,llm,0) 1711 1712 enddo 1712 1713 call Gather_Field(masse,ip1jmp1,llm,0) 1713 1714 call Gather_Field(ps,ip1jmp1,1,0) 1714 1715 call Gather_Field(phis,ip1jmp1,1,0) 1715 1716 if (mpi_rank==0) then 1716 1717 CALL writehist(itau,vcov,ucov,teta,phi,q,masse,ps,phis) 1717 1718 endif 1718 1719 ! CALL writehist_p(histid, histvid, itau,vcov , 1719 1720 ! & ucov,teta,phi,q,masse,ps,phis)
Note: See TracChangeset
for help on using the changeset viewer.