www.mooseframework.org
Receiver.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 RECEIVER_H
16 #define RECEIVER_H
17 
18 #include "GeneralPostprocessor.h"
19 
20 // Forward Declarations
21 class Receiver;
22 
23 template <>
25 
31 {
32 public:
38 
40 
43  virtual void initialize() override {}
44  virtual void execute() override {}
46 
51  virtual Real getValue() override;
52 
56  virtual void initialSetup() override;
57 
58 private:
61 
64 };
65 
66 #endif // RECEIVER_H
virtual void initialSetup() override
Initial setup function for applying the default value.
Definition: Receiver.C:43
bool _initialize_old
Flag for initializing the old value.
Definition: Receiver.h:60
const PostprocessorValue & _my_value
Reference to the value being stored in the associated PostprocessorData class.
Definition: Receiver.h:63
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
Real PostprocessorValue
MOOSE typedefs.
Definition: MooseTypes.h:73
Receiver(const InputParameters &parameters)
Class constructor.
Definition: Receiver.C:28
InputParameters validParams< Receiver >()
Definition: Receiver.C:19
virtual void initialize() override
No action taken.
Definition: Receiver.h:43
virtual void execute() override
Execute method.
Definition: Receiver.h:44
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
A class for storing data, it allows the user to change the value of the postprocessor by altering the...
Definition: Receiver.h:30
virtual Real getValue() override
Returns the value stored in _my_value.
Definition: Receiver.C:36