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

Define the Kernel for a CoupledConvectionReactionSub operator that looks like: storage * delta pressure / delta t. More...

#include <PrimaryTimeDerivative.h>

Inheritance diagram for PrimaryTimeDerivative:
[legend]

Public Member Functions

 PrimaryTimeDerivative (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual () override
 
virtual Real computeQpJacobian () override
 

Protected Attributes

const MaterialProperty< Real > & _porosity
 Material property of porosity. More...
 

Detailed Description

Define the Kernel for a CoupledConvectionReactionSub operator that looks like: storage * delta pressure / delta t.

Definition at line 22 of file PrimaryTimeDerivative.h.

Constructor & Destructor Documentation

PrimaryTimeDerivative::PrimaryTimeDerivative ( const InputParameters &  parameters)

Definition at line 18 of file PrimaryTimeDerivative.C.

19  : TimeDerivative(parameters), _porosity(getMaterialProperty<Real>("porosity"))
20 {
21 }
const MaterialProperty< Real > & _porosity
Material property of porosity.

Member Function Documentation

Real PrimaryTimeDerivative::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 30 of file PrimaryTimeDerivative.C.

31 {
32  return _porosity[_qp] * TimeDerivative::computeQpJacobian();
33 }
const MaterialProperty< Real > & _porosity
Material property of porosity.
Real PrimaryTimeDerivative::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 24 of file PrimaryTimeDerivative.C.

25 {
26  return _porosity[_qp] * TimeDerivative::computeQpResidual();
27 }
const MaterialProperty< Real > & _porosity
Material property of porosity.

Member Data Documentation

const MaterialProperty<Real>& PrimaryTimeDerivative::_porosity
protected

Material property of porosity.

Definition at line 32 of file PrimaryTimeDerivative.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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