Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
anisomovpt.c File Reference

Functions to move a point in the mesh (with anisotropic metric). More...

#include "mmgcommon_private.h"
Include dependency graph for anisomovpt.c:

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])
 

Detailed Description

Functions to move a point in the mesh (with anisotropic metric).

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5
Todo:
Doxygen documentation

Definition in file anisomovpt.c.

Function Documentation

◆ MMG5_elementWeight()

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] 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
ptpointer toward the tria on which we integrate.
p0pointer toward the point that we want to move.
pbbezier patch of the triangle.
rrotation matrix that sends the normal at point p0 to e_z.
gvcentre of mass that we want to update using the computed element weight.
Returns
0 if fail, 1 otherwise.

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.

Here is the call graph for this function:
Here is the caller graph for this function: