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 "SlopeLimitingMultiDBase.h" 11 : 12 : InputParameters 13 0 : SlopeLimitingMultiDBase::validParams() 14 : { 15 0 : InputParameters params = SlopeLimitingBase::validParams(); 16 : 17 0 : params.addClassDescription("Base class for multi-dimensional slope limiting to limit the slopes " 18 : "of cell average variables."); 19 : 20 0 : params.addRequiredParam<UserObjectName>("slope_reconstruction", 21 : "Name of slope reconstruction user object"); 22 : 23 0 : return params; 24 0 : } 25 : 26 0 : SlopeLimitingMultiDBase::SlopeLimitingMultiDBase(const InputParameters & parameters) 27 : : SlopeLimitingBase(parameters), 28 0 : _rslope(getUserObject<SlopeReconstructionBase>("slope_reconstruction")) 29 : { 30 0 : }