www.mooseframework.org
AEFVMaterial.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 "Material.h"
13 #include "SlopeLimitingBase.h"
14 
15 class AEFVMaterial;
16 
17 template <>
18 InputParameters validParams<AEFVMaterial>();
19 
43 class AEFVMaterial : public Material
44 {
45 public:
46  AEFVMaterial(const InputParameters & parameters);
47  virtual ~AEFVMaterial();
48 
49 protected:
50  virtual void computeQpProperties();
51 
52  // cell-average variable
53  const VariableValue & _uc;
54 
55  // slope limiting user objects
57 
58  // derived variables at face center
59  MaterialProperty<Real> & _u;
60 };
61 
AEFVMaterial::AEFVMaterial
AEFVMaterial(const InputParameters &parameters)
Definition: AEFVMaterial.C:29
SlopeLimitingBase
Base class for slope limiting to limit the slopes of cell average variables.
Definition: SlopeLimitingBase.h:24
AEFVMaterial::_lslope
const SlopeLimitingBase & _lslope
Definition: AEFVMaterial.h:56
AEFVMaterial::_uc
const VariableValue & _uc
Definition: AEFVMaterial.h:53
AEFVMaterial::~AEFVMaterial
virtual ~AEFVMaterial()
Definition: AEFVMaterial.C:37
AEFVMaterial
A material kernel for the advection equation using a cell-centered finite volume method.
Definition: AEFVMaterial.h:43
AEFVMaterial::_u
MaterialProperty< Real > & _u
Definition: AEFVMaterial.h:59
AEFVMaterial::computeQpProperties
virtual void computeQpProperties()
Definition: AEFVMaterial.C:40
SlopeLimitingBase.h
validParams< AEFVMaterial >
InputParameters validParams< AEFVMaterial >()
Definition: AEFVMaterial.C:19