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

#include <ADSoretCoeffTest.h>

Inheritance diagram for ADSoretCoeffTest< compute_stage >:
[legend]

Public Member Functions

 ADSoretCoeffTest (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties ()
 
 ADMaterialProperty (Real) &_soret_coeff
 

Protected Attributes

const ADVariableValue & _coupled_var
 
const ADVariableValue & _temp
 
 usingMaterialMembers
 

Detailed Description

template<ComputeStage compute_stage>
class ADSoretCoeffTest< compute_stage >

Definition at line 15 of file ADSoretCoeffTest.h.

Constructor & Destructor Documentation

◆ ADSoretCoeffTest()

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

Definition at line 18 of file ADSoretCoeffTest.C.

19  : ADMaterial<compute_stage>(parameters),
20  _coupled_var(adCoupledValue("coupled_var")),
21  _temp(adCoupledValue("temperature")),
22  _soret_coeff(adDeclareADProperty<Real>("soret_coefficient"))
23 {
24 }
const ADVariableValue & _temp
const ADVariableValue & _coupled_var

Member Function Documentation

◆ ADMaterialProperty()

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

◆ computeQpProperties()

template<ComputeStage compute_stage>
void ADSoretCoeffTest< compute_stage >::computeQpProperties ( )
protectedvirtual

Definition at line 28 of file ADSoretCoeffTest.C.

29 {
30  _soret_coeff[_qp] = _coupled_var[_qp] / _temp[_qp] / _temp[_qp];
31 }
const ADVariableValue & _temp
const ADVariableValue & _coupled_var

Member Data Documentation

◆ _coupled_var

template<ComputeStage compute_stage>
const ADVariableValue& ADSoretCoeffTest< compute_stage >::_coupled_var
protected

Definition at line 28 of file ADSoretCoeffTest.h.

◆ _temp

template<ComputeStage compute_stage>
const ADVariableValue& ADSoretCoeffTest< compute_stage >::_temp
protected

Definition at line 29 of file ADSoretCoeffTest.h.

◆ usingMaterialMembers

template<ComputeStage compute_stage>
ADSoretCoeffTest< compute_stage >::usingMaterialMembers
protected

Definition at line 33 of file ADSoretCoeffTest.h.


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