Ignore:
Timestamp:
Jun 25, 2015, 9:45:24 AM (9 years ago)
Author:
Ehouarn Millour
Message:

Further modifications to enforce physics/dynamics separation:

  • moved iniprint.h and misc_mod back to dyn3d_common, as these should only be used by dynamics.
  • created print_control_mod in the physics to store flags prt_level, lunout, debug to be local to physics (should be used rather than iniprint.h)
  • created abort_physic.F90 , which does the same job as abort_gcm() did, but should be used instead when in physics.
  • reactivated inifis (turned it into a module, inifis_mod.F90) to initialize physical constants and print_control_mod flags.

EM

File:
1 edited

Legend:

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

    r2297 r2311  
    171171  include "YOMCST.h"
    172172  include "clesphys.h"
    173   include "iniprint.h"
    174173
    175174! Input arguments
     
    393392  IF (nb_gr*kdlon .NE. KLON) THEN
    394393      PRINT*, "kdlon mauvais:", KLON, kdlon, nb_gr
    395       call abort_gcm("radlwsw", "", 1)
     394      call abort_physic("radlwsw", "", 1)
    396395  ENDIF
    397396  IF (kflev .NE. KLEV) THEN
    398397      PRINT*, "kflev differe de KLEV, kflev, KLEV"
    399       call abort_gcm("radlwsw", "", 1)
     398      call abort_physic("radlwsw", "", 1)
    400399  ENDIF
    401400  !-------------------------------------------
     
    10271026#else
    10281027    abort_message="You should compile with -rrtm if running with iflag_rrtm=1"
    1029     call abort_gcm(modname, abort_message, 1)
     1028    call abort_physic(modname, abort_message, 1)
    10301029#endif
    10311030    ENDIF ! iflag_rrtm
Note: See TracChangeset for help on using the changeset viewer.