Material class that creates regular solution free energy with the expression builder and uses automatic differentiation to get the derivatives \( F = \frac14 \omega c(1 - c) + k_bT (c\log c + (1 - c)\log(1 - c))\).
More...
#include <RegularSolutionFreeEnergy.h>
Material class that creates regular solution free energy with the expression builder and uses automatic differentiation to get the derivatives \( F = \frac14 \omega c(1 - c) + k_bT (c\log c + (1 - c)\log(1 - c))\).
Definition at line 26 of file RegularSolutionFreeEnergy.h.
◆ EBSubstitutionRuleList
◆ EBTermList
◆ EBTermNodeList
◆ RegularSolutionFreeEnergy()
RegularSolutionFreeEnergy::RegularSolutionFreeEnergy |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 29 of file RegularSolutionFreeEnergy.C.
30 : DerivativeParsedMaterialHelper(parameters),
33 _omega(getParam<Real>(
"omega")),
34 _kB(getParam<Real>(
"kB"))
36 EBFunction free_energy;
42 if (isParamValid(
"log_tol"))
43 free_energy.
substitute(EBLogPlogSubstitution(getParam<Real>(
"log_tol")));
46 functionParse(free_energy);
◆ BINARYFUNC_OP_IMPLEMENT() [1/5]
ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT |
( |
+ |
, |
|
|
ADD |
|
|
) |
| |
|
inherited |
◆ BINARYFUNC_OP_IMPLEMENT() [2/5]
SUB BINARYFUNC_OP_IMPLEMENT MUL ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT |
( |
/ |
, |
|
|
DIV |
|
|
) |
| |
|
inherited |
◆ BINARYFUNC_OP_IMPLEMENT() [3/5]
SUB BINARYFUNC_OP_IMPLEMENT MUL MOD ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT |
( |
| ) |
|
|
inherited |
◆ BINARYFUNC_OP_IMPLEMENT() [4/5]
SUB BINARYFUNC_OP_IMPLEMENT MUL MOD GREATER ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT |
( |
<= |
, |
|
|
LESSEQ |
|
|
) |
| |
|
inherited |
◆ BINARYFUNC_OP_IMPLEMENT() [5/5]
SUB BINARYFUNC_OP_IMPLEMENT MUL MOD GREATER GREATEREQ ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT |
( |
EQ |
| ) |
|
|
inherited |
◆ _c
EBTerm RegularSolutionFreeEnergy::_c |
|
protected |
◆ _kB
const Real RegularSolutionFreeEnergy::_kB |
|
protected |
◆ _omega
const Real RegularSolutionFreeEnergy::_omega |
|
protected |
◆ _T
EBTerm RegularSolutionFreeEnergy::_T |
|
protected |
The documentation for this class was generated from the following files: