Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Metric interpolations. More...
#include "libmmg3d_private.h"
Go to the source code of this file.
Functions | |
int | MMG5_intmet_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, MMG5_int ip, double s) |
int | MMG3D_intmet33_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, MMG5_int ip, double s) |
int | MMG3D_intmet33_ani_edge (MMG5_pSol met, MMG5_int ip1, MMG5_int ip2, MMG5_int ip, double s) |
int | MMG5_intmet_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, MMG5_int ip, double s) |
int | MMG5_intmet_iso_edge (MMG5_pSol met, MMG5_int ip1, MMG5_int ip2, MMG5_int ip, double s) |
int | MMG5_intregmet (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t 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, MMG5_int k, int8_t i, double s, double mr[6]) |
int | MMG5_interp4bar_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int ip, double cb[4]) |
static int | MMG5_interp4barintern (MMG5_pSol met, MMG5_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, MMG5_int k, MMG5_int ip, double cb[4]) |
int | MMG5_interp4bar33_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, MMG5_int ip, double cb[4]) |
Metric interpolations.
Definition in file intmet_3d.c.
int MMG3D_intmet33_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | i, | ||
MMG5_int | ip, | ||
double | s | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to 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). |
Interpolation of anisotropic sizemap at parameter s along edge i of elt k for a classic storage of ridges metrics (before defsiz call).
Definition at line 126 of file intmet_3d.c.
int MMG3D_intmet33_ani_edge | ( | MMG5_pSol | met, |
MMG5_int | ip1, | ||
MMG5_int | ip2, | ||
MMG5_int | ip, | ||
double | s | ||
) |
met | pointer to the metric structure. |
ip1 | first global index of edge extremities. |
ip2 | second global index of edge extremities. |
ip | global index of the new point in which we want to compute the metric. |
s | interpolation parameter (between 0 and 1). |
Interpolation of anisotropic sizemap at parameter s along edge [ip1,ip2] for a classic storage of ridges metrics (before defsiz call).
Definition at line 150 of file intmet_3d.c.
int MMG5_interp4bar33_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int | ip, | ||
double | cb[4] | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to 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. |
Linear interpolation of anisotropic sizemap in a tetra given the barycentric coordinates of the new point in k.
Definition at line 522 of file intmet_3d.c.
int MMG5_interp4bar_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int | ip, | ||
double | cb[4] | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to 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. |
Linear interpolation of anisotropic sizemap in a tetra given the barycentric coordinates of the new point in k.
Definition at line 450 of file intmet_3d.c.
int MMG5_interp4bar_iso | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
MMG5_int | ip, | ||
double | cb[4] | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to 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. |
Linear interpolation of isotropic sizemap in a tetra given the barycentric coordinates of the new point in k.
Definition at line 380 of file intmet_3d.c.
|
inlinestatic |
met | pointer to 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. |
Linear interpolation of anisotropic sizemap in a tetra given the barycentric coordinates of the new point in a tetra.
Definition at line 408 of file intmet_3d.c.
int MMG5_intmet_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | i, | ||
MMG5_int | ip, | ||
double | s | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to 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). |
Interpolation of anisotropic sizemap at parameter s along edge i of elt k for a special storage of ridges metric (after defsiz call).
Definition at line 57 of file intmet_3d.c.
int MMG5_intmet_iso | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | i, | ||
MMG5_int | ip, | ||
double | s | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to 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). |
Interpolation of isotropic sizemap at parameter s along edge i of elt k.
Definition at line 174 of file intmet_3d.c.
int MMG5_intmet_iso_edge | ( | MMG5_pSol | met, |
MMG5_int | ip1, | ||
MMG5_int | ip2, | ||
MMG5_int | ip, | ||
double | s | ||
) |
met | pointer to the metric structure. |
ip1 | first global index of edge extremities. |
ip2 | second global index of edge extremities. |
ip | global index of the new point in which we want to compute the metric. |
s | interpolation parameter (between 0 and 1). |
Interpolation of isotropic sizemap at parameter s along edge [ip1,ip2].
Definition at line 197 of file intmet_3d.c.
int MMG5_intregmet | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | i, | ||
double | s, | ||
double | mr[6] | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | element index. |
i | local index of edge in k. |
s | interpolation parameter. |
mr | computed metric. |
Metric interpolation on edge i in elt it at parameter \( 0 <= s0 <= 1 \) from p1 result is stored in mr. edge \( p_1-p_2 \) must not be a ridge.
Definition at line 222 of file intmet_3d.c.
|
inlinestatic |
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) |
Linear interpolation of anisotropic sizemap along an internal edge.
Definition at line 275 of file intmet_3d.c.
int MMG5_intvolmet | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | i, | ||
double | s, | ||
double | mr[6] | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
k | element index. |
i | local index of edge in k. |
s | interpolation parameter. |
mr | computed metric. |
Metric interpolation on edge i in elt it at parameter \( 0 <= s0 <= 1 \) from p1 result is stored in mr. edge \( p_1-p_2 \) is an internal edge.
Definition at line 320 of file intmet_3d.c.