www.mooseframework.org
ExecutionerAttributeReporter.h
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 
15 #ifndef EXECUTIONERATTRIBUTEREPORTER_H
16 #define EXECUTIONERATTRIBUTEREPORTER_H
17 
18 // MOOSE includes
19 #include "GeneralPostprocessor.h"
20 
21 // Forward declarations
23 
24 template <>
26 
35 {
36 public:
42 
44 
47  virtual void execute() override {}
48  virtual void initialize() override {}
50 
55  virtual PostprocessorValue getValue() override;
56 
57 private:
59  Real * _value;
60 };
61 
62 #endif // EIGENVALUEREPORTER_H
ExecutionerAttributeReporter(const InputParameters &parameters)
Class constructor.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
A class to report class attributes value from Executioners.
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
virtual PostprocessorValue getValue() override
Returns the value of the eigen value as computed by an EigenExecutionerBase object.
virtual void execute() override
These methods are intentionally empty.
Real PostprocessorValue
MOOSE typedefs.
Definition: MooseTypes.h:73
InputParameters validParams< ExecutionerAttributeReporter >()
Real * _value
Pointer to the attribute to report, this is assigned via the "value" parameter.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.