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

#include <ADHeatConductionTimeDerivative.h>

Inheritance diagram for ADHeatConductionTimeDerivative< compute_stage >:
[legend]

Public Member Functions

 ADHeatConductionTimeDerivative (const InputParameters &parameters)
 

Protected Member Functions

virtual ADResidual precomputeQpResidual () override
 
const ADMaterialProperty (Real) &_specific_heat
 Specific heat material property. More...
 
const ADMaterialProperty (Real) &_density
 Density material property. More...
 

Protected Attributes

 usingTimeDerivativeMembers
 

Detailed Description

template<ComputeStage compute_stage>
class ADHeatConductionTimeDerivative< compute_stage >

Definition at line 15 of file ADHeatConductionTimeDerivative.h.

Constructor & Destructor Documentation

◆ ADHeatConductionTimeDerivative()

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

Definition at line 28 of file ADHeatConductionTimeDerivative.C.

30  : ADTimeDerivative<compute_stage>(parameters),
31  _specific_heat(adGetADMaterialProperty<Real>("specific_heat")),
32  _density(adGetADMaterialProperty<Real>("density_name"))
33 {
34 }

Member Function Documentation

◆ ADMaterialProperty() [1/2]

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

Specific heat material property.

◆ ADMaterialProperty() [2/2]

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

Density material property.

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADResidual ADHeatConductionTimeDerivative< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 38 of file ADHeatConductionTimeDerivative.C.

39 {
40  return _specific_heat[_qp] * _density[_qp] *
41  ADTimeDerivative<compute_stage>::precomputeQpResidual();
42 }

Member Data Documentation

◆ usingTimeDerivativeMembers

template<ComputeStage compute_stage>
ADHeatConductionTimeDerivative< compute_stage >::usingTimeDerivativeMembers
protected

Definition at line 34 of file ADHeatConductionTimeDerivative.h.


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