www.mooseframework.org
TestDistributionPostprocessor.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 #ifndef TESTDISTRIBUTIONPOSTPROCESSOR_H
8 #define TESTDISTRIBUTIONPOSTPROCESSOR_H
9 
10 #include "GeneralPostprocessor.h"
11 
13 class Distribution;
14 
15 template <>
17 
23 class TestDistributionPostprocessor : public GeneralPostprocessor
24 {
25 public:
26  TestDistributionPostprocessor(const InputParameters & parameters);
27  virtual void initialize() override {}
28  virtual void execute() override {}
29  virtual PostprocessorValue getValue() override;
30 
31 protected:
33  Distribution & _distribution;
34 
36  const Real & _value;
37 
39  const MooseEnum & _distribution_method;
40 };
41 
42 #endif /* TESTDISTRIBUTIONPOSTPROCESSOR_H */
const Real & _value
The value to supply to method.
virtual PostprocessorValue getValue() override
Test object for testing distribution capabilities.
const MooseEnum & _distribution_method
The distribution method to call.
TestDistributionPostprocessor(const InputParameters &parameters)
Distribution & _distribution
Object of statistics distribution.
InputParameters validParams< TestDistributionPostprocessor >()