/[lmdze]/trunk/dyn3d/dteta1.f
ViewVC logotype

Annotation of /trunk/dyn3d/dteta1.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 57 - (hide annotations)
Mon Jan 30 12:54:02 2012 UTC (12 years, 3 months ago) by guez
Original Path: trunk/libf/dyn3d/dteta1.f90
File size: 1175 byte(s)
Write used namelists to file "" instead of standard output.

Avoid aliasing in "inidissip" in calls to "divgrad2", "divgrad",
"gradiv2", "gradiv", "nxgraro2" and "nxgrarot". Add a degenerate
dimension to arrays so they have rank 3, like the dummy arguments in
"divgrad2", "divgrad", "gradiv2", "gradiv", "nxgraro2" and "nxgrarot".

Extract the initialization part from "bilan_dyn" and make a separate
procedure, "init_dynzon", from it.

Move variables from modules "iniprint" and "logic" to module
"conf_gcm_m".

Promote internal procedures of "fxy" to private procedures of module
"fxy_m".

Extracted documentation from "inigeom". Removed useless "save"
attributes. Removed useless intermediate variables. Extracted
processing of poles from loop on latitudes. Write coordinates to file
"longitude_latitude.txt" instead of standard output.

Do not use ozone tracer for radiative transfer.

1 guez 44 SUBROUTINE dteta1(teta, pbaru, pbarv, dteta)
2 guez 27
3 guez 44 ! From LMDZ4/libf/dyn3d/dteta1.F, version 1.1.1.1 2004/05/19 12:53:06
4     ! Auteurs : P. Le Van, F. Forget
5 guez 3
6 guez 44 ! Calcul du terme de convergence horizontale du flux d'enthalpie
7     ! potentielle.
8 guez 3
9 guez 44 ! dteta est un argument de sortie pour le s-pg
10 guez 3
11 guez 44 use dimens_m
12     use paramet_m
13 guez 57 use conf_gcm_m
14 guez 44 use filtreg_m, only: filtreg
15 guez 3
16 guez 44 IMPLICIT NONE
17 guez 3
18 guez 44 REAL, intent(in):: teta(ip1jmp1, llm), pbaru(ip1jmp1, llm), pbarv(ip1jm, llm)
19     REAL dteta(ip1jmp1, llm)
20     INTEGER l, ij
21 guez 3
22 guez 44 REAL hbyv(ip1jm, llm), hbxu(ip1jmp1, llm)
23 guez 3
24 guez 44 !----------------------------------------------------------------
25 guez 3
26 guez 44 DO l = 1, llm
27     DO ij = iip2, ip1jm - 1
28     hbxu(ij, l) = pbaru(ij, l) * 0.5 * (teta(ij, l) + teta(ij + 1, l))
29     end DO
30 guez 3
31 guez 44 DO ij = iip1+ iip1, ip1jm, iip1
32     hbxu(ij, l) = hbxu(ij - iim, l)
33     end DO
34 guez 3
35 guez 44 DO ij = 1, ip1jm
36     hbyv(ij, l)= pbarv(ij, l) * 0.5 * (teta(ij, l) + teta(ij + iip1, l))
37     end DO
38     end DO
39 guez 3
40 guez 44 CALL convflu(hbxu, hbyv, llm, dteta)
41 guez 3
42 guez 44 ! stockage dans dh de la convergence horizont. filtree' du flux
43     ! d'enthalpie potentielle
44     CALL filtreg(dteta, jjp1, llm, 2, 2, .true., 1)
45 guez 3
46 guez 44 END SUBROUTINE dteta1

  ViewVC Help
Powered by ViewVC 1.1.21