Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Macros | Variables
mmg3dexterns.c File Reference
#include "libmmg3d_private.h"
#include "mmg3d_export.h"
#include "mmg3dexterns_private.h"
Include dependency graph for mmg3dexterns.c:

Go to the source code of this file.

Macros

#define MMG_EXTERN
 
#define MMG_ASSIGN_NULL   =NULL
 

Variables

LIBMMG3D_EXPORT double(* MMG3D_lenedgCoor )(double *ca, double *cb, double *sa, double *sb) =NULL
 Compute the length of an edge according to the size prescription.
 
LIBMMG3D_EXPORT int(* MMG3D_doSol )(MMG5_pMesh mesh, MMG5_pSol met) =NULL
 Compute isotropic size map according to the mean of the length of the edges passing through a vertex.
 

Macro Definition Documentation

◆ MMG_ASSIGN_NULL

#define MMG_ASSIGN_NULL   =NULL

Definition at line 6 of file mmg3dexterns.c.

◆ MMG_EXTERN

#define MMG_EXTERN

Definition at line 5 of file mmg3dexterns.c.

Variable Documentation

◆ MMG3D_doSol

LIBMMG3D_EXPORT int(* MMG3D_doSol) (MMG5_pMesh mesh, MMG5_pSol met) ( MMG5_pMesh  mesh,
MMG5_pSol  met 
) =NULL

Compute isotropic size map according to the mean of the length of the edges passing through a vertex.

Parameters
meshpointer to the mesh structure
metpointer to the sol structure
Returns
1 if success
Remarks
Fortran interface:

‍ SUBROUTINE MMG3D_DOSOL(mesh,met,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,met
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 11 of file mmg3dexterns.c.

◆ MMG3D_lenedgCoor

LIBMMG3D_EXPORT double(* MMG3D_lenedgCoor) (double *ca, double *cb, double *sa, double *sb) ( double *  ca,
double *  cb,
double *  sa,
double *  sb 
) =NULL

Compute the length of an edge according to the size prescription.

Parameters
capointer to the coordinates of the first edge's extremity.
cbpointer to the coordinates of the second edge's extremity.
mapointer to the metric associated to the first edge's extremity.
mbpointer to the metric associated to the second edge's extremity.
Returns
edge length.

Compute the length of edge \([ca,cb]\) (with ca and cb coordinates of edge endpoints) according to the size prescription.

Remarks
Fortran interface:

‍ SUBROUTINE MMG3D_LENEDGCOOR(ca,cb,sa,sb,retval)
REAL(KIND=8), INTENT(IN) :: ca,cb,sa,sb
REAL(KIND=8), INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 10 of file mmg3dexterns.c.