Extend MicroMesh functionality and its testing
The MR brings
- a new free-function
micromesh::microFaceCenterPosition()
to compute the "center" of a micro-face. Here we define as "center" the location of the barycenter of the reference simplex after it was mapped first to the computational and then to the physical domain, where the latter mapping can either be affine (degree 1), quadratic (degree 2) or a blending map. - a new test
MicroMeshPositionTest
that checks the that the following free-functions from the micromesh namespace work correctly:micromesh::microVertexPosition()
micromesh::microEdgeCenterPosition()
micromesh::microFaceCenterPosition()
The testing is only done in 2D so far, but for all currently supported cases, i.e.
a) neither blending nor micromesh
b) use of blending map
c) use of degree 1 MicroMesh object
d) use of degree 2 MicroMesh object