Functions for ball of points computation.
More...
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)
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
Copyright GNU Lesser General Public License.
Todo: doxygen documentation.
◆ boulechknm()
int boulechknm
(
MMG5_pMesh
mesh ,
int
start ,
int
ip ,
int *
list
)
Parameters
mesh pointer toward the mesh structure.
start index of tetra to start to compute the ball.
ip index of point in tetra start for which we want to compute the ball.
list pointer toward the computed ball of point.
Find all triangles sharing ip , . Do not stop when crossing ridge. Check whether resulting configuration is manifold.
◆ boulet()
int boulet
(
MMG5_pMesh
mesh ,
int
start ,
int
ip ,
int *
list
)
Parameters
mesh pointer toward the mesh structure.
start index of triangle to start.
ip index of point for wich we compute the ball.
list pointer toward the computed ball of ip .
Returns the size of the computed ball or 0 if fail.
Find all triangles sharing ip , start do not stop when crossing ridge.
◆ bouletrid()
int bouletrid
(
MMG5_pMesh
mesh ,
int
start ,
int
ip ,
int *
il1 ,
int *
l1 ,
int *
il2 ,
int *
l2 ,
int *
ip0 ,
int *
ip1
)
Parameters
mesh pointer toward the mesh structure.
start index of the starting triangle.
ip index of the looked ridge point.
il1 pointer toward the first ball size.
l1 pointer toward the first computed ball (associated to n1's side).
il2 pointer toward the second ball size.
l2 pointer toward the second computed ball (associated to n2's side).
ip0 index of the first extremity of the ridge.
ip1 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.