comma::ARComputer< IndexT, RealT, IntT > Class Template Referenceabstract
Similar to a functor, the key point is the method that computes the AR and update the features of a cell. Here, AR is used lightly, and might be any quantity which should be minimized in the coarsening process. This is an abstract class.
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...
Similar to a functor, the key point is the method that computes the AR and update the features of a cell. Here, AR is used lightly, and might be any quantity which should be minimized in the coarsening process. This is an abstract class.
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
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)
Parameters
[in]
i_fc
Index of the fine cell to add to the coarse cell
[in]
fc_of_cc
Index of the fine cells already agglomerated in the coarse cell
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.