Functions for splitting.
More...
|
int | _MMG2_chkspl (MMG5_pMesh mesh, MMG5_pSol met, int k, char i) |
|
int | _MMG2_split1b (MMG5_pMesh mesh, int k, char i, int ip) |
|
int | _MMG2_split1_sim (MMG5_pMesh mesh, MMG5_pSol sol, int k, int vx[3]) |
|
int | _MMG2_split1 (MMG5_pMesh mesh, MMG5_pSol sol, int k, int vx[3]) |
|
int | _MMG2_split2_sim (MMG5_pMesh mesh, MMG5_pSol sol, int k, int vx[3]) |
|
int | _MMG2_split2 (MMG5_pMesh mesh, MMG5_pSol sol, int k, int vx[3]) |
|
int | _MMG2_split3_sim (MMG5_pMesh mesh, MMG5_pSol sol, int k, int vx[3]) |
|
int | _MMG2_split3 (MMG5_pMesh mesh, MMG5_pSol sol, int k, int vx[3]) |
|
int | _MMG2_splitbar (MMG5_pMesh mesh, int k, int ip) |
|
Functions for splitting.
- Author
- Charles Dapogny (UPMC)
-
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
-
Pascal Frey (UPMC)
-
Algiane Froehly (Inria/UBordeaux)
- Version
- 5
- Copyright
- GNU Lesser General Public License.
◆ _MMG2_chkspl()
- Parameters
-
mesh | pointer toward the mesh |
met | pointer toward the metric |
k | triangle index |
i | local index of the edge to split |
- Returns
- 1 if we can split, 0 if not, -1 if fail.
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.
◆ _MMG2_split1()
- Parameters
-
mesh | pointer toward the mesh |
sol | pointer toward the metric |
k | triangle index |
vx | list of new point indices for each edge |
- Returns
- 0 if fail, 1 if success
Split 1 edge of triangle k
◆ _MMG2_split1_sim()
- Parameters
-
mesh | pointer toward the mesh |
sol | pointer toward the metric |
k | triangle index |
vx | list of new point indices for each edge |
- Returns
- 0 if fail, 1 if success
Simulate the split of one edge in triangle k
◆ _MMG2_split1b()
int _MMG2_split1b |
( |
MMG5_pMesh |
mesh, |
|
|
int |
k, |
|
|
char |
i, |
|
|
int |
ip |
|
) |
| |
mesh pointer toward the mesh
- Parameters
-
k | index of the tria to split |
i | local index of the edge to split |
ip | global index of the new point |
- Returns
- 1 if success, 0 if fail
Effective splitting of edge i in tria k: point ip is introduced and the adjacency structure in the mesh is preserved
◆ _MMG2_split2()
- Parameters
-
mesh | pointer toward the mesh |
sol | pointer toward the metric |
k | triangle index |
vx | list of new point indices for each edge |
- Returns
- 0 if fail, 1 if success
Split 2 edges of triangle k
◆ _MMG2_split2_sim()
- Parameters
-
mesh | pointer toward the mesh |
sol | pointer toward the metric |
k | triangle index |
vx | list of new point indices for each edge |
- Returns
- 0 if fail, 1 if success
Simulate the split of two edges in triangle k
◆ _MMG2_split3()
- Parameters
-
mesh | pointer toward the mesh |
sol | pointer toward the metric |
k | triangle index |
vx | list of new point indices for each edge |
- Returns
- 0 if fail, 1 if success
Split the three edges of triangle k
◆ _MMG2_split3_sim()
- Parameters
-
mesh | pointer toward the mesh |
sol | pointer toward the metric |
k | triangle index |
vx | list of new point indices for each edge |
- Returns
- 0 if fail, 1 if success
Simulate the split of three edges in triangle k
◆ _MMG2_splitbar()
int _MMG2_splitbar |
( |
MMG5_pMesh |
mesh, |
|
|
int |
k, |
|
|
int |
ip |
|
) |
| |
- Parameters
-
mesh | pointer toward the mesh |
k | index of the tria to split |
ip | global index of the new point |
- Returns
- 1 if success, 0 if fail
Insert the point ip inside the tria k
◆ ddb