25 "Random Voronoi tesselation polycrystal (used by PolycrystalVoronoiICAction)");
27 "User object generating a point to grain number mapping");
28 params.
addRequiredParam<
unsigned int>(
"op_index",
"The index for the current order parameter");
35 _op_index(getParam<unsigned
int>(
"op_index")),
registerMooseObject("PhaseFieldApp", PolycrystalColoringIC)
void ErrorVector unsigned int
const Node * _current_node
static InputParameters validParams()
PolycrystalColoringIC creates a polycrystal initial condition.
static InputParameters validParams()
virtual Real value(const Point &p) override
PolycrystalColoringIC(const InputParameters ¶meters)
const PolycrystalUserObjectBase & _poly_ic_uo
This object provides the base capability for creating proper polycrystal ICs.
virtual Real getNodalVariableValue(unsigned int op_index, const Node &n) const
Similarly to the getVariableValue method, this method also returns values but may be optimized for re...
virtual Real getVariableValue(unsigned int op_index, const Point &p) const =0
Returns the variable value for a given op_index and mesh point.