https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SlopeLimitingMultiDBase.C
Go to the documentation of this file.
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
11
14{
16
17 params.addClassDescription("Base class for multi-dimensional slope limiting to limit the slopes "
18 "of cell average variables.");
19
20 params.addRequiredParam<UserObjectName>("slope_reconstruction",
21 "Name of slope reconstruction user object");
22
23 return params;
24}
25
27 : SlopeLimitingBase(parameters),
28 _rslope(getUserObject<SlopeReconstructionBase>("slope_reconstruction"))
29{
30}
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Base class for slope limiting to limit the slopes of cell average variables.
static InputParameters validParams()
SlopeLimitingMultiDBase(const InputParameters &parameters)
static InputParameters validParams()
Base class for piecewise linear slope reconstruction to get the slopes of element average variables.