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 libMesh::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 libMesh::PeriodicBoundaries *pb, unsigned int n_grains) |
AdjacencyMatrix< Real > | buildNodalGrainAdjacencyMatrix (const std::map< dof_id_type, unsigned int > &node_to_grain, MooseMesh &mesh, const libMesh::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 322 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 | ||
) |
unsigned int PolycrystalICTools::assignPointToGrain | ( | const Point & | p, |
const std::vector< Point > & | centerpoints, | ||
const MooseMesh & | mesh, | ||
const MooseVariable & | var, | ||
const Real | maxsize | ||
) |
PolycrystalICTools::AdjacencyMatrix< Real > PolycrystalICTools::buildElementalGrainAdjacencyMatrix | ( | const std::map< dof_id_type, unsigned int > & | element_to_grain, |
MooseMesh & | mesh, | ||
const libMesh::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 150 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 libMesh::PeriodicBoundaries * | pb, | ||
unsigned int | n_grains, | ||
bool | is_elemental | ||
) |
Definition at line 136 of file PolycrystalICTools.C.
PolycrystalICTools::AdjacencyMatrix< Real > PolycrystalICTools::buildNodalGrainAdjacencyMatrix | ( | const std::map< dof_id_type, unsigned int > & | node_to_grain, |
MooseMesh & | mesh, | ||
const libMesh::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 274 of file PolycrystalICTools.C.
Referenced by buildGrainAdjacencyMatrix().
std::string PolycrystalICTools::coloringAlgorithmDescriptions | ( | ) |
Definition at line 354 of file PolycrystalICTools.C.
MooseEnum PolycrystalICTools::coloringAlgorithms | ( | ) |
Definition at line 348 of file PolycrystalICTools.C.
const unsigned int PolycrystalICTools::HALO_THICKNESS = 4 |
Definition at line 30 of file PolycrystalICTools.C.
Referenced by buildElementalGrainAdjacencyMatrix().