Classes | |
class | AdjacencyMatrix |
Simple 2D block matrix indicating graph adjacency. More... | |
Functions | |
std::vector< unsigned int > | assignPointsToVariables (const std::vector< Point > ¢erpoints, const Real op_num, const MooseMesh &mesh, const MooseVariable &var) |
unsigned int | assignPointToGrain (const Point &p, const std::vector< Point > ¢erpoints, const MooseMesh &mesh, const MooseVariable &var, const Real maxsize) |
AdjacencyMatrix< Real > | buildGrainAdjacencyMatrix (const std::map< dof_id_type, unsigned int > &entity_to_grain, MooseMesh &mesh, const PeriodicBoundaries *pb, unsigned int n_grains, bool is_elemental) |
AdjacencyMatrix< Real > | buildElementalGrainAdjacencyMatrix (const std::map< dof_id_type, unsigned int > &element_to_grain, MooseMesh &mesh, const PeriodicBoundaries *pb, unsigned int n_grains) |
AdjacencyMatrix< Real > | buildNodalGrainAdjacencyMatrix (const std::map< dof_id_type, unsigned int > &node_to_grain, MooseMesh &mesh, const PeriodicBoundaries *pb, unsigned int n_grains) |
std::vector< unsigned int > | assignOpsToGrains (AdjacencyMatrix< Real > &adjacency_matrix, unsigned int n_grains, unsigned int n_ops, const MooseEnum &coloring_algorithm) |
MooseEnum | coloringAlgorithms () |
std::string | coloringAlgorithmDescriptions () |
Variables | |
const unsigned int | HALO_THICKNESS = 4 |
std::vector< unsigned int > PolycrystalICTools::assignOpsToGrains | ( | AdjacencyMatrix< Real > & | adjacency_matrix, |
unsigned int | n_grains, | ||
unsigned int | n_ops, | ||
const MooseEnum & | coloring_algorithm | ||
) |
Definition at line 319 of file PolycrystalICTools.C.
std::vector< unsigned int > PolycrystalICTools::assignPointsToVariables | ( | const std::vector< Point > & | centerpoints, |
const Real | op_num, | ||
const MooseMesh & | mesh, | ||
const MooseVariable & | var | ||
) |
Definition at line 48 of file PolycrystalICTools.C.
unsigned int PolycrystalICTools::assignPointToGrain | ( | const Point & | p, |
const std::vector< Point > & | centerpoints, | ||
const MooseMesh & | mesh, | ||
const MooseVariable & | var, | ||
const Real | maxsize | ||
) |
Definition at line 104 of file PolycrystalICTools.C.
PolycrystalICTools::AdjacencyMatrix< Real > PolycrystalICTools::buildElementalGrainAdjacencyMatrix | ( | const std::map< dof_id_type, unsigned int > & | element_to_grain, |
MooseMesh & | mesh, | ||
const PeriodicBoundaries * | pb, | ||
unsigned int | n_grains | ||
) |
We've found a grain neighbor interface. In order to assign order parameters though, we need to make sure that we build out a small buffer region to avoid literal "corner cases" where nodes on opposite corners of a QUAD end up with the same OP because those nodes are not nodal neighbors. To do that we'll build a halo region based on these interface nodes. For now, we need to record the nodes inside of the grain and those outside of the grain.
Definition at line 147 of file PolycrystalICTools.C.
Referenced by buildGrainAdjacencyMatrix().
PolycrystalICTools::AdjacencyMatrix< Real > PolycrystalICTools::buildGrainAdjacencyMatrix | ( | const std::map< dof_id_type, unsigned int > & | entity_to_grain, |
MooseMesh & | mesh, | ||
const PeriodicBoundaries * | pb, | ||
unsigned int | n_grains, | ||
bool | is_elemental | ||
) |
Definition at line 133 of file PolycrystalICTools.C.
PolycrystalICTools::AdjacencyMatrix< Real > PolycrystalICTools::buildNodalGrainAdjacencyMatrix | ( | const std::map< dof_id_type, unsigned int > & | node_to_grain, |
MooseMesh & | mesh, | ||
const PeriodicBoundaries * | pb, | ||
unsigned int | n_grains | ||
) |
We've found a grain neighbor interface. In order to assign order parameters though, we need to make sure that we build out a small buffer region to avoid literal "corner cases" where nodes on opposite corners of a QUAD end up with the same OP because those nodes are not nodal neighbors. To do that we'll build a halo region based on these interface nodes. For now, we need to record the nodes inside of the grain and those outside of the grain.
Definition at line 271 of file PolycrystalICTools.C.
Referenced by buildGrainAdjacencyMatrix().
std::string PolycrystalICTools::coloringAlgorithmDescriptions | ( | ) |
Definition at line 359 of file PolycrystalICTools.C.
MooseEnum PolycrystalICTools::coloringAlgorithms | ( | ) |
Definition at line 353 of file PolycrystalICTools.C.
const unsigned int PolycrystalICTools::HALO_THICKNESS = 4 |
Definition at line 27 of file PolycrystalICTools.C.
Referenced by buildElementalGrainAdjacencyMatrix().