www.mooseframework.org
Classes | Functions
DiscreteNucleationMap.h File Reference

Go to the source code of this file.

Classes

class  DiscreteNucleationMap
 This UserObject maintains a per QP map that indicates if a nucleus is present or not. More...
 

Functions

template<>
InputParameters validParams< DiscreteNucleationMap > ()
 

Function Documentation

◆ validParams< DiscreteNucleationMap >()

template<>
InputParameters validParams< DiscreteNucleationMap > ( )

Definition at line 19 of file DiscreteNucleationMap.C.

20 {
21  InputParameters params = validParams<ElementUserObject>();
22  params.addClassDescription("Generates a spatial smoothed map of all nucleation sites with the "
23  "data of the DiscreteNucleationInserter for use by the "
24  "DiscreteNucleation material.");
25  params.addParam<Real>("radius", 0.0, "Radius for the inserted nuclei");
26  params.addParam<Real>("int_width", 0.0, "Nucleus interface width for smooth nuclei");
27  params.addRequiredParam<UserObjectName>("inserter", "DiscreteNucleationInserter user object");
28  params.addCoupledVar("periodic",
29  "Use the periodicity settings of this variable to populate the grain map");
30  // the mapping needs to run at timestep begin, which is after the adaptivity
31  // run of the previous timestep.
32  params.set<ExecFlagEnum>("execute_on") = EXEC_TIMESTEP_BEGIN;
33  return params;
34 }