comma::ARDiamOverRadius< IndexT, RealT, IntT, dim > Class Template Reference
ARComputer. Here, AR is the ratio of the diameter over the estimated one (typically, in 2D, the squared root of the surface). It is the definition used in CoMMA from 1.1 up to 1.3.2.
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...
Dual_Graph object determining Fine cells graph and hence the connectivity. More...
Detailed Description
template<typename IndexT, typename RealT, typename IntT, unsigned int dim>
class comma::ARDiamOverRadius< IndexT, RealT, IntT, dim >
ARComputer. Here, AR is the ratio of the diameter over the estimated one (typically, in 2D, the squared root of the surface). It is the definition used in CoMMA from 1.1 up to 1.3.2.
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