www.mooseframework.org
rdg
include
userobjects
AEFVSlopeLimitingOneD.h
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
10
#pragma once
11
12
#include "
SlopeLimitingBase.h
"
13
14
// Forward Declarations
15
class
AEFVSlopeLimitingOneD
;
16
17
template
<>
18
InputParameters
validParams<AEFVSlopeLimitingOneD>
();
19
26
class
AEFVSlopeLimitingOneD
:
public
SlopeLimitingBase
27
{
28
public
:
29
AEFVSlopeLimitingOneD
(
const
InputParameters & parameters);
30
32
virtual
std::vector<RealGradient>
limitElementSlope
()
const override
;
33
34
protected
:
36
MooseVariable *
_u
;
37
39
MooseEnum
_scheme
;
40
};
41
AEFVSlopeLimitingOneD::_u
MooseVariable * _u
the input variable
Definition:
AEFVSlopeLimitingOneD.h:36
SlopeLimitingBase
Base class for slope limiting to limit the slopes of cell average variables.
Definition:
SlopeLimitingBase.h:24
validParams< AEFVSlopeLimitingOneD >
InputParameters validParams< AEFVSlopeLimitingOneD >()
Definition:
AEFVSlopeLimitingOneD.C:16
AEFVSlopeLimitingOneD::_scheme
MooseEnum _scheme
One-D slope limiting scheme.
Definition:
AEFVSlopeLimitingOneD.h:39
AEFVSlopeLimitingOneD::limitElementSlope
virtual std::vector< RealGradient > limitElementSlope() const override
compute the limited slope of the cell
Definition:
AEFVSlopeLimitingOneD.C:34
AEFVSlopeLimitingOneD
One-dimensional slope limiting to get the limited slope of cell average variable for the advection eq...
Definition:
AEFVSlopeLimitingOneD.h:26
SlopeLimitingBase.h
AEFVSlopeLimitingOneD::AEFVSlopeLimitingOneD
AEFVSlopeLimitingOneD(const InputParameters ¶meters)
Definition:
AEFVSlopeLimitingOneD.C:28
Generated on Sat Jan 25 2020 12:04:42 for www.mooseframework.org by
1.8.16