www.mooseframework.org
ConstantVectorPostprocessor.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
16 
17 template <>
20 {
22 
24  "The vector value this object will have.");
25  return params;
26 }
27 
29  : GeneralVectorPostprocessor(parameters), _value(declareVector("value"))
30 {
31  _value = getParam<VectorPostprocessorValue>("value");
32 }
33 
34 void
36 {
37 }
38 
39 void
41 {
42 }
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
virtual void execute() override
Execute method.
VectorPostprocessorValue & _value
InputParameters validParams< GeneralVectorPostprocessor >()
std::vector< Real > VectorPostprocessorValue
Definition: MooseTypes.h:74
InputParameters validParams< ConstantVectorPostprocessor >()
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
ConstantVectorPostprocessor(const InputParameters &parameters)