https://mooseframework.inl.gov
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
};
Receiver::_initialize_old
bool _initialize_old
Flag for initializing the old value.
Definition:
Receiver.h:45
Receiver::_my_value
const PostprocessorValue & _my_value
Reference to the value being stored in the associated PostprocessorData class.
Definition:
Receiver.h:48
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
GeneralPostprocessor
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
Definition:
GeneralPostprocessor.h:21
Receiver::validParams
static InputParameters validParams()
Definition:
Receiver.C:15
PostprocessorValue
Real PostprocessorValue
various MOOSE typedefs
Definition:
MooseTypes.h:202
Receiver::Receiver
Receiver(const InputParameters ¶meters)
Class constructor.
Definition:
Receiver.C:27
Receiver::initialize
virtual void initialize() override
No action taken.
Definition:
Receiver.h:33
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
GeneralPostprocessor.h
Receiver::execute
virtual void execute() override
Execute method.
Definition:
Receiver.h:34
Receiver::getValue
virtual Real getValue() const override
Returns the value stored in _my_value.
Definition:
Receiver.C:49
Receiver
A class for storing data, it allows the user to change the value of the postprocessor by altering the...
Definition:
Receiver.h:18
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
Generated on Thu Jul 17 2025 01:32:07 for https://mooseframework.inl.gov by
1.8.14