DerivativeMaterial child class to evaluate a parsed function for the free energy and automatically provide all derivatives. More...
#include <DerivativeTwoPhaseMaterial.h>
Public Member Functions | |
DerivativeTwoPhaseMaterial (const InputParameters ¶meters) | |
virtual void | initialSetup () override |
Protected Member Functions | |
virtual Real | computeF () override |
virtual Real | computeDF (unsigned int i_var) override |
virtual Real | computeD2F (unsigned int i_var, unsigned int j_var) override |
virtual Real | computeD3F (unsigned int i_var, unsigned int j_var, unsigned int k_var) override |
Protected Attributes | |
const VariableValue & | _eta |
Phase parameter (0=A-phase, 1=B-phase) More... | |
VariableName | _eta_name |
name of the order parameter variable More... | |
unsigned int | _eta_var |
libMesh variable number for eta More... | |
Real | _W |
Phase transformatuion energy barrier. More... | |
const MaterialProperty< Real > & | _prop_Fa |
Function value of the A and B phase. More... | |
const MaterialProperty< Real > & | _prop_Fb |
std::vector< const MaterialProperty< Real > * > | _prop_dFa |
Derivatives of Fa and Fb with respect to arg[i]. More... | |
std::vector< const MaterialProperty< Real > * > | _prop_dFb |
std::vector< std::vector< const MaterialProperty< Real > * > > | _prop_d2Fa |
Second derivatives of Fa and Fb. More... | |
std::vector< std::vector< const MaterialProperty< Real > * > > | _prop_d2Fb |
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > | _prop_d3Fa |
Third derivatives of Fa and Fb. More... | |
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > | _prop_d3Fb |
const MaterialProperty< Real > & | _h |
const MaterialProperty< Real > & | _dh |
const MaterialProperty< Real > & | _d2h |
const MaterialProperty< Real > & | _d3h |
const MaterialProperty< Real > & | _g |
const MaterialProperty< Real > & | _dg |
const MaterialProperty< Real > & | _d2g |
const MaterialProperty< Real > & | _d3g |
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 DerivativeTwoPhaseMaterial.h.
DerivativeTwoPhaseMaterial::DerivativeTwoPhaseMaterial | ( | const InputParameters & | parameters | ) |
Definition at line 45 of file DerivativeTwoPhaseMaterial.C.
|
overrideprotectedvirtual |
Definition at line 134 of file DerivativeTwoPhaseMaterial.C.
|
overrideprotectedvirtual |
Definition at line 151 of file DerivativeTwoPhaseMaterial.C.
|
overrideprotectedvirtual |
Definition at line 122 of file DerivativeTwoPhaseMaterial.C.
|
overrideprotectedvirtual |
|
overridevirtual |
Definition at line 109 of file DerivativeTwoPhaseMaterial.C.
|
protected |
Definition at line 60 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F().
|
protected |
Definition at line 52 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), and computeD3F().
|
protected |
Definition at line 61 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD3F().
|
protected |
Definition at line 53 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD3F().
|
protected |
Definition at line 59 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeDF().
|
protected |
Definition at line 51 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), and computeDF().
|
protected |
Phase parameter (0=A-phase, 1=B-phase)
Definition at line 40 of file DerivativeTwoPhaseMaterial.h.
|
protected |
name of the order parameter variable
Definition at line 43 of file DerivativeTwoPhaseMaterial.h.
|
protected |
libMesh variable number for eta
Definition at line 46 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), and computeDF().
|
protected |
g(eta) switching function
Definition at line 58 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeF().
|
protected |
h(eta) switching function
Definition at line 50 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), computeDF(), and computeF().
|
protected |
Second derivatives of Fa and Fb.
Definition at line 74 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), and DerivativeTwoPhaseMaterial().
|
protected |
Definition at line 74 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), and DerivativeTwoPhaseMaterial().
|
protected |
Third derivatives of Fa and Fb.
Definition at line 77 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD3F(), and DerivativeTwoPhaseMaterial().
|
protected |
Definition at line 77 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD3F(), and DerivativeTwoPhaseMaterial().
|
protected |
Derivatives of Fa and Fb with respect to arg[i].
Definition at line 71 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), computeDF(), and DerivativeTwoPhaseMaterial().
|
protected |
Definition at line 71 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), computeDF(), and DerivativeTwoPhaseMaterial().
|
protected |
Function value of the A and B phase.
Definition at line 68 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), computeDF(), and computeF().
|
protected |
Definition at line 68 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), computeDF(), and computeF().
|
protected |
Phase transformatuion energy barrier.
Definition at line 65 of file DerivativeTwoPhaseMaterial.h.
Referenced by computeD2F(), computeD3F(), computeDF(), and computeF().