42 std::string class_name =
"ConstantScalarAux";
registerMooseObject("ThermalHydraulicsApp", TotalPower)
THMProblem & getTHMProblem() const
Gets the THM problem.
Factory & _factory
The Factory associated with the MooseApp.
void connectObject(const InputParameters &obj_params, const std::string &obj_name, const std::string ¶m) const
Connects a controllable parameter of the component to a controllable parameter of a constituent objec...
virtual void addAuxScalarKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
bool isRestarting() const
std::string genName(const std::string &prefix, unsigned int id, const std::string &suffix="") const
Build a name from a prefix, number and possible suffix.
void addConstantScalarIC(const VariableName &var_name, Real value)
Base class for components that provide total power.
const VariableName _power_var_name
The scalar variable holding the value of power.
virtual void addVariables() override
static InputParameters validParams()
Prescribes total power via a user supplied value.
TotalPower(const InputParameters ¶meters)
static InputParameters validParams()
virtual void addMooseObjects() override
virtual void addVariables() override
const Real & _power
The value of power.