www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
PorousFlowPorosityBase Class Reference

Base class Material designed to provide the porosity. More...

#include <PorousFlowPorosityBase.h>

Inheritance diagram for PorousFlowPorosityBase:
[legend]

Public Member Functions

 PorousFlowPorosityBase (const InputParameters &parameters)
 

Protected Attributes

MaterialProperty< Real > & _porosity
 computed porosity at the nodes or quadpoints More...
 
MaterialProperty< std::vector< Real > > & _dporosity_dvar
 d(porosity)/d(PorousFlow variable) More...
 
MaterialProperty< std::vector< RealGradient > > & _dporosity_dgradvar
 d(porosity)/d(grad PorousFlow variable) More...
 
const unsigned int _num_phases
 Number of phases. More...
 
const unsigned int _num_components
 Number of fluid components. More...
 
const unsigned int _num_var
 Number of PorousFlow variables. More...
 

Detailed Description

Base class Material designed to provide the porosity.

Definition at line 22 of file PorousFlowPorosityBase.h.

Constructor & Destructor Documentation

PorousFlowPorosityBase::PorousFlowPorosityBase ( const InputParameters &  parameters)

Definition at line 19 of file PorousFlowPorosityBase.C.

20  : PorousFlowMaterialVectorBase(parameters),
21  _porosity(_nodal_material ? declareProperty<Real>("PorousFlow_porosity_nodal")
22  : declareProperty<Real>("PorousFlow_porosity_qp")),
23  _dporosity_dvar(_nodal_material
24  ? declareProperty<std::vector<Real>>("dPorousFlow_porosity_nodal_dvar")
25  : declareProperty<std::vector<Real>>("dPorousFlow_porosity_qp_dvar")),
27  _nodal_material
28  ? declareProperty<std::vector<RealGradient>>("dPorousFlow_porosity_nodal_dgradvar")
29  : declareProperty<std::vector<RealGradient>>("dPorousFlow_porosity_qp_dgradvar"))
30 {
31 }
MaterialProperty< std::vector< Real > > & _dporosity_dvar
d(porosity)/d(PorousFlow variable)
MaterialProperty< std::vector< RealGradient > > & _dporosity_dgradvar
d(porosity)/d(grad PorousFlow variable)
MaterialProperty< Real > & _porosity
computed porosity at the nodes or quadpoints
PorousFlowMaterialVectorBase(const InputParameters &parameters)

Member Data Documentation

MaterialProperty<std::vector<RealGradient> >& PorousFlowPorosityBase::_dporosity_dgradvar
protected
MaterialProperty<std::vector<Real> >& PorousFlowPorosityBase::_dporosity_dvar
protected
const unsigned int PorousFlowMaterialVectorBase::_num_components
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_phases
protectedinherited
const unsigned int PorousFlowMaterialVectorBase::_num_var
protectedinherited
MaterialProperty<Real>& PorousFlowPorosityBase::_porosity
protected

The documentation for this class was generated from the following files: