Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions to create new points. More...
Go to the source code of this file.
Functions | |
int | MMGS_split1_sim (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int i, MMG5_int *vx) |
int | MMGS_split1 (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int i, MMG5_int *vx) |
int | MMGS_simbulgept (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int i, MMG5_int ip) |
int | split1b (MMG5_pMesh mesh, MMG5_int k, int8_t i, MMG5_int ip) |
int | MMG5_split2_sim (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int *vx) |
int | MMGS_split2 (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int *vx) |
int | MMGS_split3_sim (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int *vx) |
int | MMGS_split3 (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int *vx) |
Functions to create new points.
Definition in file split_s.c.
int MMG5_split2_sim | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int * | vx | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of element to split. |
vx | \(vx[i]\) is the index of the point to add on the edge i. |
Simulate the splitting of element k along the 2 edges i1 and i2. Check that the new triangles are not empty (otherwise we can create a 0 surface triangle).
Definition at line 383 of file split_s.c.
int MMGS_simbulgept | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int | i, | ||
MMG5_int | ip | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of the starting triangle. |
i | local index of the edge to split in k. |
ip | index of the point that we try to create. |
Simulate the creation of the point ip, to be inserted at an edge. Check that the new triangles are not empty (otherwise we can create a 0 surface triangle).
Definition at line 162 of file split_s.c.
int MMGS_split1 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int | i, | ||
MMG5_int * | vx | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of element to split. |
i | index of edge to split. |
vx | \(vx[i]\) is the index of the point to add on the edge i. |
Split element k along edge i.
Definition at line 109 of file split_s.c.
int MMGS_split1_sim | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int | i, | ||
MMG5_int * | vx | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of element to split. |
i | index of edge to split. |
vx | \(vx[i]\) is the index of the point to add on the edge i. |
k | index of element to split. |
Simulate the splitting of element k along edge i. Check that the new triangles are not empty (otherwise we can create a 0 surface triangle).
Definition at line 52 of file split_s.c.
int MMGS_split2 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int * | vx | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of element to split. |
vx | \(vx[i]\) is the index of the point to add on the edge i. |
Split element k along the 2 edges i1 and i2.
Definition at line 459 of file split_s.c.
int MMGS_split3 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int * | vx | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of element to split. |
vx | \(vx[i]\) is the index of the point to add on the edge i. |
Split element k along the 3 edges
Definition at line 620 of file split_s.c.
int MMGS_split3_sim | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int * | vx | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | index of element to split. |
vx | \(vx[i]\) is the index of the point to add on the edge i. |
Simulate the splitting of element k along the 3 edges. Check that the new triangles are not empty (otherwise we can create a 0 surface triangle).
Definition at line 532 of file split_s.c.
int split1b | ( | MMG5_pMesh | mesh, |
MMG5_int | k, | ||
int8_t | i, | ||
MMG5_int | ip | ||
) |
mesh | pointer to the mesh structure. |
k | index of element to split. |
i | index of edge to split. |
ip | index of the new point. |
Split element k along edge i, inserting point ip and updating the adjacency relations.
Definition at line 283 of file split_s.c.