Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions to move a point in the mesh (with anisotropic metric). More...
#include "mmgcommon_private.h"
Go to the source code of this file.
Functions | |
int | MMG5_elementWeight (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, MMG5_pPoint p0, MMG5_Bezier *pb, double r[3][3], double gv[2]) |
Functions to move a point in the mesh (with anisotropic metric).
Definition in file anisomovpt.c.
int MMG5_elementWeight | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_pTria | pt, | ||
MMG5_pPoint | p0, | ||
MMG5_Bezier * | pb, | ||
double | r[3][3], | ||
double | gv[2] | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
pt | pointer to the tria on which we integrate. |
p0 | pointer to the point that we want to move. |
pb | bezier patch of the triangle. |
r | rotation matrix that sends the normal at point p0 to e_z. |
gv | centre of mass that we want to update using the computed element weight. |
Compute integral of sqrt(T^J(xi) M(P(xi)) J(xi)) * P(xi) over the triangle.
Definition at line 53 of file anisomovpt.c.