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

    r2306 r2311  
    891891                        h, lv, cpn, p, ph, tv, tp, tvp, clw, &
    892892                        sig, w0)
     893  USE print_control_mod, ONLY: lunout
    893894  IMPLICIT NONE
    894895
    895896  include "cv3param.h"
    896   include 'iniprint.h'
    897897
    898898!inputs:
     
    971971    WRITE (lunout, *) 'strange! nn not equal to ncum: ', nn, ncum
    972972    abort_message = ''
    973     CALL abort_gcm(modname, abort_message, 1)
     973    CALL abort_physic(modname, abort_message, 1)
    974974  END IF
    975975
Note: See TracChangeset for help on using the changeset viewer.