Changeset 2195
- Timestamp:
- Dec 13, 2019, 11:41:41 AM (5 years ago)
- Location:
- trunk/LMDZ.COMMON/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/leapfrog.F
r1824 r2195 537 537 538 538 ! Compute geopotential (physics might need it) 539 CALL geopot ( ip1jmp1, teta , pk , pks, phis , phi ) 539 ! GEOP CORRECTION 540 ! ADAPTATION GCM POUR CP(T) 541 ! CALL geopot ( ip1jmp1, teta , pk , pks, phis , phi ) 542 call tpot2t(ijp1llm,teta,temp,pk) 543 tsurpk = cpp*temp/pk 544 CALL geopot ( ip1jmp1, tsurpk, pk, pks, phis, phi ) 540 545 541 546 jD_cur = jD_ref + day_ini - day_ref + & … … 825 830 826 831 ! ! Ehouarn: re-compute geopotential for outputs 827 CALL geopot(ip1jmp1,teta,pk,pks,phis,phi) 832 ! GEOP CORRECTION 833 ! ADAPTATION GCM POUR CP(T) 834 ! CALL geopot(ip1jmp1,teta,pk,pks,phis,phi) 835 call tpot2t(ijp1llm,teta,temp,pk) 836 tsurpk = cpp*temp/pk 837 CALL geopot(ip1jmp1,tsurpk,pk,pks,phis,phi) 828 838 829 839 IF (ok_dynzon) THEN … … 979 989 980 990 ! ! Ehouarn: re-compute geopotential for outputs 981 CALL geopot(ip1jmp1,teta,pk,pks,phis,phi) 991 ! GEOP CORRECTION 992 ! ADAPTATION GCM POUR CP(T) 993 ! CALL geopot(ip1jmp1,teta,pk,pks,phis,phi) 994 call tpot2t(ijp1llm,teta,temp,pk) 995 tsurpk = cpp*temp/pk 996 CALL geopot(ip1jmp1,tsurpk,pk,pks,phis,phi) 982 997 983 998 IF (ok_dynzon) THEN -
trunk/LMDZ.COMMON/libf/dyn3dpar/leapfrog_p.F
r1959 r2195 884 884 c$OMP BARRIER 885 885 ! Compute geopotential (physics might need it) 886 CALL geopot_p ( ip1jmp1, teta , pk , pks, phis , phi ) 886 !==== 887 ! GEOP CORRECTION 888 ! ADAPTATION GCM POUR CP(T) 889 call tpot2t_glo_p(teta,temp,pk) 890 ijb=ij_begin 891 ije=ij_end 892 !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 893 do l=1,llm 894 tsurpk(ijb:ije,l)=cpp*temp(ijb:ije,l)/pk(ijb:ije,l) 895 enddo 896 !$OMP END DO 897 c$OMP MASTER 898 ! CALL geopot_p ( ip1jmp1, teta , pk , pks, phis , phi ) 899 CALL geopot_p( ip1jmp1, tsurpk, pk, pks, phis, phi ) 900 c$OMP END MASTER 901 c$OMP BARRIER 902 !==== 887 903 888 904 jD_cur = jD_ref + day_ini - day_ref
Note: See TracChangeset
for help on using the changeset viewer.