mmg2d
|
#include "mmg2d.h"
Functions | |
int | MMG2D_boulep (MMG5_pMesh mesh, int ifirst, int iploc, int *list) |
int | MMG2D_boulen (MMG5_pMesh mesh, int start, int8_t ip, int *pleft, int *pright, double *nn) |
int | MMG2D_boulet (MMG5_pMesh mesh, int start, int8_t ip, int *list) |
int | MMG2D_bouleendp (MMG5_pMesh mesh, int start, int8_t ip, int *ip1, int *ip2) |
Variables | |
static uint8_t | inxt [3] = {1,2,0} |
static uint8_t | iprev [3] = {2,0,1} |
int MMG2D_bouleendp | ( | MMG5_pMesh | mesh, |
int | start, | ||
int8_t | ip, | ||
int * | ip1, | ||
int * | ip2 | ||
) |
mesh | pointer toward the mesh structure. |
start | index of triangle to start. |
ip | index of point for wich we compute the ball. |
Find the two endpoints of the boundary curves joining ip and fill ip1 and ip2 with their indices.
int MMG2D_boulen | ( | MMG5_pMesh | mesh, |
int | start, | ||
int8_t | ip, | ||
int * | pleft, | ||
int * | pright, | ||
double * | nn | ||
) |
mesh | pointer toward 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 |
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.
int MMG2D_boulep | ( | MMG5_pMesh | mesh, |
int | ifirst, | ||
int | iploc, | ||
int * | list | ||
) |
int MMG2D_boulet | ( | MMG5_pMesh | mesh, |
int | start, | ||
int8_t | ip, | ||
int * | list | ||
) |
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. |
Find all triangles sharing ip, start do not stop when crossing ridge.
|
static |
|
static |