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

Functions for ball of points computation. More...

#include "libmmgs_private.h"
Include dependency graph for boulep_s.c:

Go to the source code of this file.

Functions

int boulechknm (MMG5_pMesh mesh, MMG5_int start, int ip, MMG5_int *list)
 
int bouletrid (MMG5_pMesh mesh, MMG5_int start, MMG5_int ip, int *il1, MMG5_int *l1, int *il2, MMG5_int *l2, MMG5_int *ip0, MMG5_int *ip1)
 

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
Todo:
doxygen documentation.

Definition in file boulep_s.c.

Function Documentation

◆ boulechknm()

int boulechknm ( MMG5_pMesh  mesh,
MMG5_int  start,
int  ip,
MMG5_int *  list 
)
Parameters
meshpointer toward the mesh structure.
startindex of tetra to start to compute the ball.
ipindex of point in tetra start for which we want to compute the ball.
listpointer toward the computed ball of point.
Returns
size of list if success, -size if overflow, 0 if cfg is non-manifold.

Find all triangles sharing ip, $list[0] = start$ . Do not stop when crossing ridge. Check whether resulting configuration is manifold.

Definition at line 51 of file boulep_s.c.

Here is the caller graph for this function:

◆ bouletrid()

int bouletrid ( MMG5_pMesh  mesh,
MMG5_int  start,
MMG5_int  ip,
int *  il1,
MMG5_int *  l1,
int *  il2,
MMG5_int *  l2,
MMG5_int *  ip0,
MMG5_int *  ip1 
)
Parameters
meshpointer toward the mesh structure.
startindex of the starting triangle.
ipindex of the looked ridge point.
il1pointer toward the first ball size.
l1pointer toward the first computed ball (associated to n1's side).
il2pointer toward the second ball size.
l2pointer toward the second computed ball (associated to n2's side).
globalip0 index of the first extremity of the ridge.
globalip1 index of the second extremity of the ridge.
Returns
0 if fail, 1 otherwise.

Computation of the two balls of a ridge point: the list l1 is associated to normal n1's side. ip0 and ip1 are the indices of the 2 ending point of the ridge. Both lists are returned enumerated in direct order.

Definition at line 201 of file boulep_s.c.

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