www.mooseframework.org
phase_field
include
kernels
ADMatReaction.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
// Forward Declaration
15
template
<ComputeStage>
16
class
ADMatReaction
;
17
18
declareADValidParams
(
ADMatReaction
);
19
24
template
<ComputeStage compute_stage>
25
class
ADMatReaction
:
public
ADKernel<compute_stage>
26
{
27
public
:
28
ADMatReaction
(
const
InputParameters & parameters);
29
30
protected
:
31
virtual
ADReal
computeQpResidual
();
32
38
const
ADVariableValue &
_v
;
39
41
const
ADMaterialProperty
(Real) & _mob;
42
43
usingKernelMembers
;
44
};
ADMatReaction::ADMatReaction
ADMatReaction(const InputParameters ¶meters)
Definition:
ADMatReaction.C:26
ADMatReaction::_v
const ADVariableValue & _v
Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems,...
Definition:
ADMatReaction.h:38
ADMatReaction::ADMaterialProperty
const ADMaterialProperty(Real) &_mob
Reaction rate.
ADMatReaction::usingKernelMembers
usingKernelMembers
Definition:
ADMatReaction.h:43
declareADValidParams
declareADValidParams(ADMatReaction)
ADMatReaction::computeQpResidual
virtual ADReal computeQpResidual()
Definition:
ADMatReaction.C:35
ADMatReaction
This kernel adds to the residual a contribution of where is a material property and is a variable ...
Definition:
ADMatReaction.h:16
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16