60FORTRAN_NAME(MMG2D_GET_NUMBEROFNONBDYEDGES,mmg2d_get_numberofnonbdyedges,
133 (
double m[3],
double lambda[2],
double vp[2][2],
int *
retval),
209 (
char *prog,
int *strlen),
213 tmp = (
char*)malloc((*strlen+1)*
sizeof(char));
MMG5_pMesh char int int * retval
strncpy(tmp, meshin, *strlen0)
MMG5_pMesh MMG5_pSol * sol
API headers and documentation for the mmg2d library.
LIBMMG2D_EXPORT void MMG2D_Free_triangles(MMG5_pMesh mesh)
Free the mesh elements (and the adjacency information).
LIBMMG2D_EXPORT int MMG2D_Get_trisFromEdge(MMG5_pMesh mesh, MMG5_int ked, MMG5_int ktri[2], int ied[2])
Find two triangles given the edge that they share.
LIBMMG2D_EXPORT MMG5_int MMG2D_Get_adjaVertices(MMG5_pMesh mesh, MMG5_int ip, MMG5_int lispoi[MMG2D_LMAX])
Return adjacent vertices of a triangle.
LIBMMG2D_EXPORT int MMG2D_Get_adjaTri(MMG5_pMesh mesh, MMG5_int kel, MMG5_int listri[3])
Return adjacent elements of a triangle.
LIBMMG2D_EXPORT int MMG2D_parsop(MMG5_pMesh mesh, MMG5_pSol met)
Read a file containing Local parameters (.mmg2d extension)
LIBMMG2D_EXPORT int MMG2D_Compute_eigenv(double m[3], double lambda[2], double vp[2][2])
Compute the real eigenvalues and eigenvectors of a symmetric matrix.
LIBMMG2D_EXPORT int MMG2D_usage(char *prog)
Print help for mmg2d options.
LIBMMG2D_EXPORT void MMG2D_Free_solutions(MMG5_pMesh mesh, MMG5_pSol sol)
Free the solution.
LIBMMG2D_EXPORT int MMG2D_Get_numberOfNonBdyEdges(MMG5_pMesh mesh, MMG5_int *nb_edges)
Get the number of non-boundary edges.
LIBMMG2D_EXPORT void MMG2D_Reset_verticestags(MMG5_pMesh mesh)
Reset the vertex tags.
LIBMMG2D_EXPORT int MMG2D_Get_nonBdyEdge(MMG5_pMesh mesh, MMG5_int *e0, MMG5_int *e1, MMG5_int *ref, MMG5_int idx)
Get vertices and reference of a non-boundary edge.
LIBMMG2D_EXPORT int(* MMG2D_doSol)(MMG5_pMesh mesh, MMG5_pSol met)
Compute unit tensor according to the lengths of the edges passing through a vertex.
LIBMMG2D_EXPORT int MMG2D_Get_triFromEdge(MMG5_pMesh mesh, MMG5_int ked, MMG5_int *ktri, int *ied)
Find a triangle given an adjacent triangle and an edge number.
LIBMMG2D_EXPORT int MMG2D_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met)
Compute a constant size map according to the hsiz, hmin and hmax parameters.
LIBMMG2D_EXPORT MMG5_int MMG2D_Get_adjaVerticesFast(MMG5_pMesh mesh, MMG5_int ip, MMG5_int start, MMG5_int lispoi[MMG2D_LMAX])
Return adjacent vertices of a triangle.
LIBMMG2D_EXPORT void MMG2D_Free_edges(MMG5_pMesh mesh)
Free the mesh edges (and the associated xpoints).
LIBMMG2D_EXPORT void MMG2D_setfunc(MMG5_pMesh mesh, MMG5_pSol met)
Set function pointers for length, caltri... depending if case is iso or aniso.
#define FORTRAN_NAME(nu, nl, pl, pc)
Adds function definitions.
#define MMG5_SAFE_FREE(ptr)