[StochasticTools] auto_create_executioner = true [] [Distributions] [uniform_left] type = Normal mean = 0.1 standard_deviation = 0.1 [] [uniform_right] type = Normal mean = 0.8 standard_deviation = 0.5 [] [] [Samplers] [sample] type = MonteCarlo num_rows = 10 distributions = 'uniform_left uniform_right' execute_on = 'TIMESTEP_BEGIN' [] [] [MultiApps] [sub_phys] type = SamplerFullSolveMultiApp input_files = physics.i sampler = sample execute_on = 'TIMESTEP_BEGIN' [] [] [Transfers] [sub] type = SamplerParameterTransfer to_multi_app = sub_phys sampler = sample parameters = 'BCs/left/value BCs/right/value' check_multiapp_execute_on = true execute_on = 'INITIAL TIMESTEP_BEGIN FINAL' # execute_on = 'INITIAL TIMESTEP_BEGIN' [] [reporter_transfer] type = SamplerReporterTransfer from_reporter = 'objective/value' stochastic_reporter = 'constant_final' from_multi_app = sub_phys sampler = sample execute_on = 'TIMESTEP_END' # check_multiapp_execute_on = true [] [data] type = SamplerPostprocessorTransfer from_multi_app = sub_phys sampler = sample to_vector_postprocessor = storage from_postprocessor = objective execute_on = 'TIMESTEP_END' # check_multiapp_execute_on = true [] [] [VectorPostprocessors] [storage] type = StochasticResults contains_complete_history = true [] [] [Reporters] [stats] type = StatisticsReporter vectorpostprocessors = 'storage' compute = 'mean' execute_on = 'INITIAL TIMESTEP_BEGIN' outputs = all [] [constant_final] type = StochasticReporter outputs = all execute_on = 'INITIAL TIMESTEP_BEGIN TIMESTEP_END FINAL' [] [] [Controls] [stochastic_dists] type = SamplerReceiver execute_on = 'INITIAL' # execute_on = 'INITIAL TIMESTEP_BEGIN TIMESTEP_END' [] [] [Executioner] type = Transient num_steps = 5 dt = 0.01 [] [Outputs] [out] type = JSON [] [] [Debug] show_reporters = true []