Changeset 152 for trunk/LMDZ.VENUS/libf


Ignore:
Timestamp:
Jun 8, 2011, 4:49:35 PM (14 years ago)
Author:
slebonnois
Message:

SL: correction bug lie a itau_phy pour phytitan et phyvenus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/physiq.F

    r150 r152  
    340340c
    341341      INTEGER nhori, nvert, idayref
     342      INTEGER itau_phy_modif
    342343      REAL zsto, zout, zsto1, zsto2, zero
    343344      parameter (zero=0.0e0)
     
    446447     .       t_ancien, ancien_ok)
    447448
    448 c dtime est lu dans startphy, alors que
     449c dtime est lu dans startphy
    449450c pdtphys est calcule a partir des nouvelles conditions:
    450451c Reinitialisation du pas de temps physique quand changement
     
    454455c           abort_message='Pas physique n est pas correct '
    455456c           call abort_gcm(modname,abort_message,1)
     457c----------------
     458c pour initialiser convenablement le time_counter, il faut tenir compte
     459c du changement de dtime en changeant itau_phy (point de depart)
     460            itau_phy = NINT(itau_phy*dtime/pdtphys)
     461c----------------
    456462            dtime=pdtphys
    457463         ENDIF
Note: See TracChangeset for help on using the changeset viewer.