#include <ACBarrierFunction.h>
Definition at line 63 of file ACBarrierFunction.h.
◆ computeDFDOP()
| ADReal ADACBarrierFunction::computeDFDOP |
( |
| ) |
|
|
protectedvirtual |
Definition at line 76 of file ACBarrierFunction.C.
77{
78 ADReal f0 = 0.25 + 0.25 * _u[_qp] * _u[_qp] * _u[_qp] * _u[_qp] - 0.5 * _u[_qp] * _u[_qp];
79 ADReal sum_etaj = _u[_qp] * _u[_qp];
80
81 for (unsigned int i = 0; i < _op_num; ++i)
82 {
83 for (unsigned int j = i + 1; j < _op_num; ++j)
84 sum_etaj += (*_vals[j])[_qp] * (*_vals[j])[_qp];
85
86 f0 += 0.25 * Utility::pow<4>((*_vals[i])[_qp]) - 0.5 * Utility::pow<2>((*_vals[i])[_qp]);
87 f0 += sum_etaj * Utility::pow<2>((*_vals[i])[_qp]) *
_gamma[_qp];
88 }
90}
DualNumber< Real, DNDerivativeType, true > ADReal
const GenericMaterialProperty< Real, is_ad > & _dmudvar
const GenericMaterialProperty< Real, is_ad > & _gamma
◆ validParams()
Definition at line 27 of file ACBarrierFunction.C.
19{
22 "gamma", "The interface profile coefficient to use with the kernel");
24 return params;
25}
typename std::conditional< is_ad, ADGrainGrowthBase, ACGrGrBase >::type ACBarrierFunctionBase
Several kernels use a material property called mu.
◆ _dmudvar
◆ _gamma
◆ _gamma_name
◆ _uname
The documentation for this class was generated from the following files: