Go to the documentation of this file.
14 #include "DelimitedFileReader.h"
38 std::vector<unsigned int> & grains)
const override;
39 virtual Real
getVariableValue(
unsigned int op_index,
const Point & p)
const override;
std::vector< Point > _centerpoints
x,y,z coordinates of circle centers
PolycrystalCircles creates a polycrystal made up of circles.
std::vector< Real > _radii
Radius for each circular grain created.
const bool _columnar_3D
Whether to use columns or spheres in 3D geometries.
Real computeDiffuseInterface(const Point &p, const unsigned int &i) const
virtual void precomputeGrainStructure() override
This callback is triggered after the object is initialized and may be optionally overridden to do pre...
virtual unsigned int getNumGrains() const override
Must be overridden by the deriving class to provide the number of grains in the polycrystal structure...
virtual void getGrainsBasedOnPoint(const Point &point, std::vector< unsigned int > &grains) const override
Method for retrieving active grain IDs based on some point in the mesh.
This object provides the base capability for creating proper polycrystal ICs.
virtual Real getVariableValue(unsigned int op_index, const Point &p) const override
Returns the variable value for a given op_index and mesh point.
PolycrystalCircles(const InputParameters ¶meters)
unsigned int _grain_num
Number of crystal grains to create.
const Real _int_width
Interfacial width.
InputParameters validParams< PolycrystalCircles >()