www.mooseframework.org
phase_field
include
materials
ADMathFreeEnergy.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 "ADMaterial.h"
13
#include "DerivativeMaterialPropertyNameInterface.h"
14
15
// Forward Declarations
16
template
<ComputeStage>
17
class
ADMathFreeEnergy
;
18
19
declareADValidParams
(
ADMathFreeEnergy
);
20
25
template
<ComputeStage compute_stage>
26
class
ADMathFreeEnergy
:
public
ADMaterial<compute_stage>,
27
public
DerivativeMaterialPropertyNameInterface
28
{
29
public
:
30
ADMathFreeEnergy
(
const
InputParameters & parameters);
31
32
protected
:
33
virtual
void
computeQpProperties
();
34
36
const
ADVariableValue &
_c
;
37
39
const
MaterialPropertyName
_f_name
;
40
42
ADMaterialProperty
(Real) & _prop_F;
43
45
ADMaterialProperty
(Real) & _prop_dFdc;
46
47
usingMaterialMembers
;
48
};
49
ADMathFreeEnergy
Material class that creates the math free energy and its derivatives for use with ADSplitCHParsed.
Definition:
ADMathFreeEnergy.h:17
declareADValidParams
declareADValidParams(ADMathFreeEnergy)
ADMathFreeEnergy::_f_name
const MaterialPropertyName _f_name
property name
Definition:
ADMathFreeEnergy.h:39
ADMathFreeEnergy::_c
const ADVariableValue & _c
Coupled variable value for the concentration .
Definition:
ADMathFreeEnergy.h:36
ADMathFreeEnergy::computeQpProperties
virtual void computeQpProperties()
Definition:
ADMathFreeEnergy.C:35
ADMathFreeEnergy::ADMaterialProperty
ADMaterialProperty(Real) &_prop_F
function value
ADMathFreeEnergy::ADMathFreeEnergy
ADMathFreeEnergy(const InputParameters ¶meters)
Definition:
ADMathFreeEnergy.C:23
ADMathFreeEnergy::usingMaterialMembers
usingMaterialMembers
Definition:
ADMathFreeEnergy.h:47
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16