www.mooseframework.org
SamplerMultiApp.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 SAMPLERMULTIAPP_H
9 #define SAMPLERMULTIAPP_H
10 
11 // MOOSE includes
12 #include "TransientMultiApp.h"
13 #include "SamplerInterface.h"
14 #include "Sampler.h"
15 
16 class SamplerMultiApp;
17 
18 template <>
19 InputParameters validParams<SamplerMultiApp>();
20 
21 class SamplerMultiApp : public TransientMultiApp, public SamplerInterface
22 {
23 public:
24  SamplerMultiApp(const InputParameters & parameters);
25 
29  Sampler & getSampler() const { return _sampler; }
30 
31 protected:
33  Sampler & _sampler;
34 };
35 
36 #endif
Sampler & _sampler
Sampler to utilize for creating MultiApps.
Sampler & getSampler() const
Return the Sampler object for this MultiApp.
InputParameters validParams< SamplerMultiApp >()
SamplerMultiApp(const InputParameters &parameters)