www.mooseframework.org
PorousFlowPorosityBase.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 POROUSFLOWPOROSITYBASE_H
9 #define POROUSFLOWPOROSITYBASE_H
10 
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<PorousFlowPorosityBase>();
18 
23 {
24 public:
25  PorousFlowPorosityBase(const InputParameters & parameters);
26 
27 protected:
29  MaterialProperty<Real> & _porosity;
30 
32  MaterialProperty<std::vector<Real>> & _dporosity_dvar;
33 
35  MaterialProperty<std::vector<RealGradient>> & _dporosity_dgradvar;
36 };
37 
38 #endif // POROUSFLOWPOROSITYBASE_H
PorousFlowPorosityBase(const InputParameters &parameters)
MaterialProperty< std::vector< Real > > & _dporosity_dvar
d(porosity)/d(PorousFlow variable)
MaterialProperty< std::vector< RealGradient > > & _dporosity_dgradvar
d(porosity)/d(grad PorousFlow variable)
Base class for all PorousFlow vector materials.
Base class Material designed to provide the porosity.
MaterialProperty< Real > & _porosity
computed porosity at the nodes or quadpoints
InputParameters validParams< PorousFlowPorosityBase >()