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
 
LIBMMG3D_EXPORT int(* MMG3D_doSol )(MMG5_pMesh mesh, MMG5_pSol met) =NULL
 

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
Parameters
meshpointer toward the mesh structure
metpointer toward the sol structure
Returns
1 if success

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

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
Parameters
capointer toward the coordinates of the first edge's extremity.
cbpointer toward the coordinates of the second edge's extremity.
mapointer toward the metric associated to the first edge's extremity.
mbpointer toward the metric associated to the second edge's extremity.
Returns
edge length.

Compute length of edge $[ca,cb]$ (with ca and cb coordinates of edge extremities) 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.