Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions | Variables
boulep_2d.c File Reference
#include "libmmg2d.h"
#include "libmmg2d_private.h"
Include dependency graph for boulep_2d.c:

Go to the source code of this file.

Functions

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)
 

Variables

static uint8_t inxt [3] = {1,2,0}
 
static uint8_t iprev [3] = {2,0,1}
 

Function Documentation

◆ MMG2D_bouleendp()

int MMG2D_bouleendp ( MMG5_pMesh  mesh,
MMG5_int  start,
int8_t  ip,
MMG5_int *  ip1,
MMG5_int *  ip2,
MMG5_int *  list 
)
Parameters
meshpointer toward the mesh structure.
startindex of triangle to start.
ipindex 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.

Here is the caller graph for this function:

◆ MMG2D_boulen()

int MMG2D_boulen ( MMG5_pMesh  mesh,
MMG5_int  start,
int8_t  ip,
MMG5_int *  pleft,
MMG5_int *  pright,
double *  nn 
)
Parameters
meshpointer toward the mesh
startindex of the first tria
iplocal index of the point on which we work in tria start
pleftindex of the left point of ip along the geom edge (local index of the point inside a triangle)
prightindex of the right point of ip along the geom edge (local index of the point inside a triangle)
nncomputed 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.

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

◆ MMG2D_boulep()

int MMG2D_boulep ( MMG5_pMesh  mesh,
MMG5_int  ifirst,
int  iploc,
MMG5_int *  list 
)

Definition at line 36 of file boulep_2d.c.

Here is the caller graph for this function:

Variable Documentation

◆ inxt

uint8_t inxt[3] = {1,2,0}
static

Definition at line 28 of file boulep_2d.c.

◆ iprev

uint8_t iprev[3] = {2,0,1}
static

Definition at line 29 of file boulep_2d.c.