www.mooseframework.org
SamplerPostprocessorTransfer.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef SAMPLERPOSTPROCESSORTRANSFER_H
9 #define SAMPLERPOSTPROCESSORTRANSFER_H
10 
11 // MOOSE includes
12 #include "MultiAppTransfer.h"
13 #include "Sampler.h"
14 
15 // Forward declarations
17 class SamplerReceiver;
18 class SamplerMultiApp;
19 class StochasticResults;
20 
21 template <>
23 
27 class SamplerPostprocessorTransfer : public MultiAppTransfer
28 {
29 public:
30  SamplerPostprocessorTransfer(const InputParameters & parameters);
31  virtual void execute() override;
32  virtual void initialSetup() override;
33 
34 protected:
36  const VectorPostprocessorName & _results_name;
37 
40 
42  Sampler & _sampler;
43 
46 
48  const std::string & _sub_pp_name;
49 };
50 
51 #endif
SamplerPostprocessorTransfer(const InputParameters &parameters)
StochasticResults * _results
Storage for StochasticResults object that data will be transferred to/from.
Transfer Postprocessor from sub-applications to the master application.
Sampler & _sampler
Sampler object that is retrieved from the SamplerMultiApp.
SamplerMultiApp * _sampler_multi_app
SamplerMultiApp that this transfer is working with.
const VectorPostprocessorName & _results_name
Name of VPP that will store the data.
A tool for output Sampler data.
InputParameters validParams< SamplerPostprocessorTransfer >()
A Control object for receiving data from a master application Sampler object.
const std::string & _sub_pp_name
Name of Postprocessor transferring from.