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

Node relocation routines. More...

#include "libmmg2d_private.h"
#include "mmg2dexterns_private.h"
Include dependency graph for movpt_2d.c:

Go to the source code of this file.

Functions

int MMG2D_movedgpt (MMG5_pMesh mesh, MMG5_pSol met, int ilist, MMG5_int *list, int8_t improve)
 
int MMG2D_movintpt (MMG5_pMesh mesh, MMG5_pSol met, int ilist, MMG5_int *list, int8_t improve)
 

Detailed Description

Node relocation routines.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5
Date
01 2014

Definition in file movpt_2d.c.

Function Documentation

◆ MMG2D_movedgpt()

int MMG2D_movedgpt ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ilist,
MMG5_int *  list,
int8_t  improve 
)
Parameters
meshpointer toward the mesh
metpointer toward the metric structure.
listpointer toward the ball of the point.
ilistsize of the ball.
improveforce the new minimum element quality to be greater or equal than 0.9 of the old minimum element quality.
Returns
0 if we can't move the point (or if we fail), 1 if we can.

Relocate boundary vertex whose ball is passed; routine works both in the isotropic and anisotropic case

Definition at line 53 of file movpt_2d.c.

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

◆ MMG2D_movintpt()

int MMG2D_movintpt ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ilist,
MMG5_int *  list,
int8_t  improve 
)
Parameters
meshpointer toward the mesh
metpointer toward the metric structure.
listpointer toward the ball of the point.
ilistsize of the ball.
improveforce the new minimum element quality to be greater or equal than 0.9 of the old minimum element quality.
Returns
0 if we can't move the point (or if we fail), 1 if we can.

Relocate internal vertex whose ball is passed.

Definition at line 213 of file movpt_2d.c.

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