www.mooseframework.org
SlopeLimitingMultiDBase.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
11 
12 template <>
13 InputParameters
15 {
16  InputParameters params = validParams<SlopeLimitingBase>();
17 
18  params.addClassDescription("Base class for multi-dimensional slope limiting to limit the slopes "
19  "of cell average variables.");
20 
21  params.addRequiredParam<UserObjectName>("slope_reconstruction",
22  "Name of slope reconstruction user object");
23 
24  return params;
25 }
26 
27 SlopeLimitingMultiDBase::SlopeLimitingMultiDBase(const InputParameters & parameters)
28  : SlopeLimitingBase(parameters),
29  _rslope(getUserObject<SlopeReconstructionBase>("slope_reconstruction"))
30 {
31 }
SlopeLimitingBase
Base class for slope limiting to limit the slopes of cell average variables.
Definition: SlopeLimitingBase.h:24
validParams< SlopeLimitingBase >
InputParameters validParams< SlopeLimitingBase >()
Definition: SlopeLimitingBase.C:20
SlopeReconstructionBase
Base class for piecewise linear slope reconstruction to get the slopes of element average variables.
Definition: SlopeReconstructionBase.h:25
SlopeLimitingMultiDBase::SlopeLimitingMultiDBase
SlopeLimitingMultiDBase(const InputParameters &parameters)
Definition: SlopeLimitingMultiDBase.C:27
validParams< SlopeLimitingMultiDBase >
InputParameters validParams< SlopeLimitingMultiDBase >()
Definition: SlopeLimitingMultiDBase.C:14
SlopeLimitingMultiDBase.h