Class E_sample_point


Code: embedded/E_domain.mpl

An instance of this class represents a point in a triangular face of a domain of type E. In addition to the usual data for a point in such a domain, it has some additional fields that only make sense relative to the containing face.

Extends: E_point
Field: barycentric_coords::list(scalar)

The (generalised) barycentric coordinates of the point, relative to the containing face. This is a list of three nonnegative scalars, whose sum is one.

Field: ibj::scalar = 0

This field is the Jacobian of the inverse of the barycentric coordinate map. (TODO: clarify the normalisation conditions.)

Field: quadrature_weight::scalar

This will be set in such a way that the integral (with respect to metric area) of a function on the face can be approximated by the sum of the values at the sample points multiplied by the corresponding quadrature weights