mmg2d
libmmg2d.h
Go to the documentation of this file.
1 /* =============================================================================
2 ** This file is part of the mmg software package for the tetrahedral
3 ** mesh modification.
4 ** Copyright (c) Bx INP/CNRS/Inria/UBordeaux/UPMC, 2004-
5 **
6 ** mmg is free software: you can redistribute it and/or modify it
7 ** under the terms of the GNU Lesser General Public License as published
8 ** by the Free Software Foundation, either version 3 of the License, or
9 ** (at your option) any later version.
10 **
11 ** mmg is distributed in the hope that it will be useful, but WITHOUT
12 ** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 ** License for more details.
15 **
16 ** You should have received a copy of the GNU Lesser General Public
17 ** License and of the GNU General Public License along with mmg (in
18 ** files COPYING.LESSER and COPYING). If not, see
19 ** <http://www.gnu.org/licenses/>. Please read their terms carefully and
20 ** use this copy of the mmg distribution only if you accept them.
21 ** =============================================================================
22 */
34 #ifndef MMG2DLIB_H
35 #define MMG2DLIB_H
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 #include "mmg/mmg2d/libmmgtypes.h"
42 
46 #define MMG2D_LMAX 1024
47 
57  enum MMG2D_Param {
79  };
80 
81 /*----------------------------- functions header -----------------------------*/
82 /* Initialization functions */
83 /* init structures */
84 
109  int MMG2D_Init_mesh(const int starter,...);
110 
136 
137 /* init file names */
154  int MMG2D_Set_inputMeshName(MMG5_pMesh mesh, const char* meshin);
171  int MMG2D_Set_outputMeshName(MMG5_pMesh mesh, const char* meshout);
189  int MMG2D_Set_inputSolName(MMG5_pMesh mesh,MMG5_pSol sol, const char* solin);
207  int MMG2D_Set_outputSolName(MMG5_pMesh mesh,MMG5_pSol sol, const char* solout);
225  int MMG2D_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, int val);
226 
245  int MMG2D_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val);
246 
247 /* init structure datas */
267  int MMG2D_Set_meshSize(MMG5_pMesh mesh, int np, int nt, int na);
286  int MMG2D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity,
287  int np, int typSol);
309  int nentities, int *typSol);
330  int MMG2D_Set_vertex(MMG5_pMesh mesh, double c0, double c1,
331  int ref,int pos);
354  int MMG2D_Set_vertices(MMG5_pMesh mesh, double *vertices,int *refs);
371  int MMG2D_Set_corner(MMG5_pMesh mesh, int k);
388 
409  int MMG2D_Set_triangle(MMG5_pMesh mesh, int v0, int v1,
410  int v2, int ref, int pos);
430  int MMG2D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs);
440 
460  int MMG2D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref, int pos);
478  int MMG2D_Set_edges(MMG5_pMesh mesh, int *edges, int* refs);
528  int MMG2D_Set_scalarSol(MMG5_pSol met, double s, int pos);
545  int MMG2D_Set_scalarSols(MMG5_pSol met, double *s);
565  int MMG2D_Set_vectorSol(MMG5_pSol met, double vx,double vy,
566  int pos);
583  int MMG2D_Set_vectorSols(MMG5_pSol met, double *sols);
603  int MMG2D_Set_tensorSol(MMG5_pSol met, double m11, double m12, double m22,
604  int pos);
622  int MMG2D_Set_tensorSols(MMG5_pSol met, double *sols);
642  int MMG2D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol,int i, double* s,int pos);
663  int MMG2D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol,int i, double* s);
664 
683  int MMG2D_Get_meshSize(MMG5_pMesh mesh, int* np, int* nt, int* na);
702  int MMG2D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int* typEntity, int* np,
703  int* typSol);
725  int* nentities,int* typSol);
747  int MMG2D_Get_vertex(MMG5_pMesh mesh, double* c0, double* c1, int* ref,
748  int* isCorner, int* isRequired);
776  int MMG2D_Get_vertices(MMG5_pMesh mesh, double* vertices, int* refs,
777  int* areCorners, int* areRequired);
799  int MMG2D_Get_triangle(MMG5_pMesh mesh, int* v0, int* v1, int* v2, int* ref
800  ,int* isRequired);
824  int MMG2D_Get_triangles(MMG5_pMesh mesh, int* tria, int* refs,
825  int* areRequired);
848  int MMG2D_Get_edge(MMG5_pMesh mesh, int* e0, int* e1, int* ref
849  ,int* isRidge, int* isRequired);
870  int MMG2D_Get_edges(MMG5_pMesh mesh,int *edges,int* refs,
871  int *areRidges,int *areRequired);
887  int MMG2D_Get_scalarSol(MMG5_pSol met, double* s);
904  int MMG2D_Get_scalarSols(MMG5_pSol met, double* s);
921  int MMG2D_Get_vectorSol(MMG5_pSol met, double* vx, double* vy);
938  int MMG2D_Get_vectorSols(MMG5_pSol met, double* sols);
956  int MMG2D_Get_tensorSol(MMG5_pSol met, double *m11,double *m12,double *m22);
973  int MMG2D_Get_tensorSols(MMG5_pSol met, double *sols);
993  int MMG2D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol,int i, double* s,int pos);
1014  int MMG2D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol,int i, double* s);
1015 
1016 
1033 
1034 /* deallocations */
1066  int MMG2D_Free_all(const int starter,...);
1067 
1101  int MMG2D_Free_structures(const int starter,...);
1102 
1136  int MMG2D_Free_names(const int starter,...);
1137 
1154  int MMG2D_loadMesh(MMG5_pMesh mesh,const char * filename);
1173  int MMG2D_loadMshMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
1192  int MMG2D_loadMshMesh_and_allData(MMG5_pMesh mesh,MMG5_pSol *sol,const char *filename);
1193 
1212  int MMG2D_loadSol(MMG5_pMesh mesh,MMG5_pSol sol,const char * filename);
1230  int MMG2D_loadAllSols(MMG5_pMesh mesh,MMG5_pSol *sol, const char* filename);
1231 
1233 
1250  int MMG2D_saveMesh(MMG5_pMesh ,const char *);
1269  int MMG2D_saveMshMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
1288  int MMG2D_saveMshMesh_and_allData(MMG5_pMesh mesh,MMG5_pSol *sol,const char *filename);
1306  int MMG2D_saveSol(MMG5_pMesh mesh,MMG5_pSol sol ,const char *filename);
1324  int MMG2D_saveAllSols(MMG5_pMesh mesh,MMG5_pSol *sol ,const char *filename);
1325 
1326 
1327  int MMG2D_saveVect(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename,double lambda);
1328 
1346 
1364 
1401 
1402 /* Tools for the library */
1403 // void (*MMG2D_callbackinsert) (int ,int ,int ,int, int);
1404 
1420  int MMG2D_doSol(MMG5_pMesh mesh ,MMG5_pSol met );
1421 
1438 
1452 
1474  int MMG2D_Get_adjaTri(MMG5_pMesh mesh, int kel, int listri[3]);
1475 
1496  int MMG2D_Get_adjaVertices(MMG5_pMesh mesh, int ip, int lispoi[MMG2D_LMAX]);
1497 
1519  int MMG2D_Get_adjaVerticesFast(MMG5_pMesh mesh, int ip,int start,
1520  int lispoi[MMG2D_LMAX]);
1541  int MMG2D_Get_triFromEdge(MMG5_pMesh mesh, int ked, int *ktri, int *ied);
1565  int MMG2D_Get_trisFromEdge(MMG5_pMesh mesh, int ked, int ktri[2], int ied[2]);
1590 
1603 
1617 
1618 
1619 #ifdef __cplusplus
1620 }
1621 #endif
1622 
1623 #endif
MMG5_Mesh::nprism
int nprism
Definition: libmmgtypes.h:517
MMG5_defsiz_startingMessage
int MMG5_defsiz_startingMessage(MMG5_pMesh mesh, MMG5_pSol met, const char *funcname)
Definition: isosiz.c:77
MMG2D_hashTria
int MMG2D_hashTria(MMG5_pMesh mesh)
Definition: hash_2d.c:49
MMG5_Edge
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:243
MMG5_compute_meanMetricAtMarkedPoints
int(* MMG5_compute_meanMetricAtMarkedPoints)(MMG5_pMesh, MMG5_pSol)
Definition: mmgexterns.c:34
MMG5_Par::hmax
double hmax
Definition: libmmgtypes.h:203
MMG2D_IPARAM_angle
@ MMG2D_IPARAM_angle
Definition: libmmg2d.h:61
MMG2D_Get_triangles
int MMG2D_Get_triangles(MMG5_pMesh mesh, int *tria, int *refs, int *areRequired)
Definition: API_functions_2d.c:791
MMG5_Mesh::prism
MMG5_pPrism prism
Definition: libmmgtypes.h:546
MMG5_Info::npar
int npar
Definition: libmmgtypes.h:447
MMG5_Mesh::nenil
int nenil
Definition: libmmgtypes.h:527
MMG2D_setfunc
void MMG2D_setfunc(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg2d_tools.c:35
MMG2D_IPARAM_debug
@ MMG2D_IPARAM_debug
Definition: libmmg2d.h:60
MMG5_Sol::np
int np
Definition: libmmgtypes.h:566
MMG5_Point::c
double c[3]
Definition: libmmgtypes.h:215
MMG5_Mesh::namax
int namax
Definition: libmmgtypes.h:516
MMG2D_Set_commonFunc
static void MMG2D_Set_commonFunc()
Definition: mmg2d.h:375
MMG2D_Set_edge
int MMG2D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref, int pos)
Definition: API_functions_2d.c:817
MMG5_Info::hmin
double hmin
Definition: libmmgtypes.h:445
MMG5_Tria::v
int v[3]
Definition: libmmgtypes.h:272
MMG2D_Init_mesh
int MMG2D_Init_mesh(const int starter,...)
Definition: API_functions_2d.c:43
MMG5_Tetra
Definition: libmmgtypes.h:339
MMG2D_Set_corner
int MMG2D_Set_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:478
MMG5_Sol
Definition: libmmgtypes.h:563
MMG2D_Set_ithSol_inSolsAtVertices
int MMG2D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_2d.c:1349
MMG2D_solTruncatureForOptim
void MMG2D_solTruncatureForOptim(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg2d.c:49
MMG5_gradsiz_iso
int MMG5_gradsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:268
MMG2D_Set_tensorSols
int MMG2D_Set_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1254
MMG5_Point::s
int s
Definition: libmmgtypes.h:222
MMG2D_saveAllSols
int MMG2D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:1505
MMG5_Edge::ref
int ref
Definition: libmmgtypes.h:245
MMG2D_Get_vertex
int MMG2D_Get_vertex(MMG5_pMesh mesh, double *c0, double *c1, int *ref, int *isCorner, int *isRequired)
Definition: API_functions_2d.c:490
MMG2D_Set_ithSols_inSolsAtVertices
int MMG2D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_2d.c:1293
MMG2D_Set_edges
int MMG2D_Set_edges(MMG5_pMesh mesh, int *edges, int *refs)
Definition: API_functions_2d.c:940
MMG5_Triangle
@ MMG5_Triangle
Definition: libmmgtypes.h:188
MMG2D_loadMesh
int MMG2D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_2d.c:78
MMG2D_Set_vertices
int MMG2D_Set_vertices(MMG5_pMesh mesh, double *vertices, int *refs)
Definition: API_functions_2d.c:536
MMG2D_Set_dparameter
int MMG2D_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val)
Definition: API_functions_2d.c:189
MMG2D_Get_solSize
int MMG2D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int *typEntity, int *np, int *typSol)
Definition: API_functions_2d.c:363
MMG_swapd
double MMG_swapd(double sbin)
Definition: inout_2d.c:63
MMG2D_Set_vectorSols
int MMG2D_Set_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1148
MMG2D_mmg2dlib
int MMG2D_mmg2dlib(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d.c:141
MMG5_Mesh::xt
int xt
Definition: libmmgtypes.h:525
MMG5_Sol::namein
char * namein
Definition: libmmgtypes.h:573
MMG5_NSOLS_MAX
#define MMG5_NSOLS_MAX
Definition: libmmgtypes.h:167
MMG5_Info::iso
char iso
Definition: libmmgtypes.h:453
MMG5_swapf
static float MMG5_swapf(float sbin)
Definition: inout.c:64
MMG5_Mesh::xp
int xp
Definition: libmmgtypes.h:525
MMG5_Sol::size
int size
Definition: libmmgtypes.h:569
MMG2D_Set_inputMeshName
int MMG2D_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions_2d.c:63
MMG2D_Set_triangles
int MMG2D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs)
Definition: API_functions_2d.c:736
ON
#define ON
Definition: chrono.h:43
MMG2D_loadMshMesh_and_allData
int MMG2D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:669
MMG5_printSolStats
void MMG5_printSolStats(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: inout.c:2428
MMG2D_LMAX
#define MMG2D_LMAX
Definition: libmmg2d.h:46
MMG5_Info::nreg
char nreg
Definition: libmmgtypes.h:452
MMG5_Mesh::point
MMG5_pPoint point
Definition: libmmgtypes.h:542
MMG2D_IPARAM_numsubdomain
@ MMG2D_IPARAM_numsubdomain
Definition: libmmg2d.h:65
MMG2D_Get_vectorSol
int MMG2D_Get_vectorSol(MMG5_pSol met, double *vx, double *vy)
Definition: API_functions_2d.c:1117
MMG2D_mmg2dmov
int MMG2D_mmg2dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg2d.c:768
MMG5_Tria::edg
int edg[3]
Definition: libmmgtypes.h:277
MMG2D_Get_triangle
int MMG2D_Get_triangle(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *ref, int *isRequired)
Definition: API_functions_2d.c:691
MMG5_Tria::tag
int16_t tag[3]
Definition: libmmgtypes.h:280
MMG5_Info::noinsert
unsigned char noinsert
Definition: libmmgtypes.h:457
MMG5_swapd
static double MMG5_swapd(double sbin)
Definition: inout.c:76
MMG2D_2dMshCheck
static int MMG2D_2dMshCheck(MMG5_pMesh mesh)
Definition: inout_2d.c:579
mmg2d.h
MMG2D_writeDoubleSol
static void MMG2D_writeDoubleSol(MMG5_pSol sol, FILE *inm, int bin, int pos)
Definition: inout_2d.c:1428
MMG2D_IPARAM_iso
@ MMG2D_IPARAM_iso
Definition: libmmg2d.h:62
MMG5_Info::hgradreq
double hgradreq
Definition: libmmgtypes.h:445
MMG5_Mesh::base
int base
Definition: libmmgtypes.h:521
MMG2D_savemesh_db
int MMG2D_savemesh_db(MMG5_pMesh mesh, char *filename, char pack)
Definition: inout_2d.c:1558
sol
MMG5_pMesh MMG5_pSol * sol
Definition: API_functionsf_2d.c:63
MMG2D_saveMshMesh_and_allData
int MMG2D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:1414
MMG5_Mesh::np
int np
Definition: libmmgtypes.h:516
MMG5_Mesh::nsols
int nsols
Definition: libmmgtypes.h:518
MMG2D_IPARAM_noinsert
@ MMG2D_IPARAM_noinsert
Definition: libmmg2d.h:67
MMG2D_Set_scalarSols
int MMG2D_Set_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_2d.c:1050
MMG5_Point::ref
int ref
Definition: libmmgtypes.h:217
MMG2D_Free_solutions
void MMG2D_Free_solutions(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d_tools.c:423
MMG2D_DPARAM_hmin
@ MMG2D_DPARAM_hmin
Definition: libmmg2d.h:72
MMG2D_intmet_iso
int MMG2D_intmet_iso(MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s)
Definition: intmet_2d.c:38
MMG5_Par::ref
int ref
Definition: libmmgtypes.h:205
MMG5_sum_reqEdgeLengthsAtPoint
int MMG5_sum_reqEdgeLengthsAtPoint(MMG5_pMesh mesh, MMG5_pSol met, int ip0, int ip1)
Definition: isosiz.c:129
MMG5_Info::optim
unsigned char optim
Definition: libmmgtypes.h:457
MMG2D_loadMshMesh
int MMG2D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:606
MMG5_saveMshMesh
int MMG5_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename, int metricData)
Definition: inout.c:1504
MMG2D_Get_scalarSols
int MMG2D_Get_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_2d.c:1067
MMG2D_zaldy
int MMG2D_zaldy(MMG5_pMesh mesh)
Definition: zaldy_2d.c:283
meshin
MMG5_pMesh char * meshin
Definition: API_functionsf_2d.c:629
MMG2D_IPARAM_nosurf
@ MMG2D_IPARAM_nosurf
Definition: libmmg2d.h:70
MMG5_Mesh::ne
int ne
Definition: libmmgtypes.h:516
MMG2D_lencurv_iso
double MMG2D_lencurv_iso(MMG5_pMesh mesh, MMG5_pSol met, int ip1, int ip2)
Definition: length_2d.c:62
MMG5_Mesh::adja
int * adja
Definition: libmmgtypes.h:529
MMG5_Mesh::nai
int nai
Definition: libmmgtypes.h:516
MMG2D_Set_solSize
int MMG2D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_2d.c:284
MMG2D_mmg2dmesh
int MMG2D_mmg2dmesh(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d.c:384
MMG2D_Set_tensorSol
int MMG2D_Set_tensorSol(MMG5_pSol met, double m11, double m12, double m22, int pos)
Definition: API_functions_2d.c:1186
MMG2D_Free_all
int MMG2D_Free_all(const int starter,...)
Definition: API_functions_2d.c:1451
MMG5_Info::hausd
double hausd
Definition: libmmgtypes.h:445
MMG5_Prism::v
int v[6]
Definition: libmmgtypes.h:401
MMG5_Mesh::tria
MMG5_pTria tria
Definition: libmmgtypes.h:548
MMG2D_Free_triangles
void MMG2D_Free_triangles(MMG5_pMesh mesh)
Definition: libmmg2d_tools.c:391
MMG5_Info::inputMet
unsigned char inputMet
Definition: libmmgtypes.h:458
MMG2D_saveMshMesh
int MMG2D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:1410
MMG2D_IPARAM_verbose
@ MMG2D_IPARAM_verbose
Definition: libmmg2d.h:58
MMG2D_set_metricAtPointsOnReqEdges
int MMG2D_set_metricAtPointsOnReqEdges(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_2d.c:73
MMG2D_unscaleMesh
int MMG2D_unscaleMesh(MMG5_pMesh, MMG5_pSol)
Definition: scalem_2d.c:311
MMG2D_IPARAM_nomove
@ MMG2D_IPARAM_nomove
Definition: libmmg2d.h:69
mesh
MMG5_pMesh * mesh
Definition: API_functionsf_2d.c:63
MMG2D_mmg2dls
int MMG2D_mmg2dls(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d.c:597
MMG5_Mesh::quadra
MMG5_pQuad quadra
Definition: libmmgtypes.h:549
MMG5_loadMshMesh_part2
int MMG5_loadMshMesh_part2(MMG5_pMesh mesh, MMG5_pSol *sol, FILE **inm, const long posNodes, const long posElts, const long *posNodeData, const int bin, const int iswp, const int nelts, const int nsols)
Definition: inout.c:489
MMG5_eigenv
int MMG5_eigenv(int symmat, double *mat, double lambda[3], double v[3][3])
Find eigenvalues and vectors of a 3x3 matrix.
Definition: eigenv.c:356
MMG5_gradation_info
void MMG5_gradation_info(MMG5_pMesh mesh)
Definition: isosiz.c:96
MMG2D_savedisp_db
int MMG2D_savedisp_db(MMG5_pMesh mesh, MMG5_pSol disp, char *filename, char pack)
Definition: inout_2d.c:1762
MMG2D_Get_adjaTri
int MMG2D_Get_adjaTri(MMG5_pMesh mesh, int kel, int listri[3])
Return adjacent elements of a triangle.
Definition: libmmg2d_tools.c:198
chrono
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
sw
#define sw
Definition: inout_2d.c:25
MMG2D_Set_outputSolName
int MMG2D_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions_2d.c:77
MMG5_Mesh::npi
int npi
Definition: libmmgtypes.h:516
MMG2D_loadVect
int MMG2D_loadVect(MMG5_pMesh, char *)
MMG2D_DPARAM_ls
@ MMG2D_DPARAM_ls
Definition: libmmg2d.h:78
MMG5_Tria::ref
int ref
Definition: libmmgtypes.h:273
MMG2D_Set_meshSize
int MMG2D_Set_meshSize(MMG5_pMesh mesh, int np, int nt, int na)
Definition: API_functions_2d.c:245
MMG5_Point
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:214
MMG2D_mmg2dmov
int MMG2D_mmg2dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg2d.c:768
MMG2D_Get_vectorSols
int MMG2D_Get_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1170
mytime
Chrono object.
Definition: chrono.h:58
MMG5_Edge::b
int b
Definition: libmmgtypes.h:244
MMG2D_loadMshMesh_and_allData
int MMG2D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:669
MMG5_Sol::m
double * m
Definition: libmmgtypes.h:571
MMG2D_Get_edge
int MMG2D_Get_edge(MMG5_pMesh mesh, int *e0, int *e1, int *ref, int *isRidge, int *isRequired)
Definition: API_functions_2d.c:883
MMG2D_Free_names
int MMG2D_Free_names(const int starter,...)
Definition: API_functions_2d.c:1480
MMG2D_Set_iparameter
int MMG2D_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, int val)
Definition: API_functions_2d.c:101
MMG5_loadSolHeader
int MMG5_loadSolHeader(const char *filename, int meshDim, FILE **inm, int *ver, int *bin, int *iswp, int *np, int *dim, int *nsols, int **type, long *posnp, int imprim)
Definition: inout.c:1968
MMG2D_DPARAM_angleDetection
@ MMG2D_DPARAM_angleDetection
Definition: libmmg2d.h:71
MMG5_STRONGFAILURE
#define MMG5_STRONGFAILURE
Definition: libmmgtypes.h:56
MMG2D_lencurv
double(* MMG2D_lencurv)(MMG5_pMesh, MMG5_pSol, int, int)
Definition: mmg2dexterns.c:5
MMG2D_quickarea
double MMG2D_quickarea(double a[2], double b[2], double c[2])
Definition: tools.c:856
MMG5_Par::elt
char elt
Definition: libmmgtypes.h:206
MMG5_mark_pointsOnReqEdge_fromTria
void MMG5_mark_pointsOnReqEdge_fromTria(MMG5_pMesh mesh)
Definition: isosiz.c:233
MMG2D_mmg2d1n
int MMG2D_mmg2d1n(MMG5_pMesh, MMG5_pSol)
Definition: mmg2d1.c:806
MMG5_rotmatrix
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:232
MMG2D_Get_tensorSols
int MMG2D_Get_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1277
MMG2D_Get_edges
int MMG2D_Get_edges(MMG5_pMesh mesh, int *edges, int *refs, int *areRidges, int *areRequired)
Definition: API_functions_2d.c:959
MMG5_Quad::v
int v[4]
Definition: libmmgtypes.h:305
MMG5_interpmet22
int MMG5_interpmet22(MMG5_pMesh mesh, double *m, double *n, double s, double *mr)
Definition: intmet_2d.c:54
MMG2D_restart
static int MMG2D_restart(MMG5_pMesh mesh)
Definition: libmmg2d.c:352
MMG2D_IPARAM_noswap
@ MMG2D_IPARAM_noswap
Definition: libmmg2d.h:68
MMG5_Mesh::na
int na
Definition: libmmgtypes.h:516
MMG5_readFloatSol3D
void MMG5_readFloatSol3D(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout.c:2106
MMG5_Info::imprim
char imprim
Definition: libmmgtypes.h:453
MMG2D_Get_trisFromEdge
int MMG2D_Get_trisFromEdge(MMG5_pMesh mesh, int ked, int ktri[2], int ied[2])
Definition: libmmg2d_tools.c:317
MMG2D_loadAllSols
int MMG2D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:873
MMG5_Info::hgrad
double hgrad
Definition: libmmgtypes.h:445
MMG2D_Set_requiredTriangle
int MMG2D_Set_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:674
MMG5_Edge::tag
int16_t tag
Definition: libmmgtypes.h:248
MMG5_EPS
#define MMG5_EPS
Definition: eigenv.h:32
MMG5_Point::tag
int16_t tag
Definition: libmmgtypes.h:223
MMG5_xPoint::n1
double n1[3]
Definition: libmmgtypes.h:234
MMG5_Tria
Definition: libmmgtypes.h:270
MMG5_Mesh::nanil
int nanil
Definition: libmmgtypes.h:528
MMG2D_savemet_db
int MMG2D_savemet_db(MMG5_pMesh mesh, MMG5_pSol met, char *filename, char pack)
Definition: inout_2d.c:1647
MMG5_displayLengthHisto
void MMG5_displayLengthHisto(MMG5_pMesh mesh, int ned, double *avlen, int amin, int bmin, double lmin, int amax, int bmax, double lmax, int nullEdge, double *bd, int *hl, char shift)
Definition: quality.c:251
MMG2D_Set_solsAtVerticesSize
int MMG2D_Set_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int nsols, int nentities, int *typSol)
Definition: API_functions_2d.c:330
MMG2D_Set_requiredVertex
int MMG2D_Set_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:484
MMG5_SUCCESS
#define MMG5_SUCCESS
Definition: libmmgtypes.h:40
MMG2D_saveSol
int MMG2D_saveSol(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:1453
MMG5_Sol::ver
int ver
Definition: libmmgtypes.h:564
MMG2D_Get_ithSol_inSolsAtVertices
int MMG2D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_2d.c:1376
MMG5_orvol
double MMG5_orvol(MMG5_pPoint point, int *v)
Definition: tools.c:836
MMG5_LOWFAILURE
#define MMG5_LOWFAILURE
Definition: libmmgtypes.h:48
MMG2D_saveVect
int MMG2D_saveVect(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename, double lambda)
MMG2D_mmg2dmesh
int MMG2D_mmg2dmesh(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d.c:384
MMG5_Mesh::nquad
int nquad
Definition: libmmgtypes.h:517
MMG5_Quad::ref
int ref
Definition: libmmgtypes.h:306
MMG5_Sol::type
int type
Definition: libmmgtypes.h:570
MMG2D_outqua
int MMG2D_outqua(MMG5_pMesh, MMG5_pSol)
Definition: quality_2d.c:156
MMG2D_Set_parallelEdge
int MMG2D_Set_parallelEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:865
MMG2D_DPARAM_hmax
@ MMG2D_DPARAM_hmax
Definition: libmmg2d.h:73
MMG2D_saveMshMesh_and_allData
int MMG2D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:1414
MMG2D_EPSD
#define MMG2D_EPSD
Definition: mmg2d.h:51
MMG5_Mesh::xpoint
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:543
MMG2D_Get_adjaVerticesFast
int MMG2D_Get_adjaVerticesFast(MMG5_pMesh mesh, int ip, int start, int lispoi[MMG2D_LMAX])
Return adjacent elements of a triangle.
Definition: libmmg2d_tools.c:224
MMG5_swapbin
static int MMG5_swapbin(int sbin)
Definition: inout.c:41
MMG2D_Init_parameters
void MMG2D_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions_2d.c:80
MMG5_interpreg_ani
int MMG5_interpreg_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, char i, double s, double mr[6])
Definition: intmet.c:627
OFF
#define OFF
Definition: chrono.h:44
printim
void printim(double elps, char *stim)
Print real time.
Definition: chrono.c:149
MMG2D_saveSol
int MMG2D_saveSol(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:1453
MMG5_Point::xp
int xp
Definition: libmmgtypes.h:218
MMG2D_Chk_meshData
int MMG2D_Chk_meshData(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions_2d.c:1406
MMG5_Mesh::tetra
MMG5_pTetra tetra
Definition: libmmgtypes.h:544
MMG2D_Init_fileNames
void MMG2D_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions_2d.c:56
MMG5_paratmet
int MMG5_paratmet(double c0[3], double n0[3], double m[6], double c1[3], double n1[3], double mt[6])
Definition: mettools.c:652
MMG5_readDoubleSol3D
void MMG5_readDoubleSol3D(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout.c:2152
MMG2D_loadAllSols
int MMG2D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:873
MMG2D_analys
int MMG2D_analys(MMG5_pMesh mesh)
Definition: analys_2d.c:680
MMG2D_Set_scalarSol
int MMG2D_Set_scalarSol(MMG5_pSol met, double s, int pos)
Definition: API_functions_2d.c:989
MMG2D_Get_triFromEdge
int MMG2D_Get_triFromEdge(MMG5_pMesh mesh, int ked, int *ktri, int *ied)
Definition: libmmg2d_tools.c:298
MMG5_Info::renum
int renum
Definition: libmmgtypes.h:449
MMG2D_pack
int MMG2D_pack(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: hash_2d.c:354
MMG2D_Set_vectorSol
int MMG2D_Set_vectorSol(MMG5_pSol met, double vx, double vy, int pos)
Definition: API_functions_2d.c:1076
MMG2D_Param
MMG2D_Param
Input parameters for mmg library.
Definition: libmmg2d.h:57
sd
#define sd
Definition: inout.c:39
MMG5_Set_inputSolName
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:177
tminit
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
MMG5_Sol::dim
int dim
Definition: libmmgtypes.h:565
MMG5_buildridmetnor
int MMG5_buildridmetnor(MMG5_pMesh mesh, MMG5_pSol met, int np0, double nt[3], double mr[6], double r[3][3])
Definition: mettools.c:191
MMG2D_loadMesh
int MMG2D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_2d.c:78
MMG2D_Set_inputSolName
int MMG2D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_2d.c:68
MMG2D_saveMesh
int MMG2D_saveMesh(MMG5_pMesh, const char *)
Definition: inout_2d.c:970
MMG5_Quad
Definition: libmmgtypes.h:304
MMG5_Mesh::nt
int nt
Definition: libmmgtypes.h:516
MMG5_countBinaryElts
static int MMG5_countBinaryElts(FILE **inm, const int nelts, const int iswp, int *np, int *na, int *nt, int *nq, int *ne, int *npr)
Definition: inout.c:92
MMG5_build3DMetric
static void MMG5_build3DMetric(MMG5_pMesh mesh, MMG5_pSol sol, int ip, double dbuf[6])
Definition: inout.c:1447
MMG5_Par::hausd
double hausd
Definition: libmmgtypes.h:204
MMG2D_intmet_ani
int MMG2D_intmet_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s)
Definition: intmet_2d.c:237
MMG5_Mesh
MMG mesh structure.
Definition: libmmgtypes.h:509
MMG5_Info::par
MMG5_pPar par
Definition: libmmgtypes.h:444
MMG5_xPoint::n2
double n2[3]
Definition: libmmgtypes.h:234
MMG5_writeDoubleSol3D
void MMG5_writeDoubleSol3D(MMG5_pMesh mesh, MMG5_pSol sol, FILE *inm, int bin, int pos, int metricData)
Definition: inout.c:2200
MMG2D_excfun
static void MMG2D_excfun(int sigid)
Definition: mmg2d.h:92
MMG5_xPoint
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:233
MMG2D_mmg2d2
int MMG2D_mmg2d2(MMG5_pMesh, MMG5_pSol)
Definition: mmg2d2.c:495
MMG_swapf
float MMG_swapf(float sbin)
Definition: inout_2d.c:51
MMG5_Sol::npmax
int npmax
Definition: libmmgtypes.h:567
MMG5_Edg
@ MMG5_Edg
Definition: libmmgtypes.h:187
MMG5_Tria::flag
int flag
Definition: libmmgtypes.h:279
MMG5_Mesh::ver
int ver
Definition: libmmgtypes.h:513
MMG2D_Set_constantSize
int MMG2D_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg2d_tools.c:357
MMG2D_RETURN_AND_PACK
#define MMG2D_RETURN_AND_PACK(mesh, met, val)
Definition: libmmg2d.c:28
MMG5_interp_iso
int MMG5_interp_iso(double *ma, double *mb, double *mp, double t)
Definition: intmet.c:607
MMG2D_Set_outputMeshName
int MMG2D_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions_2d.c:72
MMG5_mmgIntmet33_ani
int MMG5_mmgIntmet33_ani(double *m, double *n, double *mr, double s)
Definition: intmet.c:178
MMG5_chkmsh
int(* MMG5_chkmsh)(MMG5_pMesh, int, int)
Definition: mmgexterns.c:27
MMG2D_Free_edges
void MMG2D_Free_edges(MMG5_pMesh mesh)
Definition: libmmg2d_tools.c:406
MMG5_invmatg
int MMG5_invmatg(double m[9], double mi[9])
Definition: tools.c:329
MMG5_Mesh::type
int type
Definition: libmmgtypes.h:515
MMG5_Info::hmax
double hmax
Definition: libmmgtypes.h:445
MMG5_Prism::ref
int ref
Definition: libmmgtypes.h:402
MMG5_Par
Definition: libmmgtypes.h:201
MMG5_Mesh::nei
int nei
Definition: libmmgtypes.h:516
MMG2D_Get_tensorSol
int MMG2D_Get_tensorSol(MMG5_pSol met, double *m11, double *m12, double *m22)
Definition: API_functions_2d.c:1220
sd
#define sd
Definition: inout_2d.c:26
MMG_swapbin
int MMG_swapbin(int sbin)
Definition: inout_2d.c:28
MMG5_Info::nosurf
unsigned char nosurf
Definition: libmmgtypes.h:457
MMG2D_Get_ithSols_inSolsAtVertices
int MMG2D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_2d.c:1321
MMG5_Mesh::info
MMG5_Info info
Definition: libmmgtypes.h:552
MMG2D_DPARAM_hgradreq
@ MMG2D_DPARAM_hgradreq
Definition: libmmg2d.h:77
MMG2D_saveMshMesh
int MMG2D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:1410
MMG5_Point::flag
int flag
Definition: libmmgtypes.h:221
MMG2D_doSol
int MMG2D_doSol(MMG5_pMesh mesh, MMG5_pSol met)
Definition: solmap_2d.c:46
MMG5_Edge::a
int a
Definition: libmmgtypes.h:244
MMG5_Mesh::npmax
int npmax
Definition: libmmgtypes.h:516
MMG2D_readDoubleSol
static void MMG2D_readDoubleSol(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout_2d.c:769
MMG2D_Set_vertex
int MMG2D_Set_vertex(MMG5_pMesh mesh, double c0, double c1, int ref, int pos)
Definition: API_functions_2d.c:438
MMG2D_savenor_db
int MMG2D_savenor_db(MMG5_pMesh mesh, char *filename, char pack)
Definition: inout_2d.c:1707
MMG2D_scaleMesh
int MMG2D_scaleMesh(MMG5_pMesh, MMG5_pSol)
Definition: scalem_2d.c:47
MMG2D_DPARAM_hausd
@ MMG2D_DPARAM_hausd
Definition: libmmg2d.h:75
MMG2D_mmg2d9
int MMG2D_mmg2d9(MMG5_pMesh, MMG5_pSol, MMG5_pSol)
Definition: mmg2d9.c:530
MG_ISO
#define MG_ISO
Definition: libmmgtypes.h:62
MMG5_Tetra::ref
int ref
Definition: libmmgtypes.h:342
MMG2D_mmg2dls
int MMG2D_mmg2dls(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d.c:597
MMG5_printMetStats
void MMG5_printMetStats(MMG5_pMesh mesh, MMG5_pSol met)
Definition: inout.c:2410
MMG5_Mesh::nti
int nti
Definition: libmmgtypes.h:516
MMG2D_loadSol
int MMG2D_loadSol(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:795
tmp
tmp[*strlen0]
Definition: API_functionsf_2d.c:635
MMG5_chkMetricType
int MMG5_chkMetricType(MMG5_pMesh mesh, int *type, FILE *inm)
Definition: inout.c:2378
MMG2D_Set_triangle
int MMG2D_Set_triangle(MMG5_pMesh mesh, int v0, int v1, int v2, int ref, int pos)
Definition: API_functions_2d.c:599
MMG2D_Reset_verticestags
void MMG2D_Reset_verticestags(MMG5_pMesh mesh)
Definition: libmmg2d_tools.c:382
MMG2D_saveMesh
int MMG2D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_2d.c:970
MMG2D_Set_requiredEdge
int MMG2D_Set_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:847
MMG5_Set_defaultTruncatureSizes
int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh, char sethmin, char sethmax)
Definition: API_functions.c:458
MMG5_intridmet
int MMG5_intridmet(MMG5_pMesh mesh, MMG5_pSol met, int ip1, int ip2, double s, double v[3], double mr[6])
Definition: intmet.c:291
MMG5_rmtr
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:198
MMG2D_DPARAM_hsiz
@ MMG2D_DPARAM_hsiz
Definition: libmmg2d.h:74
MMG2D_DPARAM_hgrad
@ MMG2D_DPARAM_hgrad
Definition: libmmg2d.h:76
MMG2D_Free_structures
int MMG2D_Free_structures(const int starter,...)
Definition: API_functions_2d.c:1465
MMG5_saveSolHeader
int MMG5_saveSolHeader(MMG5_pMesh mesh, const char *filename, FILE **inm, int ver, int *bin, int np, int dim, int nsols, int *type, int *size)
Definition: inout.c:2266
MMG5_gradsizreq_iso
int MMG5_gradsizreq_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:359
MMG5_bezierCP
int(* MMG5_bezierCP)(MMG5_pMesh, MMG5_Tria *, MMG5_pBezier, char)
Definition: mmgexterns.c:28
MMG2D_Set_solSize
int MMG2D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_2d.c:284
MMG2D_Get_vertices
int MMG2D_Get_vertices(MMG5_pMesh mesh, double *vertices, int *refs, int *areCorners, int *areRequired)
Definition: API_functions_2d.c:564
MMG5_Mesh::edge
MMG5_pEdge edge
Definition: libmmgtypes.h:550
MMG2D_Set_inputSolName
int MMG2D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_2d.c:68
MMG5_reset_metricAtReqEdges_surf
int MMG5_reset_metricAtReqEdges_surf(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:194
ier
int ier
Definition: API_functionsf_2d.c:594
MMG5_Info::ddebug
char ddebug
Definition: libmmgtypes.h:453
sw
#define sw
Definition: inout.c:38
MMG5_Info::lag
char lag
Definition: libmmgtypes.h:453
MMG2D_saveAllSols
int MMG2D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:1505
MMG2D_readFloatSol
static void MMG2D_readFloatSol(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout_2d.c:741
MMG2D_IPARAM_lag
@ MMG2D_IPARAM_lag
Definition: libmmg2d.h:63
MMG5_loadMshMesh_part1
int MMG5_loadMshMesh_part1(MMG5_pMesh mesh, const char *filename, FILE **inm, long *posNodes, long *posElts, long **posNodeData, int *bin, int *iswp, int *nelts, int *nsols)
Definition: inout.c:241
MMG5_Prism
Definition: libmmgtypes.h:400
MMG5_compute_meanMetricAtMarkedPoints_iso
int MMG5_compute_meanMetricAtMarkedPoints_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:167
MMG2D_mmg2d6
int MMG2D_mmg2d6(MMG5_pMesh, MMG5_pSol)
Definition: mmg2d6.c:617
MMG2D_IPARAM_mem
@ MMG2D_IPARAM_mem
Definition: libmmg2d.h:59
MMG2D_Get_meshSize
int MMG2D_Get_meshSize(MMG5_pMesh mesh, int *np, int *nt, int *na)
Definition: API_functions_2d.c:417
MMG2D_IPARAM_msh
@ MMG2D_IPARAM_msh
Definition: libmmg2d.h:64
MMG2D_sum_reqEdgeLengthsAtPoint
int MMG2D_sum_reqEdgeLengthsAtPoint(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, char i)
Definition: isosiz_2d.c:49
long_ani
double long_ani(double *ca, double *cb, double *ma, double *mb)
Definition: length_2d.c:46
MMG5_Info::hsiz
double hsiz
Definition: libmmgtypes.h:445
MMG2D_Get_adjaVertices
int MMG2D_Get_adjaVertices(MMG5_pMesh mesh, int ip, int lispoi[MMG2D_LMAX])
Return adjacent elements of a triangle.
Definition: libmmg2d_tools.c:212
MMG5_surftri_iso
double MMG5_surftri_iso(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: isosiz.c:42
if
if(!ier) exit(EXIT_FAILURE)
MMG5_Mesh::ntmax
int ntmax
Definition: libmmgtypes.h:516
MMG5_Point::tmp
int tmp
Definition: libmmgtypes.h:219
MMG2D_IPARAM_optim
@ MMG2D_IPARAM_optim
Definition: libmmg2d.h:66
TIMEMAX
#define TIMEMAX
Definition: chrono.h:49
long_iso
double long_iso(double *ca, double *cb, double *ma, double *mb)
Definition: length_2d.c:26
MMG5_nortri
int MMG5_nortri(MMG5_pMesh mesh, MMG5_pTria pt, double *n)
Definition: tools.c:155
starter
const int starter
Definition: API_functionsf_2d.c:592
MMG2D_loadMshMesh
int MMG2D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:606
MMG5_EPSD
#define MMG5_EPSD
Definition: eigenv.h:31
MMG5_Mesh::dim
int dim
Definition: libmmgtypes.h:514
MMG2D_lencurv_ani
double MMG2D_lencurv_ani(MMG5_pMesh mesh, MMG5_pSol met, int ip1, int ip2)
Definition: length_2d.c:81
MMG5_Vertex
@ MMG5_Vertex
Definition: libmmgtypes.h:186
MMG5_SAFE_FREE
MMG5_SAFE_FREE(tmp)
MMG2D_defsiz_iso
int MMG2D_defsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_2d.c:129
MMG2D_Get_scalarSol
int MMG2D_Get_scalarSol(MMG5_pSol met, double *s)
Definition: API_functions_2d.c:1019
MMG5_Sol::npi
int npi
Definition: libmmgtypes.h:568
MMG2D_loadSol
int MMG2D_loadSol(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:795
MMG2D_iare
static const int MMG2D_iare[3][2]
Definition: mmg2d.h:132
MMG2D_Get_solsAtVerticesSize
int MMG2D_Get_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int *nsols, int *nentities, int *typSol)
Definition: API_functions_2d.c:388
MMG5_Tetra::v
int v[4]
Definition: libmmgtypes.h:341
MMG2D_prilen
int MMG2D_prilen(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: length_2d.c:124
MMG2D_mmg2dlib
int MMG2D_mmg2dlib(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg2d.c:141
MMG5_Point::n
double n[3]
Definition: libmmgtypes.h:216