Changeset 3587 for palm/trunk
- Timestamp:
- Nov 30, 2018 1:52:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/multi_agent_system_mod.f90
r3525 r3587 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Added output of agent substep time 28 ! 29 ! 3525 2018-11-14 16:06:14Z kanani 27 30 ! Changes related to clean-up of biometeorology (dom_dwd_user) 28 31 ! … … 160 163 161 164 REAL(wp) :: agent_maximum_age = 9999999.9_wp !< namelist parameter (see documentation) 165 REAL(wp) :: agent_substep_time = 0.0_wp !< time measurement during one LES timestep 162 166 REAL(wp) :: alloc_factor_mas = 20.0_wp !< namelist parameter (see documentation) 163 167 REAL(wp) :: coll_t_0 = 3. !< namelist parameter (see documentation) … … 374 378 !-- those agents to be deleted after the timestep 375 379 deleted_agents = 0 380 agent_substep_time = 0.0_wp 376 381 ! 377 382 !-- If necessary, release new set of agents … … 400 405 !-- Write agent data at current time on file. 401 406 time_write_agent_data = time_write_agent_data + dt_agent 407 agent_substep_time = agent_substep_time + dt_agent 402 408 IF ( time_write_agent_data >= dt_write_agent_data ) THEN 403 409 #if defined( __netcdf ) … … 1370 1376 1371 1377 nc_stat = NF90_PUT_VAR( id_set_agt, id_var_time_agt, & 1372 (/ time_since_reference_point /), &1378 (/ time_since_reference_point + agent_substep_time /), & 1373 1379 start = (/ agt_time_count /), & 1374 1380 count = (/ 1 /) ) … … 3283 3289 3284 3290 WRITE(message_string,'(A,I8,A)') & 3285 'The maximumn number of agents durin this run was',&3291 'The maximumn number of agents during this run was', & 3286 3292 maximum_number_of_agents, & 3287 3293 '&Consider adjusting the INPUT parameter'// &
Note: See TracChangeset
for help on using the changeset viewer.