Ignore:
Timestamp:
May 6, 2016, 12:30:29 PM (9 years ago)
Author:
emillour
Message:

All GCMs:
Further adaptations to keep up with changes in LMDZ5 concerning
physics/dynamics separation (up to rev r2420 of LMDZ5)

  • all physics packages:
  • added module callphysiq_mod.F90 in dynphy_lonlat/phy* which contains the routine "call_physiq" which is called by calfis* and calls the physics. This way different "physiq" routine from different physics packages may be called: The calfis* routines now exposes all available fields that might be transmitted to physiq but which is actually send (ie: expected/needed by physiq) is decided in call_physiq.
  • turned "physiq.F[90]" into module "physiq_mod.F[90]" for better control of "physiq" arguments. for phyvenus/phytitan, extracted gr_fi_ecrit from physiq.F as gr_fi_ecrit.F90 (note that it can only work in serial).
  • misc:
  • updated wxios.F90 to keep up with LMDZ5 modifications.
  • dyn3d_common:
  • infotrac.F90 keep up with LMDZ5 modifications (cosmetics)
  • dyn3d:
  • gcm.F90: cosmetic cleanup.
  • leapfrog.F90: fix computation of date as function of itau.
  • dyn3dpar:
  • gcm.F: cosmetic cleanup.
  • leapfrog_p.F90: fix computation of date as function of itau.

NB: physics are given the date corresponding to the end of the
physics step.

  • dynphy_lonlat:
  • calfis.F : added computation of relative wind vorticity.
  • calfis_p.F: added computation of relative wind vorticity (input required by Earth physics)

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3d/leapfrog.F

    r1508 r1549  
    298298   1  CONTINUE ! Matsuno Forward step begins here
    299299
     300c   date: (NB: date remains unchanged for Backward step)
     301c   -----
     302
    300303      jD_cur = jD_ref + day_ini - day_ref +                             &
    301      &          itau/day_step
     304     &          (itau+1)/day_step
    302305      jH_cur = jH_ref + start_time +                                    &
    303      &          mod(itau,day_step)/float(day_step)
     306     &          mod(itau+1,day_step)/float(day_step)
    304307      jD_cur = jD_cur + int(jH_cur)
    305308      jH_cur = jH_cur - int(jH_cur)
     
    349352c-----------------------------------------------------------------------
    350353
    351 c   date:
     354c   date: (NB: only leapfrog step requires recomputing date)
    352355c   -----
     356
     357      IF (leapf) THEN
     358        jD_cur = jD_ref + day_ini - day_ref +
     359     &            (itau+1)/day_step
     360        jH_cur = jH_ref + start_time +
     361     &            mod(itau+1,day_step)/float(day_step)
     362        jD_cur = jD_cur + int(jH_cur)
     363        jH_cur = jH_cur - int(jH_cur)
     364      ENDIF
    353365
    354366
     
    516528
    517529           jD_cur = jD_ref + day_ini - day_ref +                        &
    518      &          itau/day_step
     530     &          (itau+1)/day_step
    519531
    520532           IF ((planet_type .eq."generic").or.
     
    525537
    526538           jH_cur = jH_ref + start_time +                               &
    527      &          mod(itau,day_step)/float(day_step)
     539     &          mod(itau+1,day_step)/float(day_step)
     540           IF ((planet_type .eq."generic").or.
     541     &         (planet_type .eq."mars")) THEN
     542             jH_cur = jH_ref + start_time +                               &
     543     &          mod(itau,day_step)/float(day_step)
     544           ENDIF
    528545           jD_cur = jD_cur + int(jH_cur)
    529546           jH_cur = jH_cur - int(jH_cur)
Note: See TracChangeset for help on using the changeset viewer.