/[lmdze]/trunk/dyn3d/Guide/conf_guide.f90
ViewVC logotype

Diff of /trunk/dyn3d/Guide/conf_guide.f90

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

revision 173 by guez, Tue Oct 6 15:57:02 2015 UTC revision 210 by guez, Tue Dec 13 16:02:23 2016 UTC
# Line 11  module conf_guide_m Line 11  module conf_guide_m
11    REAL:: tau_max_t = 10.    REAL:: tau_max_t = 10.
12    REAL:: tau_min_q = 0.03    REAL:: tau_min_q = 0.03
13    REAL:: tau_max_q = 10.    REAL:: tau_max_q = 10.
   REAL:: tau_min_p = 0.03  
   REAL:: tau_max_p = 10.  
14    
15    LOGICAL:: ini_anal = .false. ! Initial = analyse    LOGICAL:: ini_anal = .false. ! Initial = analyse
16    LOGICAL:: guide_u = .false. ! guidage de u    LOGICAL:: guide_u = .false. ! guidage de u
# Line 20  module conf_guide_m Line 18  module conf_guide_m
18    LOGICAL:: guide_t = .false. ! guidage de T    LOGICAL:: guide_t = .false. ! guidage de T
19    LOGICAL:: guide_q = .false. ! guidage de q    LOGICAL:: guide_q = .false. ! guidage de q
20    
21    logical:: online = .true. ! controle du guide    logical:: online = .true. ! contr\^ole du guidage
22    ! hors-ligne: x=x_rea    ! hors-ligne: x = x_rea
23    
24    ! Dans le cas où on n'a les analyses que sur une bande de latitudes :    ! Dans le cas où on n'a les analyses que sur une bande de latitudes :
25    REAL, save:: lat_min_guide ! minimum latitude for nudging, in rad    REAL, save:: lat_min_guide ! minimum latitude for nudging, in rad
# Line 40  contains Line 38  contains
38      use abort_gcm_m, only: abort_gcm      use abort_gcm_m, only: abort_gcm
39      use comconst, only: daysec, dtvr      use comconst, only: daysec, dtvr
40      use conf_gcm_m, only: day_step, iperiod      use conf_gcm_m, only: day_step, iperiod
     use dynetat0_m, only: grossismx, grossismy  
41      use nr_util, only: assert, pi      use nr_util, only: assert, pi
42      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
43    
# Line 51  contains Line 48  contains
48    
49      namelist /conf_guide_nml/ ini_anal, guide_u, guide_v, guide_t, guide_q, &      namelist /conf_guide_nml/ ini_anal, guide_u, guide_v, guide_t, guide_q, &
50           online, tau_min_u, tau_max_u, tau_min_v, tau_max_v, tau_min_t, &           online, tau_min_u, tau_max_u, tau_min_v, tau_max_v, tau_min_t, &
51           tau_max_t, tau_min_q, tau_max_q, tau_min_p, tau_max_p, &           tau_max_t, tau_min_q, tau_max_q, lat_min_guide_deg, lat_max_guide_deg
          lat_min_guide_deg, lat_max_guide_deg  
52    
53      !-----------------------------------------------------------------------      !-----------------------------------------------------------------------
54    
# Line 72  contains Line 68  contains
68      if (ok_guide .and. online) then      if (ok_guide .and. online) then
69         factt = dtvr * iperiod / daysec         factt = dtvr * iperiod / daysec
70         print *, "factt = ", factt         print *, "factt = ", factt
        if (abs(grossismx - 1.) >= 0.1 .and. abs(grossismy - 1.) >= 0.1) then  
           if (guide_u) call assert(factt / tau_min_u < 1, &  
                "conf_guide tau_min_u")  
           if (guide_v) call assert(factt / tau_min_v < 1, &  
                "conf_guide tau_min_v")  
           if (guide_t) call assert(factt / tau_min_t < 1, &  
                "conf_guide tau_min_t")  
           if (guide_q) call assert(factt / tau_min_q < 1, &  
                "conf_guide tau_min_q")  
        end if  
71      end if      end if
72    
73    end SUBROUTINE conf_guide    end SUBROUTINE conf_guide

Legend:
Removed from v.173  
changed lines
  Added in v.210

  ViewVC Help
Powered by ViewVC 1.1.21