/[lmdze]/trunk/libf/dyn3d/logic.f90
ViewVC logotype

Contents of /trunk/libf/dyn3d/logic.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20 - (show annotations)
Wed Oct 15 16:19:57 2008 UTC (15 years, 7 months ago) by guez
File size: 942 byte(s)
Deleted argument "presnivs" of "physiq", "ini_histhf", "ini_histhf3d",
"ini_histday", "ini_histins", "ini_histrac", "phytrac". Access it from
"comvert" instead.

Replaced calls to NetCDF Fortran 77 interface by calls to Fortran 90
interface or to NetCDF95.

Procedure "gr_phy_write_3d" now works with a variable of arbitrary
size in the second dimension.

Annotated use statements with "only" clause.

Replaced calls to NetCDF interface version 2 by calls to Fortran 90
interface in "guide.f90" and "read_reanalyse.f".

In "write_histrac", replaced calls to "gr_fi_ecrit" by calls to
"gr_phy_write_2d" and "gr_phy_write_3d".

1 module logic
2
3 implicit none
4
5 LOGICAL:: purmats= .FALSE.
6 ! Help = Choix du schema d'integration temporel.
7 ! y = pure Matsuno sinon c'est du Matsuno-leapfrog
8
9 logical:: fxyhypb = .TRUE.
10 ! (fonction f(y) à dérivée tangente hyperbolique, sinon à dérivée
11 ! sinusoïdale)
12
13 logical:: ysinus = .TRUE.
14 ! (Fonction f(y) avec y = Sin(latit.) si = .true. sinon y = latit.)
15
16 logical:: ok_guide= .FALSE. ! guidage
17
18 INTEGER:: iflag_phys = 1
19 ! contrôle l'appel à la physique :
20 ! 0 : pas de physique
21 ! 1 : physique normale (appel à phylmd, phymars...) (default)
22 ! 2 : rappel Newtonien pour la température + friction au sol
23
24 contains
25
26 subroutine read_logic
27
28 namelist /logic_nml/ purmats, fxyhypb, ysinus, ok_guide, iflag_phys
29
30 !------------------------------------
31
32 print *, "Enter namelist 'logic_nml'."
33 read(unit=*, nml=logic_nml)
34 write(unit=*, nml=logic_nml)
35
36 end subroutine read_logic
37
38 end module logic

  ViewVC Help
Powered by ViewVC 1.1.21