63 integer :: i, nn_timesteps, nn_consolidation, nn_modeldump, multiplier
64 type(model_state_type) :: current_state
71 nn_timesteps= int(r*9)+1
73 multiplier = int(r*39)+1
75 nn_consolidation = int(r*9)+1
77 nn_modeldump = int(r*9)+1
79 current_state%timestep = nn_timesteps * nn_consolidation * multiplier
80 current_state%continue_modeldump=.true.
81 call options_add(current_state%options_database,
"nn_timesteps", nn_timesteps)
82 call options_add(current_state%options_database,
"nn_consolidation", nn_consolidation)
83 call options_add(current_state%options_database,
"nn_modeldump", nn_modeldump)
84 call modeldump_callback(current_state)
85 call assert_equals(mod(current_state%timestep / nn_timesteps / nn_consolidation, nn_modeldump) /= 0,&
86 current_state%continue_modeldump,
"Model dump completion consistent with expectations")