https://mooseframework.inl.gov
Receiver.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
19 {
20 public:
22 
28 
30 
33  virtual void initialize() override {}
34  virtual void execute() override {}
36 
41  virtual Real getValue() const override;
42 
43 private:
46 
49 };
bool _initialize_old
Flag for initializing the old value.
Definition: Receiver.h:45
const PostprocessorValue & _my_value
Reference to the value being stored in the associated PostprocessorData class.
Definition: Receiver.h:48
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...
static InputParameters validParams()
Definition: Receiver.C:15
Real PostprocessorValue
various MOOSE typedefs
Definition: MooseTypes.h:202
Receiver(const InputParameters &parameters)
Class constructor.
Definition: Receiver.C:27
virtual void initialize() override
No action taken.
Definition: Receiver.h:33
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void execute() override
Execute method.
Definition: Receiver.h:34
virtual Real getValue() const override
Returns the value stored in _my_value.
Definition: Receiver.C:49
A class for storing data, it allows the user to change the value of the postprocessor by altering the...
Definition: Receiver.h:18
const InputParameters & parameters() const
Get the parameters of the object.