/[lmdze]/trunk/libf/dyn3d/Dissipation/comdissnew.f90
ViewVC logotype

Annotation of /trunk/libf/dyn3d/Dissipation/comdissnew.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27 - (hide annotations)
Thu Mar 25 14:29:07 2010 UTC (14 years, 2 months ago) by guez
Original Path: trunk/libf/dyn3d/comdissnew.f90
File size: 1317 byte(s)
"dyn3d" and "filtrez" do not contain any included file so make rules
have been updated.

"comdissip.f90" was useless, removed it.

"dynredem0" wrote undefined value in "controle(31)", that was
overwritten by "dynredem1". Now "dynredem0" just writes 0 to
"controle(31)".

Removed arguments of "inidissip". "inidissip" now accesses the
variables by use association.

In program "etat0_lim", "itaufin" is not defined so "dynredem1" wrote
undefined value to "controle(31)". Added argument "itau" of
"dynredem1" to correct that.

"itaufin" does not need to be a module variable (of "temps"), made it
a local variable of "leapfrog".

Removed calls to "diagedyn" from "leapfrog".

1 guez 3 module comdissnew
2    
3     ! The variables declared here are read from the file "run.def"
4    
5     implicit none
6    
7     LOGICAL:: lstardis= .TRUE.
8     ! Help = choix de l'operateur de dissipation
9     ! 'y' si on veut star et 'n' si on veut non-star
10     ! Moi y en a pas comprendre !
11    
12     INTEGER:: nitergdiv= 1
13     ! Help = nombre d'iterations de l'operateur de dissipation
14     ! gradiv
15    
16     INTEGER:: nitergrot= 2
17 guez 27 ! Help = nombre d'iterations de l'operateur de dissipation
18 guez 3 ! nxgradrot
19    
20     INTEGER:: niterh= 2
21     ! Help = nombre d'iterations de l'operateur de dissipation
22     ! divgrad
23    
24 guez 27 REAL:: tetagdiv= 7200. ! in s
25     ! temps de dissipation des plus petites longueurs d'ondes pour u,v (gradiv)
26 guez 3
27 guez 27 REAL:: tetagrot= 7200. ! in s
28     ! temps de dissipation des plus petites longueurs d'ondes pour u,v
29     ! (nxgradrot)
30 guez 3
31 guez 27 REAL:: tetatemp= 7200. ! in s
32     ! temps de dissipation des plus petites longueurs d'ondes pour h (divgrad)
33 guez 3
34     REAL:: coefdis= 0.
35    
36     contains
37    
38     subroutine read_comdissnew
39    
40     namelist /comdissnew_nml/lstardis, nitergdiv, nitergrot, niterh, &
41     tetagdiv, tetagrot, tetatemp, coefdis
42    
43     !-------------------------------------------------
44    
45     print *, "Enter namelist 'comdissnew_nml'."
46     read(unit=*, nml=comdissnew_nml)
47     write(unit=*, nml=comdissnew_nml)
48    
49     end subroutine read_comdissnew
50    
51     end module comdissnew

  ViewVC Help
Powered by ViewVC 1.1.21