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

Define the Kernel for a CoupledConvectionReactionSub operator that looks like: grad (diff * grad_u) More...

#include <PrimaryDiffusion.h>

Inheritance diagram for PrimaryDiffusion:
[legend]

Public Member Functions

 PrimaryDiffusion (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

const MaterialProperty< Real > & _diffusivity
 Material property of dispersion-diffusion coefficient. More...
 

Detailed Description

Define the Kernel for a CoupledConvectionReactionSub operator that looks like: grad (diff * grad_u)

Definition at line 22 of file PrimaryDiffusion.h.

Constructor & Destructor Documentation

PrimaryDiffusion::PrimaryDiffusion ( const InputParameters &  parameters)

Definition at line 18 of file PrimaryDiffusion.C.

19  : Diffusion(parameters), _diffusivity(getMaterialProperty<Real>("diffusivity"))
20 {
21 }
const MaterialProperty< Real > & _diffusivity
Material property of dispersion-diffusion coefficient.

Member Function Documentation

Real PrimaryDiffusion::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 30 of file PrimaryDiffusion.C.

31 {
32  return _diffusivity[_qp] * Diffusion::computeQpJacobian();
33 }
const MaterialProperty< Real > & _diffusivity
Material property of dispersion-diffusion coefficient.
Real PrimaryDiffusion::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 24 of file PrimaryDiffusion.C.

25 {
26  return _diffusivity[_qp] * Diffusion::computeQpResidual();
27 }
const MaterialProperty< Real > & _diffusivity
Material property of dispersion-diffusion coefficient.

Member Data Documentation

const MaterialProperty<Real>& PrimaryDiffusion::_diffusivity
protected

Material property of dispersion-diffusion coefficient.

Definition at line 32 of file PrimaryDiffusion.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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