5 $ ( nq,vcovm1,ucovm1,tetam1,psm1,massem1,
6 $ dv,du,dteta,dq,dp,vcov,ucov,
teta,
q,ps0,masse,
phis)
27 #include "dimensions.h"
40 integer,
intent(in) :: nq
41 real,
intent(inout) :: vcov(
ip1jm,llm)
42 real,
intent(inout) :: ucov(
ip1jmp1,llm)
44 real,
intent(inout) ::
q(
ip1jmp1,llm,nq)
45 real,
intent(inout) :: ps0(
ip1jmp1)
46 real,
intent(inout) :: masse(
ip1jmp1,llm)
49 real,
intent(inout) :: vcovm1(
ip1jm,llm)
50 real,
intent(inout) :: ucovm1(
ip1jmp1,llm)
51 real,
intent(inout) :: tetam1(
ip1jmp1,llm)
52 real,
intent(inout) :: psm1(
ip1jmp1)
53 real,
intent(inout) :: massem1(
ip1jmp1,llm)
55 real,
intent(in) :: dv(
ip1jm,llm)
56 real,
intent(in) :: du(
ip1jmp1,llm)
57 real,
intent(in) :: dteta(
ip1jmp1,llm)
59 real,
intent(in) :: dq(
ip1jmp1,llm,nq)
69 REAL tpn,tps,tppn(
iim),tpps(
iim)
70 REAL qpn,qps,qppn(
iim),qpps(
iim)
71 REAL,
SAVE :: deltap(
ip1jmp1,llm )
77 INTEGER ijb,ije,jjb,jje
113 massescr(ijb:ije,
l)=masse(ijb:ije,
l)
131 IF( ps(
ij).LT.0. )
THEN
132 IF (checksum) stop_it=
ij
138 IF( .NOT. checksum )
THEN
139 write(
lunout,*)
"integrd: negative surface pressure ",
141 write(
lunout,*)
" at node ij =", stop_it
143 j=modulo(stop_it,
jjp1)
146 &
" lat = ",
rlatu(
j)*180./
pi,
" deg"
208 if (pole_nord) ijb=ij_begin+iip1
209 if (pole_sud) ije=ij_end-iip1
212 uscr(
ij ) = ucov(
ij,
l )
218 if (pole_sud) ije=ij_end-iip1
221 vscr(
ij ) = vcov(
ij,
l )
270 ucovm1(ijb:ije,
l)=uscr(ijb:ije)
271 tetam1(ijb:ije,
l)=hscr(ijb:ije)
272 if (pole_sud) ije=ij_end-iip1
273 vcovm1(ijb:ije,
l)=vscr(ijb:ije)
286 if (planet_type.eq.
"earth")
then
386 massem1(ijb:ije,
l)=massescr(ijb:ije,
l)