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

    r1992 r2311  
    520520      IF (fracd(ig,l)<0.1) THEN
    521521        abort_message = 'fracd trop petit'
    522         CALL abort_gcm(modname, abort_message, 1)
     522        CALL abort_physic(modname, abort_message, 1)
    523523      ELSE
    524524        ! vitesse descendante "diagnostique"
     
    17471747        PRINT *, 'THERMCELL PB ig=', ig, '   l=', l
    17481748        abort_message = 'THERMCELL PB'
    1749         CALL abort_gcm(modname, abort_message, 1)
     1749        CALL abort_physic(modname, abort_message, 1)
    17501750      END IF
    17511751      ! if ((zw2(ig,l+1).gt.1.e-10).and.(zw2(ig,l).gt.1.e-10).and.
     
    20512051      IF (fracd(ig,l)<0.1 .AND. (test(ig)==1)) THEN
    20522052        abort_message = 'fracd trop petit'
    2053         CALL abort_gcm(modname, abort_message, 1)
     2053        CALL abort_physic(modname, abort_message, 1)
    20542054      ELSE
    20552055        ! vitesse descendante "diagnostique"
     
    31013101      IF (fracd(ig,l)<0.1) THEN
    31023102        abort_message = 'fracd trop petit'
    3103         CALL abort_gcm(modname, abort_message, 1)
     3103        CALL abort_physic(modname, abort_message, 1)
    31043104      ELSE
    31053105        ! vitesse descendante "diagnostique"
     
    39063906      IF (fracd(ig,l)<0.1) THEN
    39073907        abort_message = 'fracd trop petit'
    3908         CALL abort_gcm(modname, abort_message, 1)
     3908        CALL abort_physic(modname, abort_message, 1)
    39093909      ELSE
    39103910        ! vitesse descendante "diagnostique"
     
    52095209      IF (fracd(ig,l)<0.1) THEN
    52105210        abort_message = 'fracd trop petit'
    5211         CALL abort_gcm(modname, abort_message, 1)
     5211        CALL abort_physic(modname, abort_message, 1)
    52125212      ELSE
    52135213        ! vitesse descendante "diagnostique"
Note: See TracChangeset for help on using the changeset viewer.