DOLFIN
DOLFIN C++ interface
|
The class provides functions to quantify mesh quality. More...
#include <MeshQuality.h>
Static Public Member Functions | |
static MeshFunction< double > | radius_ratios (std::shared_ptr< const Mesh > mesh) |
static MeshFunction< double > | aspect_ratio_gamma (std::shared_ptr< const Mesh > mesh) |
static std::pair< double, double > | radius_ratio_min_max (const Mesh &mesh) |
static std::pair< std::vector< double >, std::vector< double > > | radius_ratio_histogram_data (const Mesh &mesh, std::size_t num_bins=50) |
static std::string | radius_ratio_matplotlib_histogram (const Mesh &mesh, std::size_t num_intervals=50) |
static void | dihedral_angles (const Cell &cell, std::vector< double > &dh_angle) |
Get internal dihedral angles of a tetrahedral cell. | |
static std::pair< double, double > | dihedral_angles_min_max (const Mesh &mesh) |
Get internal minimum and maximum dihedral angles of a 3D mesh. | |
static std::pair< std::vector< double >, std::vector< double > > | dihedral_angles_histogram_data (const Mesh &mesh, std::size_t num_bins=100) |
static std::string | dihedral_angles_matplotlib_histogram (const Mesh &mesh, std::size_t num_intervals=100) |
Create Matplotlib string to plot dihedral angles quality histogram. | |
The class provides functions to quantify mesh quality.
|
static |
Compute the Aspect Ratio Gamma (ARG) for all cells.
mesh | Mesh |
|
static |
Create (dihedral angles, number of cells) data for creating a histogram of dihedral
|
static |
Create (ratio, number of cells) data for creating a histogram of cell quality
mesh | (const Mesh&) |
num_bins | (std::size_t) |
|
static |
Create Matplotlib string to plot cell quality histogram
mesh | (const Mesh&) |
num_intervals | (std::size_t) |
|
static |
Compute the minimum and maximum radius ratio of cells (across all processes)
mesh | (const Mesh&) |
|
static |
Compute the radius ratio for all cells.
mesh | (std::shared_ptr<const Mesh>) |