Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ADMatHeatSource< compute_stage > Class Template Reference

#include <ADMatHeatSource.h>

Inheritance diagram for ADMatHeatSource< compute_stage >:

Public Member Functions

 ADMatHeatSource (const InputParameters &parameters)

Protected Member Functions

virtual ADResidual computeQpResidual ()
const ADMaterialProperty (Real) &_material_property

Protected Attributes

const Real _scalar

Detailed Description

template<ComputeStage compute_stage>
class ADMatHeatSource< compute_stage >

Definition at line 15 of file ADMatHeatSource.h.

Constructor & Destructor Documentation

◆ ADMatHeatSource()

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

Definition at line 23 of file ADMatHeatSource.C.

24  : ADKernel<compute_stage>(parameters),
25  _scalar(adGetParam<Real>("scalar")),
26  _material_property(adGetADMaterialProperty<Real>("material_property"))
27 {
28 }
const Real _scalar

Member Function Documentation

◆ ADMaterialProperty()

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

◆ computeQpResidual()

template<ComputeStage compute_stage>
ADResidual ADMatHeatSource< compute_stage >::computeQpResidual ( )

Definition at line 32 of file ADMatHeatSource.C.

33 {
34  return -_scalar * _material_property[_qp] * _test[_i][_qp];
35 }
const Real _scalar

Member Data Documentation

◆ _scalar

template<ComputeStage compute_stage>
const Real ADMatHeatSource< compute_stage >::_scalar

Definition at line 28 of file ADMatHeatSource.h.

◆ usingKernelMembers

template<ComputeStage compute_stage>
ADMatHeatSource< compute_stage >::usingKernelMembers

Definition at line 31 of file ADMatHeatSource.h.

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