#include <GridFESummary.h>
Public Methods | |
| GridFESummary () | |
| ~GridFESummary () | |
| real | calculateErrorMeasure (const GridFE &grid, const int e, const bool triangular_element) const |
| void | gridDiagnostics (const GridFE &grid, MultipleReporter &rep, const VerbosityLevel verbosity_level) |
Public Attributes | |
| Extremes | max_angles_t |
| Extremes | min_angles_t |
| Extremes | inner_radius_t |
| Extremes | max_angles_q |
| Extremes | min_angles_q |
| Extremes | diagonal_frac_q |
| Histogram | min_ang_cum_hist_t |
| Histogram | max_ang_cum_hist_t |
| Histogram | inner_radius_cum_hist_t |
| Histogram | min_ang_cum_hist_q |
| Histogram | max_ang_cum_hist_q |
| Histogram | diag_frac_cum_hist_q |
NAME: GridFESummary - Summary of a finite element grid (element size, distortion)
DESCRIPTION:
Calculates the smallest and largest element size (represented by the inner radius of the triangular elements and the fraction of diagonals in the quadrilateral elements) and the smallest and largest angle between element edges in the mesh (this latter quantity is a measure of the grid distortion). The expectation, variance and cumulative distribution of these values is also calculated. The user has access to these values through the objects of type "Extreme" and "Histogram". This of course only after the use of "gridDiagnostics".
|
|
|
|
|
|
|
|
in 2D the function calculates the inner radius of the element if the element is triangular, if the element is quadrilateral, the fraction of the diagonals in the element is calculated. In 3D the same calculations are made, but now for each plane in the element. The function is used in "gridDiagnostics". |
|
|
analyze the grid given as argument. "MultipleReporter" makes a report of the results. The verbosity level decides how detailed the report will be. The choices are "COMPACT", "EXTENDED" or "DETAILED". Several measurements are made on the triangular and quadrilateral elements. These are extreme measures and cumulative distribution of the angles, the inner radius of the triangular elements and the fraction of the diagonals in the quadrilateral elements. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|