#include <SimplifiedGrainRepresentation.h>
Public Member Functions | |
void | reassignGrains (std::vector< SimplifiedGrainRepresentation< dim >> &grain_representations, double buffer_distance, std::vector< unsigned int > order_parameter_id_list) |
void | transferGrainIds (const std::vector< SimplifiedGrainRepresentation< dim >> &old_grain_representations, std::vector< SimplifiedGrainRepresentation< dim >> &new_grain_representations) const |
This class contains methods to make changes to lists of SimplifiedGrainRepresentation objects to aid in order parameter remapping. Currently, this is a stub class containing two unrelated methods and no internal members. If this stays the case, this class may be absorbed into another one.
Definition at line 118 of file SimplifiedGrainRepresentation.h.
void reassignGrains | ( | std::vector< SimplifiedGrainRepresentation< dim >> & | grain_representations, |
double | buffer_distance, | ||
std::vector< unsigned int > | order_parameter_id_list | ||
) |
This method checks for collisions between SimplifiedGrainRepresentation objects with the same order parameter and reassigns them, if needed.
Definition at line 111 of file SimplifiedGrainRepresentation.cc.
void transferGrainIds | ( | const std::vector< SimplifiedGrainRepresentation< dim >> & | old_grain_representations, |
std::vector< SimplifiedGrainRepresentation< dim >> & | new_grain_representations | ||
) | const |
This method checks the centers of two lists of SimplifiedGrainRepresentation objects from different times in the simulation and reassigns the grain ids so that they consistently refer to the same grains.
Definition at line 184 of file SimplifiedGrainRepresentation.cc.