Go to the documentation of this file.
19 InputParameters params = validParams<AuxKernel>();
20 params.addClassDescription(
"Project the DiscreteNucleationMap state onto an AuxVariable");
21 params.addRequiredParam<UserObjectName>(
"map",
"DiscreteNucleationMap user object");
22 params.addParam<Real>(
"no_nucleus_value", 0.0,
"Variable value indicating no nucleus is present");
23 params.addParam<Real>(
24 "nucleus_value", 1.0,
"Variable value indicating the presence of a nucleus");
31 _v0(getParam<Real>(
"no_nucleus_value")),
32 _v1(getParam<Real>(
"nucleus_value"))
35 paramError(
"variable",
"This kernel must operate on an elemental AuxVariable.");
This UserObject maintains a per QP map that indicates if a nucleus is present or not.
Project the DiscreteNucleationMap onto an AuxVariable field.
const Real _v0
Bounds for the returned values.
void precalculateValue() override
InputParameters validParams< DiscreteNucleationAux >()
const DiscreteNucleationMap & _map
UserObject providing a map of currently active nuclei.
const std::vector< Real > & nuclei(const Elem *) const
Real computeValue() override
DiscreteNucleationAux(const InputParameters ¶ms)
const std::vector< Real > * _nucleus
nucleus data for the current element
registerMooseObject("PhaseFieldApp", DiscreteNucleationAux)