Metric interpolations.
More...
|
int | _MMG5_intmet_ani (MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s) |
|
int | _MMG3D_intmet33_ani (MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s) |
|
int | _MMG5_intmet_iso (MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s) |
|
int | _MMG5_intregmet (MMG5_pMesh mesh, MMG5_pSol met, int k, char i, double s, double mr[6]) |
|
static int | _MMG5_intregvolmet (double *ma, double *mb, double *mp, double t) |
|
int | _MMG5_intvolmet (MMG5_pMesh mesh, MMG5_pSol met, int k, char i, double s, double mr[6]) |
|
int | _MMG5_interp4bar_iso (MMG5_pMesh mesh, MMG5_pSol met, int k, int ip, double cb[4]) |
|
static int | _MMG5_interp4barintern (MMG5_pSol met, int ip, double cb[4], double dm0[6], double dm1[6], double dm2[6], double dm3[6]) |
|
int | _MMG5_interp4bar_ani (MMG5_pMesh mesh, MMG5_pSol met, int k, int ip, double cb[4]) |
|
int | _MMG5_interp4bar33_ani (MMG5_pMesh mesh, MMG5_pSol met, int k, int ip, double cb[4]) |
|
Metric interpolations.
- 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.
- Todo:
- doxygen documentation.
◆ _MMG3D_intmet33_ani()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | element index. |
i | local index of edge in k. |
ip | global index of the new point in which we want to compute the metric. |
s | interpolation parameter (between 0 and 1). |
- Returns
- 0 if fail, 1 otherwise.
Interpolation of anisotropic sizemap at parameter s along edge i of elt k for a classic storage of ridges metrics (before defsiz call).
◆ _MMG5_interp4bar33_ani()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | index of the tetra. |
ip | index of the point on which we compute the metric. |
cb | barycentric coordinates of ip in k. |
- Returns
- 1 if success, 0 if fail.
Linear interpolation of anisotropic sizemap in a tetra given the barycentric coordinates of the new point in k.
◆ _MMG5_interp4bar_ani()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | index of the tetra. |
ip | index of the point on which we compute the metric. |
cb | barycentric coordinates of ip in k. |
- Returns
- 1 if success, 0 if fail.
Linear interpolation of anisotropic sizemap in a tetra given the barycentric coordinates of the new point in k.
◆ _MMG5_interp4bar_iso()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | index of the tetra. |
ip | index of the point on which we compute the metric. |
cb | barycentric coordinates of ip in k. |
- Returns
- 1.
Linear interpolation of isotropic sizemap in a tetra given the barycentric coordinates of the new point in k.
◆ _MMG5_interp4barintern()
static int _MMG5_interp4barintern |
( |
MMG5_pSol |
met, |
|
|
int |
ip, |
|
|
double |
cb[4], |
|
|
double |
dm0[6], |
|
|
double |
dm1[6], |
|
|
double |
dm2[6], |
|
|
double |
dm3[6] |
|
) |
| |
|
inlinestatic |
- Parameters
-
met | pointer toward the metric structure. |
ip | index of the point on which we compute the metric. |
cb | barycentric coordinates of ip in the tetra. |
dm0 | metric of the first vertex of the tet. |
dm1 | metric of the second vertex of the tet. |
dm2 | metric of the third vertex of the tet. |
dm3 | metric of the fourth vertex of the tet. |
- Returns
- 1 if success, 0 if fail.
Linear interpolation of anisotropic sizemap in a tetra given the barycentric coordinates of the new point in a tetra.
◆ _MMG5_intmet_ani()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | element index. |
i | local index of edge in k. |
ip | global index of the new point in which we want to compute the metric. |
s | interpolation parameter (between 0 and 1). |
- Returns
- 0 if fail, 1 otherwise.
Interpolation of anisotropic sizemap at parameter s along edge i of elt k for a special storage of ridges metric (after defsiz call).
◆ _MMG5_intmet_iso()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | element index. |
i | local index of edge in k. |
ip | global index of the new point in which we want to compute the metric. |
s | interpolation parameter (between 0 and 1). |
- Returns
- 0 if fail, 1 otherwise.
Interpolation of anisotropic sizemap at parameter s along edge i of elt k.
◆ _MMG5_intregmet()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | element index. |
i | local index of edge in k. |
s | interpolation parameter. |
mr | computed metric. |
- Returns
- 0 if fail, 1 otherwise.
Metric interpolation on edge i in elt it at parameter
from p1 result is stored in mr. edge
must not be a ridge.
◆ _MMG5_intregvolmet()
static int _MMG5_intregvolmet |
( |
double * |
ma, |
|
|
double * |
mb, |
|
|
double * |
mp, |
|
|
double |
t |
|
) |
| |
|
inlinestatic |
- Parameters
-
ma | pointer on a metric |
mb | pointer on a metric |
mp | pointer on the computed interpolated metric |
t | interpolation parameter (comprise between 0 and 1) |
- Returns
- 1 if success, 0 if fail.
Linear interpolation of anisotropic sizemap along an internal edge.
◆ _MMG5_intvolmet()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | element index. |
i | local index of edge in k. |
s | interpolation parameter. |
mr | computed metric. |
- Returns
- 0 if fail, 1 otherwise.
Metric interpolation on edge i in elt it at parameter
from p1 result is stored in mr. edge
is an internal edge.