mmg2d
|
Interpolation of metrics. More...
#include "mmg2d.h"
Functions | |
int | _MMG2_defaultmet_2d (MMG5_pMesh mesh, MMG5_pSol met, int k, char i) |
int | _MMG2_defmetbdy_2d (MMG5_pMesh mesh, MMG5_pSol met, int k, char i) |
int | _MMG2_defsiz_ani (MMG5_pMesh mesh, MMG5_pSol met) |
int | _MMG2_grad2met_ani (MMG5_pMesh mesh, MMG5_pSol met, double *m, double *n, double difsiz) |
int | _MMG2_gradsiz_ani (MMG5_pMesh mesh, MMG5_pSol met) |
Interpolation of metrics.
int _MMG2_defaultmet_2d | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int | k, | ||
char | i | ||
) |
mesh | pointer toward the mesh |
met | pointer toward the metric |
k | elt index |
i | vertex index in triangle k |
Impose default metric (isotropic, with size hmax) at vertex i in triangle k.
int _MMG2_defmetbdy_2d | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int | k, | ||
char | i | ||
) |
mesh | pointer toward the mesh |
met | pointer toward the metric |
k | index of the tria in which we work |
i | index of the point on which we want to compute the metric |
Calculate anisotropic metric tensor at (boundary) vertex i in triangle k on account of geometric approximation of the corresponding curve
int _MMG2_defsiz_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh |
met | pointer toward the metric |
Definition of an anisotropic metric tensor field based on the geometry of the domain; this tensor field is intersected by a user-defined tensor field
int _MMG2_grad2met_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
double * | m, | ||
double * | n, | ||
double | difsiz | ||
) |
mesh | pointer toward the mesh |
met | pointer toward the metric |
m | frist metric |
n | second metric |
difsiz | maximal size gap authorized by the gradation. |
Perform simultaneous reduction of matrices m1 and m2, and truncate characteristic sizes so that the difference between two corresponding sizes is less than difsiz.
Ref : https://www.rocq.inria.fr/gamma/Frederic.Alauzet/cours/cea2010_V2.pdf
int _MMG2_gradsiz_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh |
met | pointer toward the metric |
Anisotropic mesh gradation routine