https://mooseframework.inl.gov
SetComponentBoolValueControl.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 "THMControl.h"
13 
18 {
19 public:
21 
22  virtual void execute();
23 
24 protected:
26  const std::string & _component_name;
28  const std::string & _param_name;
32  const bool & _value;
33 
34 public:
36 };
const std::string & _param_name
The parameter name in the component that is controlled.
MooseObjectParameterName _ctrl_param_name
Control parameter name used internally by MOOSE (the name is generated by THM)
SetComponentBoolValueControl(const InputParameters &parameters)
const bool & _value
The value that is written into the component.
const InputParameters & parameters() const
Control to set a boolean value of a component parameter.
const std::string & _component_name
The name of the component that is controlled.