DerivativeMaterial child class to evaluate a parsed function for the free energy and automatically provide all derivatives. More...
#include <DerivativeMultiPhaseBase.h>
Public Member Functions | |
DerivativeMultiPhaseBase (const InputParameters ¶meters) | |
virtual void | initialSetup () |
Protected Member Functions | |
virtual Real | computeF () |
Protected Attributes | |
std::vector< int > | _eta_index |
If the variable a non-conserved OP this array holds the index into the etas parameter vector for a given arg index, otherwise it holds -1. More... | |
std::vector< VariableValue * > | _etas |
Phase parameter (0=A-phase, 1=B-phase) More... | |
unsigned int | _num_etas |
name of the order parameter variable More... | |
std::vector< VariableName > | _eta_names |
std::vector< unsigned int > | _eta_vars |
std::vector< MaterialPropertyName > | _fi_names |
phase derivative material names More... | |
unsigned int | _num_fi |
std::vector< const MaterialProperty< Real > * > | _prop_Fi |
Function value of the i phase. More... | |
std::vector< std::vector< const MaterialProperty< Real > * > > | _prop_dFi |
Derivatives of Fi w.r.t. arg[i]. More... | |
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > | _prop_d2Fi |
Second derivatives of Fi. More... | |
std::vector< std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > > | _prop_d3Fi |
Third derivatives of Fi. More... | |
std::vector< MaterialPropertyName > | _hi_names |
phase switching function names More... | |
unsigned int | _num_hi |
std::vector< const MaterialProperty< Real > * > | _hi |
Switching functions. More... | |
MaterialPropertyName | _g_name |
Barrier function name. More... | |
const MaterialProperty< Real > & | _g |
Barrier function \( g(\eta_0, \eta_1, \dots, \eta_{n-1}) \). More... | |
std::vector< const MaterialProperty< Real > * > | _dg |
Barrier function derivatives. More... | |
std::vector< std::vector< const MaterialProperty< Real > * > > | _d2g |
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > | _d3g |
Real | _W |
Phase transformation energy barrier. More... | |
DerivativeMaterial child class to evaluate a parsed function for the free energy and automatically provide all derivatives.
This requires the autodiff patch (https://github.com/libMesh/libmesh/pull/238) to Function Parser in libmesh.
Definition at line 26 of file DerivativeMultiPhaseBase.h.
DerivativeMultiPhaseBase::DerivativeMultiPhaseBase | ( | const InputParameters & | parameters | ) |
Definition at line 39 of file DerivativeMultiPhaseBase.C.
|
protectedvirtual |
|
virtual |
Definition at line 133 of file DerivativeMultiPhaseBase.C.
|
protected |
Definition at line 81 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), and DerivativeMultiPhaseBase().
|
protected |
Definition at line 82 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD3F(), and DerivativeMultiPhaseBase().
|
protected |
Barrier function derivatives.
Definition at line 80 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeDF(), and DerivativeMultiPhaseBase().
|
protected |
If the variable a non-conserved OP this array holds the index into the etas parameter vector for a given arg index, otherwise it holds -1.
Definition at line 40 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), DerivativeMultiPhaseMaterial::computeDF(), and DerivativeMultiPhaseBase().
|
protected |
Definition at line 47 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseBase(), and DerivativeMultiPhaseMaterial::DerivativeMultiPhaseMaterial().
|
protected |
Definition at line 48 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseBase().
|
protected |
Phase parameter (0=A-phase, 1=B-phase)
Definition at line 43 of file DerivativeMultiPhaseBase.h.
|
protected |
phase derivative material names
Definition at line 51 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseBase(), and initialSetup().
|
protected |
Barrier function \( g(\eta_0, \eta_1, \dots, \eta_{n-1}) \).
Definition at line 77 of file DerivativeMultiPhaseBase.h.
Referenced by computeF().
|
protected |
Barrier function name.
Definition at line 74 of file DerivativeMultiPhaseBase.h.
|
protected |
Switching functions.
Definition at line 71 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), DerivativeMultiPhaseMaterial::computeDF(), computeF(), and DerivativeMultiPhaseBase().
|
protected |
phase switching function names
Definition at line 67 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseBase(), and DerivativeMultiPhaseMaterial::DerivativeMultiPhaseMaterial().
|
protected |
name of the order parameter variable
Definition at line 46 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseBase(), and DerivativeMultiPhaseMaterial::DerivativeMultiPhaseMaterial().
|
protected |
Definition at line 52 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), DerivativeMultiPhaseMaterial::computeDF(), computeF(), DerivativeMultiPhaseBase(), and initialSetup().
|
protected |
Definition at line 68 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseBase(), and DerivativeMultiPhaseMaterial::DerivativeMultiPhaseMaterial().
|
protected |
Second derivatives of Fi.
Definition at line 61 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), and DerivativeMultiPhaseBase().
|
protected |
Third derivatives of Fi.
Definition at line 64 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD3F(), and DerivativeMultiPhaseBase().
|
protected |
Derivatives of Fi w.r.t. arg[i].
Definition at line 58 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), DerivativeMultiPhaseMaterial::computeDF(), and DerivativeMultiPhaseBase().
|
protected |
Function value of the i phase.
Definition at line 55 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), DerivativeMultiPhaseMaterial::computeDF(), computeF(), and DerivativeMultiPhaseBase().
|
protected |
Phase transformation energy barrier.
Definition at line 85 of file DerivativeMultiPhaseBase.h.
Referenced by DerivativeMultiPhaseMaterial::computeD2F(), DerivativeMultiPhaseMaterial::computeD3F(), DerivativeMultiPhaseMaterial::computeDF(), and computeF().