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 "ADOneDHeatFluxBase.h" 11 : #include "ADHeatFluxFromHeatStructureBaseUserObject.h" 12 : 13 : InputParameters 14 662 : ADOneDHeatFluxBase::validParams() 15 : { 16 662 : InputParameters params = ADKernel::validParams(); 17 1324 : params.addRequiredParam<UserObjectName>( 18 : "q_uo", "The name of the user object that computed the heat flux"); 19 662 : params.addClassDescription("Base class for a heat flux in the energy equation for 1-phase flow"); 20 662 : return params; 21 0 : } 22 : 23 374 : ADOneDHeatFluxBase::ADOneDHeatFluxBase(const InputParameters & parameters) 24 374 : : ADKernel(parameters), _q_uo(getUserObject<ADHeatFluxFromHeatStructureBaseUserObject>("q_uo")) 25 : { 26 374 : }