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

Functions for ball of points computation. More...

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

Go to the source code of this file.

Functions

int MMG5_boulep (MMG5_pMesh mesh, MMG5_int start, int ip, MMG5_int *adja, MMG5_int *list, MMG5_int *tlist)
 
int MMG5_boulen (MMG5_pMesh mesh, MMG5_int *adjt, MMG5_int start, int ip, double *nn)
 
int MMG5_boulec (MMG5_pMesh mesh, MMG5_int *adjt, MMG5_int start, int ip, double *tt)
 
int MMG5_bouler (MMG5_pMesh mesh, MMG5_int *adjt, MMG5_int start, int ip, MMG5_int *list, MMG5_int *listref, int *ng, int *nr, int lmax)
 
int MMG5_boulet (MMG5_pMesh mesh, MMG5_int start, int ip, MMG5_int *list, int8_t s, int8_t *opn)
 

Variables

MMG5_Info info
 

Detailed Description

Functions for ball of points computation.

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

Definition in file boulep.c.

Function Documentation

◆ MMG5_boulec()

int MMG5_boulec ( MMG5_pMesh  mesh,
MMG5_int *  adjt,
MMG5_int  start,
int  ip,
double *  tt 
)
Parameters
meshpointer toward the mesh structure.
adjtpointer toward the table of triangle adjacency.
startindex of triangle where we start to work.
ipindex of vertex where the tangent is computed.
ttpointer toward the computed tangent.
Returns
0 if fail, 1 otherwise.

Compute the tangent to the curve at point ip.

Definition at line 199 of file boulep.c.

Here is the caller graph for this function:

◆ MMG5_boulen()

int MMG5_boulen ( MMG5_pMesh  mesh,
MMG5_int *  adjt,
MMG5_int  start,
int  ip,
double *  nn 
)
Parameters
meshpointer toward the mesh structure.
adjtpointer toward the table of triangle adjacency.
startindex of triangle where we start to work.
iplocal index of vertex where the normal is computed.
nnpointer toward the computed tangent.
Returns
0 if fail, 1 otherwise.

Compute average normal of triangles sharing P without crossing ridge.

Definition at line 119 of file boulep.c.

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

◆ MMG5_boulep()

int MMG5_boulep ( MMG5_pMesh  mesh,
MMG5_int  start,
int  ip,
MMG5_int *  adja,
MMG5_int *  list,
MMG5_int *  tlist 
)
Parameters
meshpointer toward mesh structure.
starta triangle to which ip belongs.
iplocal point index
adjapointer toward the adjacency array.
listpointer toward the list of points connected to ip.
tlistpointer toward the list of triangles sharing ip.
Returns
-ilist if buffer overflow, ilist otherwise.

Return all vertices connected to ip (with list[0] = ip) and all triangles sharing ip.

Definition at line 52 of file boulep.c.

Here is the caller graph for this function:

◆ MMG5_bouler()

int MMG5_bouler ( MMG5_pMesh  mesh,
MMG5_int *  adjt,
MMG5_int  start,
int  ip,
MMG5_int *  list,
MMG5_int *  listref,
int *  ng,
int *  nr,
int  lmax 
)
Parameters
meshpointer toward the mesh structure.
adjtpointer toward the table of triangle adjacency.
startindex of triangle where we start to work.
ipindex of vertex on which we work.
listpointer toward the computed list of GEO vertices incident to ip.
listrefpointer toward the corresponding edge references
ngpointer toward the number of ridges.
nrpointer toward the number of reference edges.
lmaxmaxmum size for the ball of the point ip.
Returns
The number of edges incident to the vertex ip.

Store edges and count the number of ridges and reference edges incident to the vertex ip.

Definition at line 287 of file boulep.c.

Here is the caller graph for this function:

◆ MMG5_boulet()

int MMG5_boulet ( MMG5_pMesh  mesh,
MMG5_int  start,
int  ip,
MMG5_int *  list,
int8_t  s,
int8_t *  opn 
)
Parameters
meshpointer toward the mesh structure.
startindex of triangle to start.
ipindex of point for wich we compute the ball.
listpointer toward the computed ball of ip.
s1 if called from mmgs, 0 if called from mmg2d.
opn0 for a closed ball, 1 for an open ball.
Returns
the size of the computed ball or 0 if fail.

Find all triangles sharing ip, $list[0] =$ start do not stop when crossing ridge.

Definition at line 363 of file boulep.c.

Here is the caller graph for this function:

Variable Documentation

◆ info

MMG5_Info info
extern