Go to the source code of this file.
|
template<> |
void | dataStore (std::ostream &stream, FeatureFloodCount::FeatureData &feature, void *context) |
|
template<> |
void | dataStore (std::ostream &stream, BoundingBox &bbox, void *context) |
|
template<> |
void | dataLoad (std::istream &stream, FeatureFloodCount::FeatureData &feature, void *context) |
|
template<> |
void | dataLoad (std::istream &stream, BoundingBox &bbox, void *context) |
|
void | updateBBoxExtremesHelper (BoundingBox &bbox, const Point &node) |
|
void | updateBBoxExtremesHelper (BoundingBox &bbox, const Elem &elem) |
|
| registerMooseObject ("PhaseFieldApp", FeatureFloodCount) |
|
std::ostream & | operator<< (std::ostream &out, const FeatureFloodCount::FeatureData &feature) |
|
◆ dataLoad() [1/2]
Note that _local_ids is not loaded here. It's not needed for restart, and not needed during the parallel merge operation
Definition at line 63 of file FeatureFloodCount.C.
Referenced by FeatureFloodCount::deserialize(), XFEM::loadMaterialPropertiesForElementHelper(), and TEST().
Point _centroid
The centroid of the feature (average of coordinates from entities participating in the volume calcula...
std::vector< BoundingBox > _bboxes
The vector of bounding boxes completely enclosing this feature (multiple used with periodic constrain...
container_type _halo_ids
Holds the ids surrounding the feature.
container_type _ghosted_ids
Holds the ghosted ids for a feature (the ids which will be used for stitching.
container_type _disjoint_halo_ids
Holds halo ids that extend onto a non-topologically connected surface.
dof_id_type _min_entity_id
The minimum entity seen in the _local_ids, used for sorting features.
std::size_t _var_index
The Moose variable where this feature was found (often the "order parameter")
container_type _periodic_nodes
Holds the nodes that belong to the feature on a periodic boundary.
std::list< std::pair< processor_id_type, unsigned int > > _orig_ids
Original processor/local ids.
BoundaryIntersection _boundary_intersection
Enumeration indicating boundary intersection status.
Status _status
The status of a feature (used mostly in derived classes like the GrainTracker)
void loadHelper(std::istream &stream, P &data, void *context)
std::size_t _vol_count
The count of entities contributing to the volume calculation.
unsigned int _id
An ID for this feature.
◆ dataLoad() [2/2]
template<>
void dataLoad |
( |
std::istream & |
stream, |
|
|
BoundingBox & |
bbox, |
|
|
void * |
context |
|
) |
| |
Definition at line 86 of file FeatureFloodCount.C.
void loadHelper(std::istream &stream, P &data, void *context)
◆ dataStore() [1/2]
Note that _local_ids is not stored here. It's not needed for restart, and not needed during the parallel merge operation
Definition at line 32 of file FeatureFloodCount.C.
Referenced by FeatureFloodCount::serialize(), XFEM::storeMaterialPropertiesForElementHelper(), and TEST().
Point _centroid
The centroid of the feature (average of coordinates from entities participating in the volume calcula...
std::vector< BoundingBox > _bboxes
The vector of bounding boxes completely enclosing this feature (multiple used with periodic constrain...
container_type _halo_ids
Holds the ids surrounding the feature.
container_type _ghosted_ids
Holds the ghosted ids for a feature (the ids which will be used for stitching.
container_type _disjoint_halo_ids
Holds halo ids that extend onto a non-topologically connected surface.
void storeHelper(std::ostream &stream, P &data, void *context)
dof_id_type _min_entity_id
The minimum entity seen in the _local_ids, used for sorting features.
std::size_t _var_index
The Moose variable where this feature was found (often the "order parameter")
container_type _periodic_nodes
Holds the nodes that belong to the feature on a periodic boundary.
std::list< std::pair< processor_id_type, unsigned int > > _orig_ids
Original processor/local ids.
BoundaryIntersection _boundary_intersection
Enumeration indicating boundary intersection status.
Status _status
The status of a feature (used mostly in derived classes like the GrainTracker)
std::size_t _vol_count
The count of entities contributing to the volume calculation.
unsigned int _id
An ID for this feature.
◆ dataStore() [2/2]
template<>
void dataStore |
( |
std::ostream & |
stream, |
|
|
BoundingBox & |
bbox, |
|
|
void * |
context |
|
) |
| |
Definition at line 55 of file FeatureFloodCount.C.
void storeHelper(std::ostream &stream, P &data, void *context)
◆ operator<<()
Definition at line 2186 of file FeatureFloodCount.C.
2188 static const bool debug =
true;
2190 out <<
"Grain ID: ";
2198 out <<
"\nGhosted Entities: ";
2200 out << ghosted_id <<
" ";
2202 out <<
"\nLocal Entities: ";
2204 out << local_id <<
" ";
2206 out <<
"\nHalo Entities: ";
2208 out << halo_id <<
" ";
2210 out <<
"\nPeriodic Node IDs: ";
2212 out << periodic_node <<
" ";
2216 for (
const auto & bbox : feature.
_bboxes)
2218 out <<
"\nMax: " << bbox.max() <<
" Min: " << bbox.min();
2221 out <<
"\nStatus: ";
2233 out <<
"\nOrig IDs (rank, index): ";
2234 for (
const auto & orig_pair : feature.
_orig_ids)
2235 out <<
'(' << orig_pair.first <<
", " << orig_pair.second <<
") ";
2239 out <<
"\n" << std::endl;
std::vector< BoundingBox > _bboxes
The vector of bounding boxes completely enclosing this feature (multiple used with periodic constrain...
container_type _halo_ids
Holds the ids surrounding the feature.
container_type _ghosted_ids
Holds the ghosted ids for a feature (the ids which will be used for stitching.
dof_id_type _min_entity_id
The minimum entity seen in the _local_ids, used for sorting features.
std::size_t _var_index
The Moose variable where this feature was found (often the "order parameter")
container_type _periodic_nodes
Holds the nodes that belong to the feature on a periodic boundary.
static const unsigned int invalid_id
container_type _local_ids
Holds the local ids in the interior of a feature.
std::list< std::pair< processor_id_type, unsigned int > > _orig_ids
Original processor/local ids.
Status _status
The status of a feature (used mostly in derived classes like the GrainTracker)
unsigned int _id
An ID for this feature.
◆ registerMooseObject()
◆ updateBBoxExtremesHelper() [1/2]
void updateBBoxExtremesHelper |
( |
BoundingBox & |
bbox, |
|
|
const Point & |
node |
|
) |
| |
◆ updateBBoxExtremesHelper() [2/2]
void updateBBoxExtremesHelper |
( |
BoundingBox & |
bbox, |
|
|
const Elem & |
elem |
|
) |
| |
Definition at line 2259 of file FeatureFloodCount.C.
2261 for (
const auto node_n :
make_range(elem.n_nodes()))
IntRange< T > make_range(T beg, T end)
void updateBBoxExtremesHelper(BoundingBox &bbox, const Point &node)