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

Diff of /trunk/dyn3d/disvert.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 48 by guez, Tue Jul 19 12:54:20 2011 UTC revision 57 by guez, Mon Jan 30 12:54:02 2012 UTC
# Line 28  contains Line 28  contains
28    
29      use nr_util, only: pi      use nr_util, only: pi
30      use jumble, only: new_unit      use jumble, only: new_unit
31        use unit_nml_m, only: unit_nml
32    
33      REAL s(llm+1)      REAL s(llm+1)
34      ! "s(l)" is the atmospheric hybrid sigma-pressure coordinate at      ! "s(l)" is the atmospheric hybrid sigma-pressure coordinate at
# Line 37  contains Line 38  contains
38      ! "ds(l)" : épaisseur de la couche "l" dans la coordonnée "s"      ! "ds(l)" : épaisseur de la couche "l" dans la coordonnée "s"
39    
40      INTEGER l, unit      INTEGER l, unit
41      REAL alpha, x(llm), trash      REAL alpha, x(llm)
42    
43      character(len=7):: s_sampling = "LMD5"      character(len=7):: s_sampling = "LMD5"
44      ! (other allowed values are "param", "strato1", "strato2" and "read")      ! (other allowed values are "param", "strato1", "strato2" and "read")
# Line 66  contains Line 67  contains
67    
68      print *, "Enter namelist 'disvert_nml'."      print *, "Enter namelist 'disvert_nml'."
69      read(unit=*, nml=disvert_nml)      read(unit=*, nml=disvert_nml)
70      write(unit=*, nml=disvert_nml)      write(unit_nml, nml=disvert_nml)
71    
72      select case (s_sampling)      select case (s_sampling)
73      case ("param")      case ("param")
# Line 120  contains Line 121  contains
121              position="rewind")              position="rewind")
122         read(unit, fmt=*) ! skip title line         read(unit, fmt=*) ! skip title line
123         do l = 1, llm + 1         do l = 1, llm + 1
124            read(unit, fmt=*) trash, s(l)            read(unit, fmt=*) s(l)
125         end do         end do
126         close(unit)         close(unit)
127         ! Quick check:         ! Quick check:

Legend:
Removed from v.48  
changed lines
  Added in v.57

  ViewVC Help
Powered by ViewVC 1.1.21