Push-forward distribution over a meshΒΆ
Let be an absolutely continuous random vector with values in
, whose support is a domain discretized by a mesh of simplices.
Let
be the intrinsic dimension of the reference mesh and let
be the output dimension, with
.
The map is a P1 field on the
reference mesh: its restriction to each simplex is the affine interpolation of
the images of the simplex vertices. Such a field is represented by a
Field, which stores the reference Mesh
and the image of each vertex. On a simplex with vertices
, a point
has barycentric coordinates
and
The restriction of to
is therefore affine, with a constant
Jacobian matrix
. Its image
is a
-dimensional
simplex embedded in
.
The image mesh is the collection of the image simplices. When the map is
injective, the distribution of is supported by
this image mesh. Its density with respect to the
-dimensional measure
induced on the image is
where is the preimage of
in the reference simplex
. The matrices
and
are the Gram
matrices of the edges of the reference simplex and of its image:
with the
matrix whose columns are the edge
vectors of the reference simplex. The ratio of the determinants is the
inverse of the volume stretching factor of the affine restriction, so that
the density integrates to one over the image mesh.
The sum covers all the simplices whose image contains
: folding maps and self-intersecting meshes are supported.
When the Jacobian is singular on a simplex, its image has measure zero and its
contribution is discarded, which is the behaviour of the density at a critical
point. A point outside the image mesh has zero density.
When , the image is a
-dimensional subset of
; the density above is still defined with respect to
the measure induced on the image mesh, as in the general singular case of the
PushForwardDistribution.
The case is the co-area case: the preimage of a point is
a fibre of dimension
, and the density is the integral
of the antecedent density along this fibre divided by the corresponding
Jacobian. The general co-area formula is given in the documentation of
PushForwardDistribution. The
PushForwardOverMesh class currently implements
this case only for , ambient dimension
,
, and a
UniformOverMesh antecedent.
OpenTURNS