PRISMS-PF Manual v3.0-pre
|
#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.
void SimplifiedGrainManipulator< dim >::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.
void SimplifiedGrainManipulator< dim >::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.