MeshQuality

class dolfin.cpp.mesh.MeshQuality

Bases: object

The class provides functions to quantify mesh quality

static dihedral_angles()

Get internal dihedral angles of a tetrahedral cell

static dihedral_angles_histogram_data()

Create (dihedral angles, number of cells) data for creating a histogram of dihedral

static dihedral_angles_matplotlib_histogram()

Create Matplotlib string to plot dihedral angles quality histogram

static dihedral_angles_min_max()

Get internal minimum and maximum dihedral angles of a 3D mesh

static radius_ratio_histogram_data()

Create (ratio, number of cells) data for creating a histogram of cell quality

static radius_ratio_matplotlib_histogram()

Create Matplotlib string to plot cell quality histogram

static radius_ratio_min_max()

Compute the minimum and maximum radius ratio of cells (across all processes)

Returns
(float, float)
The [minimum, maximum] cell radii ratio (geometric_dimension * * inradius / circumradius, geometric_dimension is normalization factor). It has range zero to one. Zero indicates a degenerate element.
Example

Note

No example code available for this function.

static radius_ratios()

Compute the radius ratio for all cells.

Returns
CellFunction<double>
The cell radius ratio radius ratio geometric_dimension * * inradius / circumradius (geometric_dimension is normalization factor). It has range zero to one. Zero indicates a degenerate element.
Example

Note

No example code available for this function.

thisown

The membership flag