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 "ADOneDIntegratedBC.h" 11 : 12 : InputParameters 13 20952 : ADOneDIntegratedBC::validParams() 14 : { 15 20952 : InputParameters params = ADIntegratedBC::validParams(); 16 41904 : params.addRequiredParam<Real>("normal", "Component of outward normal along 1-D direction"); 17 20952 : params.addClassDescription( 18 : "Base class for integrated boundary conditions along a single direction (1D)"); 19 20952 : return params; 20 0 : } 21 : 22 13872 : ADOneDIntegratedBC::ADOneDIntegratedBC(const InputParameters & parameters) 23 27744 : : ADIntegratedBC(parameters), _normal(getParam<Real>("normal")) 24 : { 25 13872 : }