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