Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions | Variables
intmet_s.c File Reference

Metric interpolations. More...

#include "libmmgs_private.h"
Include dependency graph for intmet_s.c:

Go to the source code of this file.

Functions

int intregmet (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, double s, double mr[6])
 
int intmet_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, MMG5_int ip, double s)
 
int intmet_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, MMG5_int ip, double s)
 
int MMGS_intmet33_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t i, MMG5_int ip, double s)
 

Variables

int8_t ddb
 

Detailed Description

Metric interpolations.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5
Todo:
doxygen documentation.

Definition in file intmet_s.c.

Function Documentation

◆ intmet_ani()

int intmet_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  k,
int8_t  i,
MMG5_int  ip,
double  s 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
kelement index.
ilocal index of edge in k.
ipglobal index of the new point in which we want to compute the metric.
sinterpolation 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).

Definition at line 104 of file intmet_s.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ intmet_iso()

int intmet_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  k,
int8_t  i,
MMG5_int  ip,
double  s 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
ktriangle in which we interpole the metrics.
iedge along which we interpole the metrics.
ipindex of point in which we compute the interpolated metric.
sparameter at which we compute the interpolation.
Returns
1 if success, 0 otherwise.

Linear interpolation of sizemap along edge i of tria k.

Definition at line 77 of file intmet_s.c.

Here is the caller graph for this function:

◆ intregmet()

int intregmet ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  k,
int8_t  i,
double  s,
double  mr[6] 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
kelement index.
ilocal index of edge in k.
sinterpolation parameter.
mrcomputed metric.
Returns
call to MMG5_interpreg_ani (thus, 0 if fail, 1 otherwise).

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 57 of file intmet_s.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_intmet33_ani()

int MMGS_intmet33_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  k,
int8_t  i,
MMG5_int  ip,
double  s 
)
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
kelement index.
ilocal index of edge in k.
ipglobal index of the new point in which we want to compute the metric.
sinterpolation 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).

Definition at line 144 of file intmet_s.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ddb

int8_t ddb
extern

Definition at line 42 of file mmg3d1_delone.c.