CoMMA 1.3.2
A geometric agglomerator for unstructured meshes
|
Creator of Neighbourhood_Extended objects. It can create from scratch or by copy. More...
#include <Neighbourhood.h>
Public Types | |
using | CreatorBaseType = NeighbourhoodCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > |
Base class. More... | |
using | NeighbourhoodDerivedType = Neighbourhood_Extended< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > |
Shortcut for the Neighborhood object derived type (Extended, in this case) More... | |
using | NeighbourhoodBaseType = Neighbourhood< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > |
Shortcut for the Neighborhood object type. More... | |
Public Types inherited from comma::NeighbourhoodCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > | |
using | NeighbourhoodBaseType = Neighbourhood< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > |
Shortcut for the Neighborhood object type. More... | |
Public Member Functions | |
NeighbourhoodExtendedCreator () | |
Constructor. More... | |
~NeighbourhoodExtendedCreator () override=default | |
Destructor. More... | |
std::shared_ptr< NeighbourhoodBaseType > | create (const std::unordered_set< CoMMAIndexType > &s_neighbours_of_seed, const std::vector< CoMMAWeightType > &priority_weights, const CoMMAIntType dimension) const override |
Create a new Neighbourhood object from scratch using the given arguments. More... | |
std::shared_ptr< NeighbourhoodBaseType > | clone (std::shared_ptr< NeighbourhoodBaseType > other) const override |
Create a new Neighbourhood object by copy. More... | |
Public Member Functions inherited from comma::NeighbourhoodCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType > | |
NeighbourhoodCreator ()=default | |
Constructor. More... | |
virtual | ~NeighbourhoodCreator ()=default |
Destructor. More... | |
virtual std::shared_ptr< NeighbourhoodBaseType > | create (const std::unordered_set< CoMMAIndexType > &s_neighbours_of_seed, const std::vector< CoMMAWeightType > &priority_weights, const CoMMAIntType dimension) const =0 |
Create a new Neighbourhood object from scratch using the given arguments. More... | |
virtual std::shared_ptr< NeighbourhoodBaseType > | clone (std::shared_ptr< NeighbourhoodBaseType > other) const =0 |
Create a new Neighbourhood object by copy. More... | |
Creator of Neighbourhood_Extended objects. It can create from scratch or by copy.
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::NeighbourhoodExtendedCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::CreatorBaseType = NeighbourhoodCreator<CoMMAIndexType, CoMMAWeightType, CoMMAIntType> |
Base class.
using comma::NeighbourhoodCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::NeighbourhoodBaseType = Neighbourhood<CoMMAIndexType, CoMMAWeightType, CoMMAIntType> |
Shortcut for the Neighborhood object type.
using comma::NeighbourhoodExtendedCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::NeighbourhoodDerivedType = Neighbourhood_Extended<CoMMAIndexType, CoMMAWeightType, CoMMAIntType> |
Shortcut for the Neighborhood object derived type (Extended, in this case)
|
inline |
Constructor.
|
overridedefault |
Destructor.
|
inlineoverridevirtual |
Create a new Neighbourhood object by copy.
[in] | other | Shared pointer to an existing Neighbourhood object |
Implements comma::NeighbourhoodCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >.
|
inlineoverridevirtual |
Create a new Neighbourhood object from scratch using the given arguments.
[in] | s_neighbours_of_seed | Set of the neighbours of the given cell chosen as seed |
[in] | priority_weights | Weights used to set up the order of the neighbours to visit |
[in] | dimension | Dimension of the problem |
Implements comma::NeighbourhoodCreator< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >.