mmg3d
|
Functions to move a point in the mesh. More...
#include "inlined_functions_3d.h"
Functions | |
int | MMG5_movintpt_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *list, int ilist, int improve) |
int | MMG5_movbdyregpt_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improveSurf, int improveVol) |
static int | MMG3D_movbdycurvept_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve, const int16_t edgTag) |
int | MMG5_movbdyrefpt_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve) |
int | MMG5_movbdynompt_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve) |
int | MMG5_movbdyridpt_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve) |
Functions to move a point in the mesh.
|
inlinestatic |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
listv | pointer toward the volumic ball of the point. |
ilistv | size of the volumic ball. |
lists | pointer toward the surfacic ball of the point. |
ilists | size of the surfacic ball. |
improve | force the new minimum element quality to be greater or equal than 1.02 of the old minimum element quality. |
edgTag | Type of edge on which we move (MG_REF, MG_NOM or MG_GEO). |
Move boundary reference, ridge or non-manifold point, whose volumic and surfacic balls are passed.
int MMG5_movbdynompt_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int * | listv, | ||
int | ilistv, | ||
int * | lists, | ||
int | ilists, | ||
int | improve | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
listv | pointer toward the volumic ball of the point. |
ilistv | size of the volumic ball. |
lists | pointer toward the surfacic ball of the point. |
ilists | size of the surfacic ball. |
improve | force the new minimum element quality to be greater or equal than 1.02 of the old minimum element quality. |
Move boundary non manifold point, whose volumic and (exterior) surfacic balls are passed
int MMG5_movbdyrefpt_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int * | listv, | ||
int | ilistv, | ||
int * | lists, | ||
int | ilists, | ||
int | improve | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
listv | pointer toward the volumic ball of the point. |
ilistv | size of the volumic ball. |
lists | pointer toward the surfacic ball of the point. |
ilists | size of the surfacic ball. |
improve | force the new minimum element quality to be greater or equal than 1.02 of the old minimum element quality. |
Move boundary reference point, whose volumic and surfacic balls are passed.
int MMG5_movbdyregpt_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int * | listv, | ||
int | ilistv, | ||
int * | lists, | ||
int | ilists, | ||
int | improveSurf, | ||
int | improveVol | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
listv | pointer toward the volumic ball of the point. |
ilistv | size of the volumic ball. |
lists | pointer toward the surfacic ball of the point. |
ilists | size of the surfacic ball. |
improve | force the new minimum element quality to be greater or equal than 1.02 of the old minimum element quality. |
Move boundary regular point, whose volumic and surfacic balls are passed.
Step 1 : rotation matrix that sends normal n to the third coordinate vector of R^3
Step 2 : rotation of the oriented surfacic ball with r : lispoi[k] is the common edge between faces lists[k-1] and lists[k]
Step 3 : Compute gradient towards optimal position = centre of mass of the ball, projected to tangent plane
Step 4 : locate new point in the ball, and compute its barycentric coordinates
Step 5 : come back to original problem, compute patch in triangle iel and check that geometric approx has not been degraded too much
int MMG5_movbdyridpt_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int * | listv, | ||
int | ilistv, | ||
int * | lists, | ||
int | ilists, | ||
int | improve | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
listv | pointer toward the volumic ball of the point. |
ilistv | size of the volumic ball. |
lists | pointer toward the surfacic ball of the point. |
ilists | size of the surfacic ball. |
improve | force the new minimum element quality to be greater or equal |
Move boundary ridge point, whose volumic and surfacic balls are passed.
int MMG5_movintpt_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int * | list, | ||
int | ilist, | ||
int | improve | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
list | pointer toward the volumic ball of the point. |
ilist | size of the volumic ball. |
improve | force the new minimum element quality to be greater or equal than 1.02 of the old minimum element quality. |
Move internal point whose volumic is passed.