mmgs
boulep_s.c File Reference

Functions for ball of points computation. More...

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

Functions

int boulet (MMG5_pMesh mesh, int start, int ip, int *list)
 
int boulechknm (MMG5_pMesh mesh, int start, int ip, int *list)
 
int bouletrid (MMG5_pMesh mesh, int start, int ip, int *il1, int *l1, int *il2, int *l2, int *ip0, 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.

Function Documentation

◆ boulechknm()

int boulechknm ( MMG5_pMesh  mesh,
int  start,
int  ip,
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.

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

Here is the caller graph for this function:

◆ boulet()

int boulet ( MMG5_pMesh  mesh,
int  start,
int  ip,
int *  list 
)
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.
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.

Here is the caller graph for this function:

◆ bouletrid()

int bouletrid ( MMG5_pMesh  mesh,
int  start,
int  ip,
int *  il1,
int *  l1,
int *  il2,
int *  l2,
int *  ip0,
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).
ip0index of the first extremity of the ridge.
ip1index 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.

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