Material class that creates the math free energy and its derivatives for use with CHParsed and SplitCHParsed.
More...
#include <MathFreeEnergy.h>
|
| virtual Real | computeF () |
| |
| virtual Real | computeDF (unsigned int j_var) |
| |
| virtual Real | computeD2F (unsigned int j_var, unsigned int k_var) |
| |
| virtual Real | computeD3F (unsigned int j_var, unsigned int k_var, unsigned int l_var) |
| |
|
| const VariableValue & | _c |
| | Coupled variable value for the concentration \( c \). More...
|
| |
| unsigned int | _c_var |
| |
Material class that creates the math free energy and its derivatives for use with CHParsed and SplitCHParsed.
\( F = \frac14(1 + c)^2(1 - c)^2 \).
Definition at line 24 of file MathFreeEnergy.h.
◆ MathFreeEnergy()
| MathFreeEnergy::MathFreeEnergy |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 25 of file MathFreeEnergy.C.
26 : DerivativeFunctionMaterialBase(parameters),
_c(coupledValue(
"c")),
_c_var(coupled(
"c"))
◆ computeD2F()
| Real MathFreeEnergy::computeD2F |
( |
unsigned int |
j_var, |
|
|
unsigned int |
k_var |
|
) |
| |
|
protectedvirtual |
◆ computeD3F()
| Real MathFreeEnergy::computeD3F |
( |
unsigned int |
j_var, |
|
|
unsigned int |
k_var, |
|
|
unsigned int |
l_var |
|
) |
| |
|
protectedvirtual |
◆ computeDF()
| Real MathFreeEnergy::computeDF |
( |
unsigned int |
j_var | ) |
|
|
protectedvirtual |
◆ computeF()
| Real MathFreeEnergy::computeF |
( |
| ) |
|
|
protectedvirtual |
Definition at line 31 of file MathFreeEnergy.C.
33 return 1.0 / 4.0 * (1.0 +
_c[_qp]) * (1.0 +
_c[_qp]) * (1.0 -
_c[_qp]) * (1.0 -
_c[_qp]);
◆ _c
| const VariableValue& MathFreeEnergy::_c |
|
private |
◆ _c_var
| unsigned int MathFreeEnergy::_c_var |
|
private |
The documentation for this class was generated from the following files: