Go to the source code of this file.
|
int | MMG2D_boulep (MMG5_pMesh mesh, MMG5_int ifirst, int iploc, MMG5_int *list) |
|
int | MMG2D_boulen (MMG5_pMesh mesh, MMG5_int start, int8_t ip, MMG5_int *pleft, MMG5_int *pright, double *nn) |
|
int | MMG2D_bouleendp (MMG5_pMesh mesh, MMG5_int start, int8_t ip, MMG5_int *ip1, MMG5_int *ip2, MMG5_int *list) |
|
|
static uint8_t | inxt [3] = {1,2,0} |
|
static uint8_t | iprev [3] = {2,0,1} |
|
◆ MMG2D_bouleendp()
int MMG2D_bouleendp |
( |
MMG5_pMesh |
mesh, |
|
|
MMG5_int |
start, |
|
|
int8_t |
ip, |
|
|
MMG5_int * |
ip1, |
|
|
MMG5_int * |
ip2, |
|
|
MMG5_int * |
list |
|
) |
| |
- Parameters
-
mesh | pointer to the mesh structure. |
start | index of triangle to start. |
ip | index of point for wich we compute the ball. |
- Returns
- 1 if success, 0 if fail.
Find the two endpoints of the boundary curves joining ip, fill ip1 and ip2 with their indices and list neighbouring triangles
Definition at line 231 of file boulep_2d.c.
◆ MMG2D_boulen()
int MMG2D_boulen |
( |
MMG5_pMesh |
mesh, |
|
|
MMG5_int |
start, |
|
|
int8_t |
ip, |
|
|
MMG5_int * |
pleft, |
|
|
MMG5_int * |
pright, |
|
|
double * |
nn |
|
) |
| |
- Parameters
-
mesh | pointer to the mesh |
start | index of the first tria |
ip | local index of the point on which we work in tria start |
pleft | index of the left point of ip along the geom edge (local index of the point inside a triangle) |
pright | index of the right point of ip along the geom edge (local index of the point inside a triangle) |
nn | computed normal at ip |
- Returns
- 0 if fail, 1 if success
Travel the ball of point ip in triangle start, which is assumed to lie either on the external or on an internal boundary of the mesh, and return the normal vector convention: the normal vector is oriented from the half ball it starts with towards its exterior return pright = 3*kk+ii, where kk = last triangle in the first travel, and ii = local index of ip in kk pleft = 3*kk+ii, where kk = last triangle in the second travel, and ii = local index of ip in kk.
Definition at line 115 of file boulep_2d.c.
◆ MMG2D_boulep()
int MMG2D_boulep |
( |
MMG5_pMesh |
mesh, |
|
|
MMG5_int |
ifirst, |
|
|
int |
iploc, |
|
|
MMG5_int * |
list |
|
) |
| |
◆ inxt
uint8_t inxt[3] = {1,2,0} |
|
static |
◆ iprev
uint8_t iprev[3] = {2,0,1} |
|
static |