#include <ACBarrierFunction.h>
Definition at line 63 of file ACBarrierFunction.h.
◆ computeDFDOP()
ADReal ADACBarrierFunction::computeDFDOP |
( |
| ) |
|
|
protectedvirtual |
Definition at line 76 of file ACBarrierFunction.C.
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];
81 for (
unsigned int i = 0; i < _op_num; ++i)
83 for (
unsigned int j = i + 1;
j < _op_num; ++
j)
84 sum_etaj += (*_vals[
j])[_qp] * (*_vals[
j])[_qp];
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];
DualNumber< Real, DNDerivativeType, true > ADReal
const GenericMaterialProperty< Real, is_ad > & _gamma
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
const GenericMaterialProperty< Real, is_ad > & _dmudvar
◆ validParams()
Definition at line 18 of file ACBarrierFunction.C.
22 "gamma",
"The interface profile coefficient to use with the kernel");
InputParameters validParams()
◆ _dmudvar
◆ _gamma
◆ _gamma_name
◆ _uname
The documentation for this class was generated from the following files: