https://mooseframework.inl.gov
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 
14 class Function;
15 
21 {
22 public:
24 
25  virtual void execute();
26 
27 protected:
29  const std::string & _component_name;
31  const std::string & _param_name;
35  const Real & _value;
36 
37 public:
39 };
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.
const std::string & _component_name
The name of the component that is controlled.
SetComponentRealValueControl(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _value
The value that is written into the component.
const InputParameters & parameters() const
MooseObjectParameterName _ctrl_param_name
Control parameter name used internally by MOOSE (the name is generated by THM)