https://mooseframework.inl.gov
PrescribedReactorPower.C
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 #include "PrescribedReactorPower.h"
11 
12 registerMooseObject("ThermalHydraulicsApp", PrescribedReactorPower);
13 
16 {
18  params.addClassDescription(
19  "Specifies the total power of a component. This component is deprecated");
20  params.addRequiredParam<Real>("power", "Total power [W]");
21  return params;
22 }
23 
25  : TotalPowerBase(parameters)
26 {
27  logError("Deprecated component, use 'type = TotalPower' instead.");
28 }
PrescribedReactorPower(const InputParameters &parameters)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void logError(Args &&... args) const
Logs an error.
Definition: Component.h:215
registerMooseObject("ThermalHydraulicsApp", PrescribedReactorPower)
Base class for components that provide total power.
DEPRECATED: Do not use.
static InputParameters validParams()
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)