PolycrystalColoringIC creates a polycrystal initial condition. More...
#include <PolycrystalColoringIC.h>
Public Member Functions | |
PolycrystalColoringIC (const InputParameters ¶meters) | |
virtual Real | value (const Point &p) override |
Protected Attributes | |
unsigned int | _op_index |
unsigned int | _phase |
const PolycrystalUserObjectBase & | _poly_ic_uo |
PolycrystalColoringIC creates a polycrystal initial condition.
With 2 Grains, _typ = 0 results in a circular inclusion grain and _type = 1 gives a bicrystal. With more than 2 grains, _typ = 0 gives set positions for 6 grains, _type = 1 gives hexagonal grains for 4 grains. _typ = 2 Gives a random voronoi structure
Definition at line 30 of file PolycrystalColoringIC.h.
PolycrystalColoringIC::PolycrystalColoringIC | ( | const InputParameters & | parameters | ) |
Definition at line 34 of file PolycrystalColoringIC.C.
|
overridevirtual |
Definition at line 42 of file PolycrystalColoringIC.C.
|
protected |
Definition at line 38 of file PolycrystalColoringIC.h.
Referenced by value().
|
protected |
Definition at line 39 of file PolycrystalColoringIC.h.
|
protected |
Definition at line 40 of file PolycrystalColoringIC.h.
Referenced by value().