Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
The class provides functions to quantify mesh quality
Compute the radius ratio for all cells.
Note
std::shared_ptr<Mesh> mesh(new UnitCubeMesh(4, 4, 4)); CellFunction<double> = MeshQuality::radius_ratio(mesh);
Compute the minimum and maximum radius ratio of cells (across all processes)
Note
Mesh UnitCubeMesh(4, 4, 4); std::pair<double, double> ratios
= MeshQuality::radius_ratio_min_max(mesh);
double min_ratio = ratios.first; double max_ratio = ratios.second;
Create (ratio, number of cells) data for creating a histogram of cell quality
Create Matplotlib string to plot cell quality histogram