comma::ARMaxBaryDistanceOverRadius< IndexT, RealT, IntT, dim > Class Template Reference
ARComputer. Here, AR is the ratio of the maximum over minimum distance of the cell centers from the barycenter (computed as weighted average of centers). If a cell is totally internal, it won't be included in the computations.
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::ARMaxBaryDistanceOverRadius< IndexT, RealT, IntT, dim >
ARComputer. Here, AR is the ratio of the maximum over minimum distance of the cell centers from the barycenter (computed as weighted average of centers). If a cell is totally internal, it won't be included in the computations.
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
[out]
aspect_ratio
Aspect-Ratio of the (final) coarse cell
[out]
new_feats
Features of the (final) coarse cell
Note
The returned AR might not exactly the above-mentioned ration but a similar one where numerator and denominator are raised to certain powers (instead of their roots) as to ensure non-dimensionality