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

    r2293 r2311  
    4646!===============================================================================
    4747  USE assert_eq_m, ONLY: assert_eq
     48  USE print_control_mod, ONLY: lunout
    4849  IMPLICIT NONE
    4950!  include "dimensions.h"
    50   include "iniprint.h"
    5151  REAL, PARAMETER :: epsfra = 1.e-5
    5252!-------------------------------------------------------------------------------
     
    9494                          SIZE(zgam,2),SIZE(zthe,2),SIZE(zpic,2),SIZE(zval,2), &
    9595                          SIZE(mask,2)],TRIM(modname)//" jmar")
    96 !  IF(imar/=iim)   CALL abort_gcm(TRIM(modname),'imar/=iim'  ,1)
    97 !  IF(jmar/=jjm+1) CALL abort_gcm(TRIM(modname),'jmar/=jjm+1',1)
     96!  IF(imar/=iim)   CALL abort_physic(TRIM(modname),'imar/=iim'  ,1)
     97!  IF(jmar/=jjm+1) CALL abort_physic(TRIM(modname),'jmar/=jjm+1',1)
    9898  iext=imdp/10                                !--- OK up to 36 degrees cell
    9999  xpi = ACOS(-1.)
Note: See TracChangeset for help on using the changeset viewer.