https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SetComponentRealValueControl.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
14class Function;
15
21{
22public:
24
25 virtual void execute();
26
27protected:
29 const std::string & _component_name;
31 const std::string & _param_name;
35 const Real & _value;
36
37public:
39};
const InputParameters & parameters() const
This block reads an input computed by the control logic system and sets a value in a specified compon...
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)
const std::string & _component_name
The name of the component that is controlled.
const Real & _value
The value that is written into the component.