www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ADMatDiffusion< compute_stage > Class Template Reference

#include <ADMatDiffusion.h>

Inheritance diagram for ADMatDiffusion< compute_stage >:
[legend]

Public Member Functions

 ADMatDiffusion (const InputParameters &parameters)
 

Protected Member Functions

virtual ADResidual computeQpResidual () override
 
const ADMaterialProperty (Real) &_diffusivity
 

Protected Attributes

 usingKernelMembers
 

Detailed Description

template<ComputeStage compute_stage>
class ADMatDiffusion< compute_stage >

Definition at line 15 of file ADMatDiffusion.h.

Constructor & Destructor Documentation

◆ ADMatDiffusion()

template<ComputeStage compute_stage>
ADMatDiffusion< compute_stage >::ADMatDiffusion ( const InputParameters &  parameters)

Definition at line 21 of file ADMatDiffusion.C.

22  : ADDiffusion<compute_stage>(parameters),
23  _diffusivity(adGetADMaterialProperty<Real>("diffusivity"))
24 {
25 }

Member Function Documentation

◆ ADMaterialProperty()

template<ComputeStage compute_stage>
const ADMatDiffusion< compute_stage >::ADMaterialProperty ( Real  ) &
protected

◆ computeQpResidual()

template<ComputeStage compute_stage>
ADResidual ADMatDiffusion< compute_stage >::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 29 of file ADMatDiffusion.C.

30 {
31  return _diffusivity[_qp] * ADDiffusion<compute_stage>::computeQpResidual();
32 }

Member Data Documentation

◆ usingKernelMembers

template<ComputeStage compute_stage>
ADMatDiffusion< compute_stage >::usingKernelMembers
protected

Definition at line 30 of file ADMatDiffusion.h.


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