/[lmdze]/trunk/Sources/phylmd/CV30_routines/cv30_tracer.f
ViewVC logotype

Annotation of /trunk/Sources/phylmd/CV30_routines/cv30_tracer.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (hide annotations)
Fri Apr 25 14:58:31 2014 UTC (10 years, 1 month ago) by guez
Original Path: trunk/phylmd/CV3_routines/cv3_tracer.f
File size: 709 byte(s)
Module pressure_var is now only used in gcm. Created local variables
pls and p3d in etat0, added argument p3d to regr_pr_o3.

In leapfrog, moved computation of p3d and exner function immediately
after integrd, for clarity (does not change the execution).

Removed unused arguments: ntra, tra1 and tra of cv3_compress; ntra,
tra and traent of cv3_mixing; ntra, ftra, ftra1 of cv3_uncompress;
ntra, tra, trap of cv3_unsat; ntra, tra, trap, traent, ftra of
cv3_yield; tra, tvp, pbase, bbase, dtvpdt1, dtvpdq1, dplcldt,
dplcldr, ntra of concvl; ndp1, ntra, tra1 of cv_driver

Removed argument d_tra and computation of d_tra in concvl. Removed
argument ftra1 and computation of ftra1 in cv_driver. ftra1 was just
set to 0 in cv_driver, associated to d_tra in concvl, and set again to
zero in concvl.

1 guez 97 module cv3_tracer_m
2 guez 47
3     implicit none
4    
5 guez 97 contains
6 guez 47
7 guez 97 SUBROUTINE cv3_tracer(nloc, len, ncum, nd, na, ment, sij, da, phi)
8 guez 47
9 guez 97 implicit none
10 guez 47
11 guez 97 ! Inputs:
12     integer, intent(in):: ncum, nd, na, nloc, len
13     real ment(nloc, na, na), sij(nloc, na, na)
14 guez 47
15 guez 97 ! Ouputs:
16     real da(nloc, na), phi(nloc, na, na)
17 guez 47
18 guez 97 ! Local variables:
19     integer i, j, k
20 guez 47
21 guez 97 !------------------------------------------------------------
22    
23     da = 0.
24    
25     do j = 1, na
26     do k = 1, na
27     do i = 1, ncum
28     da(i, j) = da(i, j)+(1.-sij(i, k, j))*ment(i, k, j)
29     phi(i, j, k) = sij(i, k, j) * ment(i, k, j)
30     end do
31     end do
32     end do
33    
34     end SUBROUTINE cv3_tracer
35    
36     end module cv3_tracer_m

  ViewVC Help
Powered by ViewVC 1.1.21