Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions for splitting. More...
Go to the source code of this file.
Functions | |
MMG5_int | MMG2D_chkspl (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i) |
int | MMG2D_split1b (MMG5_pMesh mesh, MMG5_int k, int8_t i, MMG5_int ip) |
int | MMG2D_split1_sim (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int k, MMG5_int vx[3]) |
int | MMG2D_split1 (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int k, MMG5_int vx[3]) |
int | MMG2D_split2_sim (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int k, MMG5_int vx[3]) |
int | MMG2D_split2 (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int k, MMG5_int vx[3]) |
int | MMG2D_split3_sim (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int k, MMG5_int vx[3]) |
int | MMG2D_split3 (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int k, MMG5_int vx[3]) |
int | MMG2D_splitbar (MMG5_pMesh mesh, MMG5_int k, MMG5_int ip) |
Variables | |
uint8_t | ddb |
Functions for splitting.
Definition in file split_2d.c.
MMG5_int MMG2D_chkspl | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | i | ||
) |
mesh | pointer to the mesh |
met | pointer to the metric |
k | triangle index |
i | local index of the edge to split |
Check whether splitting of edge i in tria k is possible and return the newly created point; possibly perform a dichotomy to find the latest valid position for the point.
Definition at line 51 of file split_2d.c.
int MMG2D_split1 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_int | k, | ||
MMG5_int | vx[3] | ||
) |
mesh | pointer to the mesh |
sol | pointer to the metric |
k | triangle index |
vx | list of new point indices for each edge |
Split 1 edge of triangle k
Definition at line 390 of file split_2d.c.
int MMG2D_split1_sim | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_int | k, | ||
MMG5_int | vx[3] | ||
) |
mesh | pointer to the mesh |
sol | pointer to the metric |
k | triangle index |
vx | list of new point indices for each edge |
Simulate the split of one edge in triangle k
Definition at line 345 of file split_2d.c.
int MMG2D_split1b | ( | MMG5_pMesh | mesh, |
MMG5_int | k, | ||
int8_t | i, | ||
MMG5_int | ip | ||
) |
\parma mesh pointer to the mesh
k | index of the tria to split |
i | local index of the edge to split |
ip | global index of the new point |
Effective splitting of edge i in tria k: point ip is introduced and the adjacency structure in the mesh is preserved
Definition at line 244 of file split_2d.c.
int MMG2D_split2 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_int | k, | ||
MMG5_int | vx[3] | ||
) |
mesh | pointer to the mesh |
sol | pointer to the metric |
k | triangle index |
vx | list of new point indices for each edge |
Split 2 edges of triangle k
Definition at line 505 of file split_2d.c.
int MMG2D_split2_sim | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_int | k, | ||
MMG5_int | vx[3] | ||
) |
mesh | pointer to the mesh |
sol | pointer to the metric |
k | triangle index |
vx | list of new point indices for each edge |
Simulate the split of two edges in triangle k
Definition at line 456 of file split_2d.c.
int MMG2D_split3 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_int | k, | ||
MMG5_int | vx[3] | ||
) |
mesh | pointer to the mesh |
sol | pointer to the metric |
k | triangle index |
vx | list of new point indices for each edge |
Split the three edges of triangle k
Definition at line 630 of file split_2d.c.
int MMG2D_split3_sim | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_int | k, | ||
MMG5_int | vx[3] | ||
) |
mesh | pointer to the mesh |
sol | pointer to the metric |
k | triangle index |
vx | list of new point indices for each edge |
Simulate the split of three edges in triangle k
Definition at line 592 of file split_2d.c.
int MMG2D_splitbar | ( | MMG5_pMesh | mesh, |
MMG5_int | k, | ||
MMG5_int | ip | ||
) |
mesh | pointer to the mesh |
k | index of the tria to split |
ip | global index of the new point |
Insert the point ip inside the tria k
Definition at line 721 of file split_2d.c.
|
extern |
Definition at line 42 of file mmg3d1_delone.c.