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_inip.F90

    r2195 r2311  
    3030!----------------------------------------------
    3131
     32  USE print_control_mod, ONLY: prt_level, lunout
    3233  IMPLICIT NONE
    3334
    3435  include "YOMCST2.h"
    35 
    36   include 'iniprint.h'
    3736
    3837!----------------------------------------------
     
    138137      WRITE (lunout, *) 'WARNING:: AREA OF MIXING PDF IS::', aire
    139138      abort_message = ''
    140       CALL abort_gcm(modname, abort_message, 1)
     139      CALL abort_physic(modname, abort_message, 1)
    141140    ELSE
    142141      PRINT *, 'Area, mean & std deviation are ::', aire, mu, sigma
Note: See TracChangeset for help on using the changeset viewer.