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 23 of file PorousFlowPorosityBase.h.

Constructor & Destructor Documentation

◆ PorousFlowPorosityBase()

PorousFlowPorosityBase::PorousFlowPorosityBase ( const InputParameters &  parameters)

Definition at line 22 of file PorousFlowPorosityBase.C.

23  : PorousFlowMaterialVectorBase(parameters),
24  _porosity(_nodal_material ? declareProperty<Real>("PorousFlow_porosity_nodal")
25  : declareProperty<Real>("PorousFlow_porosity_qp")),
26  _dporosity_dvar(_nodal_material
27  ? declareProperty<std::vector<Real>>("dPorousFlow_porosity_nodal_dvar")
28  : declareProperty<std::vector<Real>>("dPorousFlow_porosity_qp_dvar")),
30  _nodal_material
31  ? declareProperty<std::vector<RealGradient>>("dPorousFlow_porosity_nodal_dgradvar")
32  : declareProperty<std::vector<RealGradient>>("dPorousFlow_porosity_qp_dgradvar"))
33 {
34 }
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

◆ _dporosity_dgradvar

MaterialProperty<std::vector<RealGradient> >& PorousFlowPorosityBase::_dporosity_dgradvar
protected

◆ _dporosity_dvar

MaterialProperty<std::vector<Real> >& PorousFlowPorosityBase::_dporosity_dvar
protected

◆ _num_components

const unsigned int PorousFlowMaterialVectorBase::_num_components
protectedinherited

◆ _num_phases

const unsigned int PorousFlowMaterialVectorBase::_num_phases
protectedinherited

◆ _num_var

const unsigned int PorousFlowMaterialVectorBase::_num_var
protectedinherited

◆ _porosity

MaterialProperty<Real>& PorousFlowPorosityBase::_porosity
protected

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