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 computeQpResidual () override
 

Protected Attributes

const MaterialProperty< Real > & _specific_heat
 Specific heat material property. More...
 
const MaterialProperty< Real > & _density
 Density material property. More...
 
 usingTimeKernelMembers
 

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 }
const MaterialProperty< Real > & _specific_heat
Specific heat material property.
const MaterialProperty< Real > & _density
Density material property.

Member Function Documentation

◆ computeQpResidual()

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

Definition at line 38 of file ADHeatConductionTimeDerivative.C.

39 {
40  return _specific_heat[_qp] * _density[_qp] * ADTimeDerivative<compute_stage>::computeQpResidual();
41 }
const MaterialProperty< Real > & _specific_heat
Specific heat material property.
const MaterialProperty< Real > & _density
Density material property.

Member Data Documentation

◆ _density

template<ComputeStage compute_stage>
const MaterialProperty<Real>& ADHeatConductionTimeDerivative< compute_stage >::_density
protected

Density material property.

Definition at line 32 of file ADHeatConductionTimeDerivative.h.

◆ _specific_heat

template<ComputeStage compute_stage>
const MaterialProperty<Real>& ADHeatConductionTimeDerivative< compute_stage >::_specific_heat
protected

Specific heat material property.

Definition at line 29 of file ADHeatConductionTimeDerivative.h.

◆ usingTimeKernelMembers

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

Definition at line 34 of file ADHeatConductionTimeDerivative.h.


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