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

    r2209 r2311  
    113113!****************************************************************************************
    114114        ierr = NF90_CLOSE(nid)
    115         IF (ierr /= NF90_NOERR) CALL abort_gcm(modname,'Pb when closing file', 1)
     115        IF (ierr /= NF90_NOERR) CALL abort_physic(modname,'Pb when closing file', 1)
    116116        END IF ! Read File
    117117        IF (read_sst) THEN
     
    133133     IF (.NOT. ALLOCATED(bils_save)) THEN
    134134        ALLOCATE(bils_save(klon), diff_sst_save(klon), diff_siv_save(klon), stat=ierr)
    135         IF (ierr /= 0) CALL abort_gcm('limit_slab', 'pb in allocation',1)
     135        IF (ierr /= 0) CALL abort_physic('limit_slab', 'pb in allocation',1)
    136136     END IF
    137137
Note: See TracChangeset for help on using the changeset viewer.