Go to the documentation of this file.
12 #include "InputParameters.h"
38 std::size_t var_index = 0)
const = 0;
51 virtual unsigned int getFeatureVar(
unsigned int feature_id)
const = 0;
This class defines the interface for the GrainTracking objects.
virtual std::size_t getNumberActiveGrains() const =0
Returns the number of active grains current stored in the GrainTracker.
virtual bool doesFeatureIntersectBoundary(unsigned int grain_id) const =0
Returns a Boolean indicating whether this grain is in contact with any boundary of the domain.
InputParameters validParams< GrainTrackerInterface >()
virtual std::vector< unsigned int > getNewGrainIDs() const
This method returns all of the new ids generated in an invocation of the GrainTracker.
virtual std::size_t getTotalFeatureCount() const =0
Returns a number large enough to contain the largest ID for all grains in use.
virtual const std::vector< unsigned int > & getVarToFeatureVector(dof_id_type elem_id) const =0
Returns a list of active unique feature ids for a particular element.
virtual Real getEntityValue(dof_id_type entity_id, FeatureFloodCount::FieldType, std::size_t var_index=0) const =0
Accessor for retrieving either nodal or elemental information (unique grains or variable indicies)
virtual Point getGrainCentroid(unsigned int grain_id) const =0
Returns the centroid for the given grain number.
virtual unsigned int getFeatureVar(unsigned int feature_id) const =0
Return the variable index (typically order parameter) for the given feature.