22 "anisotropy_strength", 0.04,
"Strength of the anisotropy (typically < 0.05)");
23 params.
addParam<
unsigned int>(
"mode_number", 6,
"Mode number for anisotropy");
25 "reference_angle", 90,
"Reference angle for defining anisotropy in degrees");
26 params.
addParam<
Real>(
"eps_bar", 0.01,
"Average value of the interface parameter epsilon");
33 _delta(getParam<
Real>(
"anisotropy_strength")),
34 _j(getParam<unsigned
int>(
"mode_number")),
35 _theta0(getParam<
Real>(
"reference_angle")),
36 _eps_bar(getParam<
Real>(
"eps_bar")),
37 _eps(declareADProperty<
Real>(
"eps")),
38 _deps(declareADProperty<
Real>(
"deps")),
39 _op(adCoupledValue(
"op")),
40 _grad_op(adCoupledGradient(
"op"))
44 mooseError(
"ADInterfaceOrientationMaterial requires a two-dimensional mesh.");
57 n = std::max(-cutoff, std::min(
_grad_op[
_qp](0) / std::sqrt(nsq), cutoff));
ADMaterialProperty< Real > & _deps
const ADVariableGradient & _grad_op
Material to compute the angular orientation of order parameter interfaces.
virtual void computeQpProperties()
static InputParameters validParams()
virtual unsigned int dimension() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("PhaseFieldApp", ADInterfaceOrientationMaterial)
ADMaterialProperty< Real > & _eps
static InputParameters validParams()
void mooseError(Args &&... args) const
ADInterfaceOrientationMaterial(const InputParameters ¶meters)
void ErrorVector unsigned int