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

    r1992 r2311  
    733733    iflag, nk, icb, icbs, plcl, tnk, qnk, gznk, pbase, buoybase, t, q, qs, u, &
    734734    v, gz, th, tra, h, lv, cpn, p, ph, tv, tp, tvp, clw, sig, w0)
     735  USE print_control_mod, ONLY: lunout
    735736  IMPLICIT NONE
    736737
    737738  include "cv30param.h"
    738   include 'iniprint.h'
    739739
    740740  ! inputs:
     
    813813    WRITE (lunout, *) 'strange! nn not equal to ncum: ', nn, ncum
    814814    abort_message = ''
    815     CALL abort_gcm(modname, abort_message, 1)
     815    CALL abort_physic(modname, abort_message, 1)
    816816  END IF
    817817
Note: See TracChangeset for help on using the changeset viewer.