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

    r2235 r2311  
    55  USE phys_state_var_mod
    66  USE indice_sol_mod
     7  USE print_control_mod, ONLY: lunout
    78  IMPLICIT NONE
    89  ! ======================================================================
     
    1112  include "dimensions.h"
    1213  include "YOMCST.h"
    13   include "iniprint.h"
    1414  REAL t(klon, klev), tsol(klon, nbsrf)
    1515  CHARACTER(len=*), intent(in):: text
     
    129129  END DO
    130130
    131 !  IF (.NOT. ok) CALL abort_gcm(modname, text, 1)
     131!  IF (.NOT. ok) CALL abort_physic(modname, text, 1)
    132132  IF (.NOT. ok) abortphy=1
    133133
Note: See TracChangeset for help on using the changeset viewer.