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/cv3p1_closure.F90

    r2253 r2311  
    1919  ! **************************************************************
    2020
     21  USE print_control_mod, ONLY: prt_level, lunout
    2122  IMPLICIT NONE
    2223
     
    2627  include "YOMCST.h"
    2728  include "conema3.h"
    28   include "iniprint.h"
    2929
    3030  ! input:
     
    552552        , il, alp2(il), alp(il), cin(il)
    553553      abort_message = ''
    554       CALL abort_gcm(modname, abort_message, 1)
     554      CALL abort_physic(modname, abort_message, 1)
    555555    END IF
    556556    cbmfmax(il) = sigmax*wb2(il)*100.*p(il, icb(il))/(rrd*tv(il,icb(il)))
Note: See TracChangeset for help on using the changeset viewer.