Ignore:
Timestamp:
Mar 17, 2015, 10:56:59 AM (9 years ago)
Author:
fhourdin
Message:

Modification de la façon d'arrêter le modèle en cas de plantage physique.
hgardfou n'arrête pas le modèle mais positionne abortphy à 1.
Le modèle ne s'arrête qu'après les écritures physiques.
Ceci permet d'avoir les sorties du dernier pas de temps lors d'un
plantage.
Si abortphy est déjà à 1, les tendances des différents processus
ne sont plus ajoutées jusqu'à la fin du pas de temps.

Changes in case of crash.
hgardfou does not stop the model anymore but rather put abortphy to 1.
The model is stoped after phys_output_write in order to have
the outputs of the final time-step.
If abortphy=1, the tendencies are not added anymore to the variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/add_pbl_tend.F90

    r2086 r2235  
    1 SUBROUTINE add_pbl_tend(zdu, zdv, zdt, zdq, zdql, zdqi, paprs, text)
     1SUBROUTINE add_pbl_tend(zdu, zdv, zdt, zdq, zdql, zdqi, paprs, text,abortphy)
    22  ! ======================================================================
    33  ! Ajoute les tendances de couche limite, soit determinees par la
     
    2020  REAL hqturb_gcssold(llm)
    2121  REAL dtime_frcg
     22  INTEGER abortphy
    2223  LOGICAL turb_fcg_gcssold
    2324  COMMON /turb_forcing/dtime_frcg, hthturb_gcssold, hqturb_gcssold, &
     
    4647    PRINT *, ' add_pbl_tend, zzdt ', zzdt
    4748    PRINT *, ' add_pbl_tend, zzdq ', zzdq
    48     CALL add_phys_tend(zdu, zdv, zzdt, zzdq, zdql, zdqi, paprs, text)
     49    CALL add_phys_tend(zdu, zdv, zzdt, zzdq, zdql, zdqi, paprs, text,abortphy)
    4950  ELSE
    50     CALL add_phys_tend(zdu, zdv, zdt, zdq, zdql, zdqi, paprs, text)
     51    CALL add_phys_tend(zdu, zdv, zdt, zdq, zdql, zdqi, paprs, text,abortphy)
    5152  END IF
    5253
Note: See TracChangeset for help on using the changeset viewer.