CoMMA 1.3.2
A geometric agglomerator for unstructured meshes
|
Convenient class holding arguments defining the graph. More...
#include <Args.h>
Public Member Functions | |
GraphArgs ()=default | |
Default constructor. More... | |
GraphArgs (const std::vector< CoMMAIndexType > &connectivity_indices, const std::vector< CoMMAIndexType > &connectivity, const std::vector< CoMMAWeightType > &connectivity_weights, const std::vector< CoMMAWeightType > &volumes, const std::vector< std::vector< CoMMAWeightType > > ¢ers, const std::vector< CoMMAWeightType > &priority_weights, const std::vector< CoMMAIntType > &n_bnd_faces, CoMMAIntType dimension) | |
Constructor. More... | |
Public Attributes | |
const std::vector< CoMMAIndexType > & | connectivity_indices |
Indices of the CSR representation of the graph. More... | |
const std::vector< CoMMAIndexType > & | connectivity |
Values of the CSR representation of the graph. More... | |
const std::vector< CoMMAWeightType > & | connectivity_weights |
Weights of the CSR representation of the graph. More... | |
const std::vector< CoMMAWeightType > & | volumes |
Volumes of the cells. More... | |
const std::vector< std::vector< CoMMAWeightType > > & | centers |
Centers of the cells. More... | |
const std::vector< CoMMAWeightType > & | priority_weights |
Priority weights. More... | |
const std::vector< CoMMAIntType > & | n_bnd_faces |
Number of boundary faces per cell. More... | |
CoMMAIntType | dimension |
Dimensionality of the problem, 2- or 3D. More... | |
Convenient class holding arguments defining the graph.
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 |
|
default |
Default constructor.
|
inline |
Constructor.
[in] | connectivity_indices | Indices of the CSR representation of the graph. |
[in] | connectivity | Values of the CSR representation of the graph. |
[in] | connectivity_weights | Weights of the CSR representation of the graph. |
[in] | volumes | Volumes of the cells. |
[in] | centers | Centers of the cells. |
[in] | priority_weights | Priority weights. |
[in] | n_bnd_faces | Number of boundary faces per cell. |
[in] | dimension | Dimensionality of the problem, 2- or 3D. |
const std::vector<std::vector<CoMMAWeightType> >& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::centers |
Centers of the cells.
const std::vector<CoMMAIndexType>& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::connectivity |
Values of the CSR representation of the graph.
const std::vector<CoMMAIndexType>& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::connectivity_indices |
Indices of the CSR representation of the graph.
const std::vector<CoMMAWeightType>& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::connectivity_weights |
Weights of the CSR representation of the graph.
CoMMAIntType comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::dimension |
Dimensionality of the problem, 2- or 3D.
const std::vector<CoMMAIntType>& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::n_bnd_faces |
Number of boundary faces per cell.
const std::vector<CoMMAWeightType>& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::priority_weights |
Priority weights.
const std::vector<CoMMAWeightType>& comma::GraphArgs< CoMMAIndexType, CoMMAWeightType, CoMMAIntType >::volumes |
Volumes of the cells.