www.mooseframework.org
TestDistributionDirectPostprocessor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "GeneralPostprocessor.h"
13 
15 class NormalDistribution;
16 
17 template <>
19 
25 class TestDistributionDirectPostprocessor : public GeneralPostprocessor
26 {
27 public:
28  TestDistributionDirectPostprocessor(const InputParameters & parameters);
29  virtual void initialize() override {}
30  virtual void execute() override {}
31  virtual PostprocessorValue getValue() override;
32 
33 protected:
36 
38  const Real & _value;
39 
41  const Real & _mean;
42 
44  const Real & _std_dev;
45 
47  const MooseEnum & _distribution_method;
48 };
49 
Test object for testing distribution capabilities.
const Real & _std_dev
Value of standard deviation to test direct method.
InputParameters validParams< TestDistributionDirectPostprocessor >()
virtual PostprocessorValue getValue() override
const NormalDistribution & _distribution
Object of statistics distribution.
const Real & _mean
Value of mean to test direct method.
TestDistributionDirectPostprocessor(const InputParameters &parameters)
A class used to generate a normal distribution.
const MooseEnum & _distribution_method
The distribution method to call.
const Real & _value
The value to supply to method.