Metric interpolations.
More...
|
int | intregmet (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, double s, double mr[6]) |
|
int | intmet_iso (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int ip, double s) |
|
int | intmet_ani (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int ip, double s) |
|
int | MMGS_intmet33_ani (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int ip, double s) |
|
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.
◆ 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 special storage of ridges metrics (after defsiz call).
◆ intmet_iso()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
k | triangle in which we interpole the metrics. |
i | edge along which we interpole the metrics. |
ip | index of point in which we compute the interpolated metric. |
s | parameter at which we compute the interpolation. |
- Returns
- 1 if success, 0 otherwise.
Linear interpolation of sizemap along edge i of tria k.
◆ 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
- call to MMG5_interpreg_ani (thus, 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.
◆ MMGS_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 classic storage of ridges metrics (before defsiz call).
◆ ddb