Ignore:
Timestamp:
Apr 11, 2019 11:29:34 AM (5 years ago)
Author:
kanani
Message:

restructure/add location/debug messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/multi_agent_system_mod.f90

    r3876 r3885  
    1515! PALM. If not, see <http://www.gnu.org/licenses/>.
    1616!
    17 ! Copyright 2016 Leibniz Universitaet Hannover
     17! Copyright 2016-2019 Leibniz Universitaet Hannover
    1818!------------------------------------------------------------------------------!
    1919!
     
    2525! -----------------
    2626! $Id$
     27! Changes related to global restructuring of location messages and introduction
     28! of additional debug messages
     29!
     30! 3876 2019-04-08 18:41:49Z knoop
    2731! replaced nspec by nvar: only variable species should bconsidered, fixed species are not relevant
    2832!
     
    109113
    110114    USE control_parameters,                                                    &
    111         ONLY:  biometeorology, dt_3d, dt_write_agent_data, message_string,     &
     115        ONLY:  biometeorology,                                                 &
     116               debug_output,                                                   &
     117               debug_string,                                                   &
     118               dt_3d,                                                          &
     119               dt_write_agent_data,                                            &
     120               message_string,                                                 &
    112121               time_since_reference_point
    113122
     
    387396    LOGICAL       ::  first_loop_stride   !< flag for first loop stride of agent sub-timesteps
    388397    LOGICAL, SAVE ::  first_call = .TRUE. !< first call of mas flag for output
     398!
     399!-- Debug location message
     400    IF ( debug_output )  THEN
     401       WRITE( debug_string, * ) 'multi_agent_system'
     402       CALL debug_message( debug_string, 'start' )
     403    ENDIF
    389404
    390405    CALL cpu_log( log_point(9), 'mas', 'start' )
     
    607622
    608623    CALL cpu_log( log_point(9), 'mas', 'stop' )
     624!
     625!-- Debug location message
     626    IF ( debug_output )  THEN
     627       WRITE( debug_string, * ) 'multi_agent_system'
     628       CALL debug_message( debug_string, 'end' )
     629    ENDIF
    609630
    610631 END SUBROUTINE multi_agent_system
Note: See TracChangeset for help on using the changeset viewer.