mmg2d
boulep_2d.c File Reference
#include "mmg2d.h"
Include dependency graph for boulep_2d.c:

Functions

int MMG2D_boulep (MMG5_pMesh mesh, int ifirst, int iploc, int *list)
 
int MMG2D_boulen (MMG5_pMesh mesh, int start, char ip, int *pleft, int *pright, double *nn)
 
int MMG2D_boulet (MMG5_pMesh mesh, int start, char ip, int *list)
 
int MMG2D_bouleendp (MMG5_pMesh mesh, int start, char ip, int *ip1, int *ip2)
 

Variables

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

Function Documentation

◆ MMG2D_bouleendp()

int MMG2D_bouleendp ( MMG5_pMesh  mesh,
int  start,
char  ip,
int *  ip1,
int *  ip2 
)
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 and fill ip1 and ip2 with their indices.

◆ MMG2D_boulen()

int MMG2D_boulen ( MMG5_pMesh  mesh,
int  start,
char  ip,
int *  pleft,
int *  pright,
double *  nn 
)

◆ MMG2D_boulep()

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

◆ MMG2D_boulet()

int MMG2D_boulet ( MMG5_pMesh  mesh,
int  start,
char  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.

Variable Documentation

◆ inxt

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

◆ iprev

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