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