www.mooseframework.org
PorousFlowPorosityConst.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 POROUSFLOWPOROSITYCONST_H
9 #define POROUSFLOWPOROSITYCONST_H
10 
11 #include "PorousFlowPorosityBase.h"
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<PorousFlowPorosityConst>();
18 
26 {
27 public:
28  PorousFlowPorosityConst(const InputParameters & parameters);
29 
30 protected:
31  virtual void initQpStatefulProperties() override;
32  virtual void computeQpProperties() override;
33 
35  const VariableValue & _input_porosity;
36 };
37 
38 #endif // POROUSFLOWPOROSITYCONST_H
virtual void computeQpProperties() override
Material to provide a constant value of porosity.
Base class Material designed to provide the porosity.
virtual void initQpStatefulProperties() override
PorousFlowPorosityConst(const InputParameters &parameters)
InputParameters validParams< PorousFlowPorosityConst >()
const VariableValue & _input_porosity
Constant porosity.