mmg3d
cenrad_3d.c File Reference

Compute radius and center of circumscribing circle to the element. More...

#include "mmg3d.h"
Include dependency graph for cenrad_3d.c:

Functions

int MMG5_cenrad_iso (MMG5_pMesh mesh, double *ct, double *c, double *rad)
 
int MMG5_cenrad_ani (MMG5_pMesh mesh, double *ct, double *m, double *c, double *rad)
 

Detailed Description

Compute radius and center of circumscribing circle to the element.

Author
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Date
2013
Version
5
Remarks
Delaunay mode only (PATTERN flag set to OFF).

Function Documentation

◆ MMG5_cenrad_ani()

int MMG5_cenrad_ani ( MMG5_pMesh  mesh,
double *  ct,
double *  m,
double *  c,
double *  rad 
)
Parameters
meshpointer toward the mesh structure.
ctcoordinates of vertices of the element.
mmetric at the point for which we compute the cavity.
ccenter of circumscribing circle to the element.
radsquared radius of circumscribing circle to the element.
Returns
0 if failed, 1 otherwise.

Compute radius (squared) and center of circumscribing circle to the element for an anisotropic metric m.

◆ MMG5_cenrad_iso()

int MMG5_cenrad_iso ( MMG5_pMesh  mesh,
double *  ct,
double *  c,
double *  rad 
)
Parameters
meshpointer toward the mesh structure.
ctcoordinates of vertices of the element.
ccenter of circumscribing circle to the element.
radsquared radius of circumscribing circle to the element.
Returns
0 if failed, 1 otherwise.

Compute radius (squared) and center of circumscribing circle to the element.