Line data Source code
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 : 14 : InputParameters 15 4 : PrescribedReactorPower::validParams() 16 : { 17 4 : InputParameters params = TotalPowerBase::validParams(); 18 4 : params.addClassDescription( 19 : "Specifies the total power of a component. This component is deprecated"); 20 8 : params.addRequiredParam<Real>("power", "Total power [W]"); 21 4 : return params; 22 0 : } 23 : 24 2 : PrescribedReactorPower::PrescribedReactorPower(const InputParameters & parameters) 25 2 : : TotalPowerBase(parameters) 26 : { 27 2 : logError("Deprecated component, use 'type = TotalPower' instead."); 28 2 : }