https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
postprocessors
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
18
class
Receiver
:
public
GeneralPostprocessor
19
{
20
public
:
21
static
InputParameters
validParams
();
22
27
Receiver
(
const
InputParameters
&
parameters
);
28
30
33
virtual
void
initialize
()
override
{}
34
virtual
void
execute
()
override
{}
36
41
virtual
Real
getValue
()
const override
;
42
43
private
:
45
bool
_initialize_old
;
46
48
const
PostprocessorValue
&
_my_value
;
49
};
GeneralPostprocessor.h
PostprocessorValue
Real PostprocessorValue
various MOOSE typedefs
Definition
MooseTypes.h:230
GeneralPostprocessor
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
Definition
GeneralPostprocessor.h:22
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
Receiver
A class for storing data, it allows the user to change the value of the postprocessor by altering the...
Definition
Receiver.h:19
Receiver::getValue
virtual Real getValue() const override
Returns the value stored in _my_value.
Definition
Receiver.C:49
Receiver::_my_value
const PostprocessorValue & _my_value
Reference to the value being stored in the associated PostprocessorData class.
Definition
Receiver.h:48
Receiver::execute
virtual void execute() override
Execute method.
Definition
Receiver.h:34
Receiver::validParams
static InputParameters validParams()
Definition
Receiver.C:15
Receiver::_initialize_old
bool _initialize_old
Flag for initializing the old value.
Definition
Receiver.h:45
Receiver::initialize
virtual void initialize() override
No action taken.
Definition
Receiver.h:33
Generated on Mon Aug 24 2026 19:02:04 for https://mooseframework.inl.gov by
1.9.8