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