www.mooseframework.org
misc
include
kernels
ADThermoDiffusion.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "ADKernel.h"
13
14
template
<ComputeStage compute_stage>
15
class
ADThermoDiffusion
;
16
17
declareADValidParams
(
ADThermoDiffusion
);
18
19
template
<ComputeStage compute_stage>
20
class
ADThermoDiffusion
:
public
ADKernel<compute_stage>
21
{
22
public
:
23
ADThermoDiffusion
(
const
InputParameters & parameters);
24
25
protected
:
26
virtual
ADReal
computeQpResidual
()
override
;
27
28
const
ADVariableGradient &
_grad_temp
;
29
const
ADMaterialProperty
(Real) & _soret_coeff;
30
31
usingKernelMembers
;
32
};
33
ADThermoDiffusion::ADThermoDiffusion
ADThermoDiffusion(const InputParameters ¶meters)
Definition:
ADThermoDiffusion.C:25
ADThermoDiffusion
Definition:
ADThermoDiffusion.h:15
ADThermoDiffusion::_grad_temp
const ADVariableGradient & _grad_temp
Definition:
ADThermoDiffusion.h:28
ADThermoDiffusion::computeQpResidual
virtual ADReal computeQpResidual() override
Definition:
ADThermoDiffusion.C:34
declareADValidParams
declareADValidParams(ADThermoDiffusion)
ADThermoDiffusion::ADMaterialProperty
const ADMaterialProperty(Real) &_soret_coeff
ADThermoDiffusion::usingKernelMembers
usingKernelMembers
Definition:
ADThermoDiffusion.h:31
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16