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 ADVectorResidual precomputeQpResidual () override
 
const ADMaterialProperty (Real) &_diffusivity
 

Protected Attributes

 usingKernelGradMembers
 

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 22 of file ADMatDiffusion.C.

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

Member Function Documentation

◆ ADMaterialProperty()

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

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADVectorResidual ADMatDiffusion< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 30 of file ADMatDiffusion.C.

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

Member Data Documentation

◆ usingKernelGradMembers

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

Definition at line 30 of file ADMatDiffusion.h.


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