comma::ARExternalWeights< IndexT, RealT, IntT > Class Template Reference
ARComputer. Here, AR is the total external weights (that is, from a geometric point of view, the perimeter). Looking for the minimum leads in graph terms to a min-cut.
More...
Computes features of the CC obtained by adding a given fine cell. The features are Aspect-Ratio, number of face shared with other cells already agglomerated (Current coarse cell means without i_fc) and those of CellFeatures. More...
Computes features of the CC obtained by adding a given fine cell. The features are Aspect-Ratio, number of face shared with other cells already agglomerated (Current coarse cell means without i_fc) and those of CellFeatures. More...
Computes number of shared faces and features of the CC obtained by adding a given fine cell. The features are Aspect-Ratio and number of face shared with other cells already agglomerated (Current coarse cell means without i_fc) More...
Given a squared quantity and cell features, compute the ratio between the quantity and the radius of the cell (that is ), or an approximation of it where the numerator and denominator are raised to certain powers (instead of taking roots) to ensure non-dimensionality. More...
ARComputer. Here, AR is the total external weights (that is, from a geometric point of view, the perimeter). Looking for the minimum leads in graph terms to a min-cut.
Template Parameters
IndexT
type used for indices
RealT
type used for features
IntT
type used for integers (e.g., number of cells, faces,...)
Computes features of the CC obtained by adding a given fine cell. The features are Aspect-Ratio, number of face shared with other cells already agglomerated (Current coarse cell means without i_fc) and those of CellFeatures.
Parameters
[in]
i_fc
Index of the fine cell to add to the coarse cell
[in]
cc_feats
Features of the current coarse cell
[in]
fc_of_cc
Index of the fine cells already agglomerated in the coarse cell
[out]
shared_faces
Number of faces shared by the fine cell with the current coarse cell