![]() |
CoMMA 1.3.2
A geometric agglomerator for unstructured meshes
|
Functor performing the one-point initialization of a seeds pool. More...
#include <Seeds_Pool.h>
Public Types | |
| using | BaseClass = SPInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > |
| Parent class. More... | |
| using | CoMMAPairType = std::pair< CoMMAIndexType, CoMMAWeightType > |
| Type of pair. More... | |
| using | CoMMAQueueType = std::deque< CoMMAIndexType > |
| Type of queue which holds seeds. More... | |
Public Types inherited from comma::SPInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > | |
| using | CoMMAPairType = std::pair< CoMMAIndexType, CoMMAWeightType > |
| Type of pair. More... | |
| using | CoMMAQueueType = std::deque< CoMMAIndexType > |
| Type of queue which holds seeds. More... | |
| using | CoMMASetOfPairType = std::set< CoMMAPairType, CustomPairGreaterFunctor< CoMMAPairType > > |
| Type of set of pairs. More... | |
Public Member Functions | |
| SPOnePointInitializator () | |
| Constructor. More... | |
| ~SPOnePointInitializator () override=default | |
| Destructor. More... | |
| void | operator() (const std::vector< CoMMAWeightType > &priority_weights, const std::vector< CoMMAIntType > &n_bnd_faces, const CoMMAIntType max_bnd, CoMMAQueueType &queue) override |
| Initialize a queue of a seeds pool. More... | |
Public Member Functions inherited from comma::SPInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > | |
| SPInitializator ()=default | |
| Constructor. More... | |
| virtual | ~SPInitializator ()=default |
| Destructor. More... | |
| virtual void | operator() (const std::vector< CoMMAWeightType > &priority_weights, const std::vector< CoMMAIntType > &n_bnd_faces, const CoMMAIntType max_bnd, CoMMAQueueType &queue)=0 |
| Initialize a queue of a seeds pool. More... | |
Functor performing the one-point initialization of a seeds pool.
| CoMMAIndexType | the CoMMA index type for the global index of the mesh |
| CoMMAWeightType | the CoMMA weight type for the weights (volume or area) of the nodes or edges of the Mesh |
| CoMMAIntType | the CoMMA type for integers |
| using comma::SPOnePointInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::BaseClass = SPInitializator<CoMMAIndexType, CoMMAWeightType, CoMMAIntType> |
Parent class.
| using comma::SPInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::CoMMAPairType = std::pair<CoMMAIndexType, CoMMAWeightType> |
Type of pair.
| using comma::SPInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::CoMMAQueueType = std::deque<CoMMAIndexType> |
Type of queue which holds seeds.
|
inline |
Constructor.
|
overridedefault |
Destructor.
|
inlineoverridevirtual |
Initialize a queue of a seeds pool.
| [in] | priority_weights | Weights used to set the order of the seed to choose |
| [in] | n_bnd_faces | Vector telling how many boundary faces each cell has |
| [in] | max_bnd | Reference value for boundary faces: only cells with boundaries higher than this are considered |
| [out] | queue | The queue to build |
Implements comma::SPInitializator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >.