www.mooseframework.org
CNSFVSlopeLimitingOneD.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 CNSFVSLOPELIMITINGONED_H
9 #define CNSFVSLOPELIMITINGONED_H
10 
11 #include "SlopeLimitingBase.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<CNSFVSlopeLimitingOneD>();
19 
25 {
26 public:
27  CNSFVSlopeLimitingOneD(const InputParameters & parameters);
28 
30  virtual std::vector<RealGradient> limitElementSlope() const;
31 
32 protected:
34  MooseVariable * _rho;
36  MooseVariable * _rhou;
38  MooseVariable * _rhoe;
39 
42 
44  MooseEnum _scheme;
45 };
46 
47 #endif
const SinglePhaseFluidProperties & _fp
fluid properties user object
MooseEnum _scheme
One-D slope limiting scheme.
MooseVariable * _rho
the input density
virtual std::vector< RealGradient > limitElementSlope() const
compute the limited slope of the cell
A use object that serves as base class for slope limiting to get the limited slopes of cell average v...
MooseVariable * _rhou
the input x-momentum
CNSFVSlopeLimitingOneD(const InputParameters &parameters)
Common class for single phase fluid properties.
Base class for slope limiting to limit the slopes of cell average variables.
InputParameters validParams< CNSFVSlopeLimitingOneD >()
MooseVariable * _rhoe
the input total energy