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 25 of file PrimaryDiffusion.h.

Constructor & Destructor Documentation

◆ PrimaryDiffusion()

PrimaryDiffusion::PrimaryDiffusion ( const InputParameters &  parameters)

Definition at line 23 of file PrimaryDiffusion.C.

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

Member Function Documentation

◆ computeQpJacobian()

Real PrimaryDiffusion::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 35 of file PrimaryDiffusion.C.

36 {
37  return _diffusivity[_qp] * Diffusion::computeQpJacobian();
38 }
const MaterialProperty< Real > & _diffusivity
Material property of dispersion-diffusion coefficient.

◆ computeQpResidual()

Real PrimaryDiffusion::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 29 of file PrimaryDiffusion.C.

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

Member Data Documentation

◆ _diffusivity

const MaterialProperty<Real>& PrimaryDiffusion::_diffusivity
protected

Material property of dispersion-diffusion coefficient.

Definition at line 35 of file PrimaryDiffusion.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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