|
Intrepid2
|
This class implements a distance function that computes the parametric distance of a point in a reference cell. A parametric distance is a continuous piecewise linear function that it is (a) 0 at the centroid of the reference cell (b) less than 1 for points inside the cell (c) 1 on the cell boundary (d) greater than 1 for points outside the cell. More...
#include <Intrepid2_CellData.hpp>
This class implements a distance function that computes the parametric distance of a point in a reference cell. A parametric distance is a continuous piecewise linear function that it is (a) 0 at the centroid of the reference cell (b) less than 1 for points inside the cell (c) 1 on the cell boundary (d) greater than 1 for points outside the cell.
The parametric distance is defined as the maximum of the linear functions associated with each cell side, where each function evaluates to 0.0 at the centroid and 1.0 on its respective side.
The function distance can be used to determine whether a point is inside or outside an element.
Definition at line 340 of file Intrepid2_CellData.hpp.