5 $ ( nq,vcovm1,ucovm1,tetam1,psm1,massem1,
6 $ dv,du,dteta,
dq,dp,vcov,ucov,teta,q,ps0,masse,
phis)
32 #include "dimensions.h"
46 INTEGER,
intent(in) :: nq
76 REAL tpn,tps,tppn(
iim),tpps(
iim)
77 REAL qpn,qps,qppn(
iim),qpps(
iim)
83 INTEGER ijb,ije,jjb,jje
85 LOGICAL,
SAVE :: checksum_all=.
true.
108 ucov( ij +
ip1jm, l) = 0.
109 uscr( ij +
ip1jm ) = 0.
123 massescr(ijb:ije,l)=masse(ijb:ije,l)
130 ps(ij) = psm1(ij) +
dt * dp(ij)
144 IF(
ps(ij).LT.0. )
THEN
145 IF (checksum) stop_it=ij
153 IF( .NOT. checksum )
THEN
154 write(
lunout,*)
"integrd: ps = ",
ps(stop_it)
155 write(
lunout,*)
" at node ij =", stop_it
161 call abort_gcm(
"integrd_loc",
"negative surface pressure", 1)
167 IF (.NOT. checksum_all)
THEN
201 tppn(ij) =
aire( ij ) *
ps( ij )
262 uscr( ij ) = ucov( ij,l )
263 ucov( ij,l ) = ucovm1( ij,l ) +
dt * du( ij,l )
271 vscr( ij ) = vcov( ij,l )
272 vcov( ij,l ) = vcovm1( ij,l ) +
dt * dv( ij,l )
279 hscr( ij ) = teta(ij,l)
280 teta( ij,l ) = tetam1(ij,l) * massem1(ij,l) / masse(ij,l)
281 $ +
dt * dteta(ij,l) / masse(ij,l)
291 tppn(ij) =
aire( ij ) * teta( ij ,l)
309 teta(ij+
ip1jm,l) = tps
321 ucovm1(ijb:ije,l)=uscr(ijb:ije)
322 tetam1(ijb:ije,l)=hscr(ijb:ije)
324 vcovm1(ijb:ije,l)=vscr(ijb:ije)
373 qppn(ij) =
aire( ij ) * q( ij ,l,iq)
401 q(ij+
ip1jm,l,iq) = qps
453 massem1(ijb:ije,l)=massescr(ijb:ije,l)
subroutine check_isotopes(q, ijb, ije, err_msg)
real, dimension(:,:), pointer, save p
!$Header llmm1 INTEGER ip1jmp1
!$Header!CDK comgeom COMMON comgeom apols
do llm!au dessus on relaxe vers profil init!on fait l hypothese que dans ce il n y a plus d eau liq au dessus!donc la relaxation en thetal et qt devient relaxation en tempe et qv l dq1 relax dq(l, 1)
subroutine qminimum_loc(q, nqtot, deltap)
logical, save ok_iso_verif
!$Id calend INTEGER itaufin INTEGER itau_phy INTEGER day_ref REAL dt
subroutine massdair_loc(p, masse)
character(len=10), save planet_type
subroutine abort_gcm(modname, message, ierr)
!$Id Turb_fcg_gcssold get_uvd hqturb_gcssold endif!large scale llm day day1 day day1 *dt_toga endif!time annee_ref dt_toga u_toga vq_toga w_prof vq_prof llm day day1 day day1 *dt_dice endif!time annee_ref dt_dice swup_dice vg_dice omega_dice tg_prof vg_profd w_profd omega_profd!do llm!print llm l llm
real, dimension(:), pointer, save ps
!$Header!CDK comgeom COMMON comgeom aire
!$Header llmm1 INTEGER ip1jm
subroutine pression_loc(ngrid, ap, bp, ps, p)
!$Header!CDK comgeom COMMON comgeom apoln
!$Id itapm1 ENDIF!IM on interpole les champs sur les niveaux STD de pression!IM a chaque pas de temps de la physique c!positionnement de l argument logique a false c!pour ne pas recalculer deux fois la meme chose!c!a cet effet un appel a plevel_new a ete deplace c!a la fin de la serie d appels c!la boucle DO nlevSTD a ete internalisee c!dans d ou la creation de cette routine c c!CALL false
!$Id ***************************************!ECRITURE DU phis
!$Id itapm1 ENDIF!IM on interpole les champs sur les niveaux STD de pression!IM a chaque pas de temps de la physique c!positionnement de l argument logique a false c!pour ne pas recalculer deux fois la meme chose!c!a cet effet un appel a plevel_new a ete deplace c!a la fin de la serie d appels c!la boucle DO nlevSTD a ete internalisee c!dans d ou la creation de cette routine c c!CALL ulevSTD CALL &zphi philevSTD CALL &zx_rh rhlevSTD!DO klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon du jour ou toutes les read_climoz CALL true
subroutine integrd_loc(nq, vcovm1, ucovm1, tetam1, psm1, massem1, dv, du, dteta, dq, dp, vcov, ucov, teta, q, ps0, masse, phis)
c c zjulian c cym CALL iim cym klev iim
character(len=maxlen) function int2str(int)
real, dimension(:,:), pointer, save deltap
!$Header!gestion des impressions de sorties et de débogage la sortie standard prt_level COMMON comprint lunout