https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BoolComponentParameterValuePostprocessor.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
14
19{
20public:
22
23 virtual void initialize() override;
24 virtual Real getValue() const override;
25 virtual void execute() override;
26
27protected:
30 const std::string & _component_name;
32 const std::string & _param_name;
36 bool _value;
37
38public:
40};
Postprocessor for reading a boolean value from the control logic system.
const std::string & _component_name
The name of the component we read the value from.
const std::string & _param_name
The name of boolean parameter.
MooseObjectParameterName _ctrl_param_name
The name of the control parameter in MOOSE.
bool _value
The value of the boolean parameter in component '_component_name'.
const InputParameters & parameters() const