www.mooseframework.org
AEFVSlopeLimitingOneD.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef AEFVSLOPELIMITINGONED_H
9 #define AEFVSLOPELIMITINGONED_H
10 
11 #include "SlopeLimitingBase.h"
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<AEFVSlopeLimitingOneD>();
18 
26 {
27 public:
28  AEFVSlopeLimitingOneD(const InputParameters & parameters);
29 
31  virtual std::vector<RealGradient> limitElementSlope() const override;
32 
33 protected:
35  MooseVariable * _u;
36 
38  MooseEnum _scheme;
39 };
40 
41 #endif
One-dimensional slope limiting to get the limited slope of cell average variable for the advection eq...
MooseVariable * _u
the input variable
virtual std::vector< RealGradient > limitElementSlope() const override
compute the limited slope of the cell
MooseEnum _scheme
One-D slope limiting scheme.
Base class for slope limiting to limit the slopes of cell average variables.
InputParameters validParams< AEFVSlopeLimitingOneD >()
AEFVSlopeLimitingOneD(const InputParameters &parameters)