Go to the documentation of this file.
35 #define MMG5_RETURN_AND_FREE(mesh,met,disp,val)do \
37 if ( !MMG3D_Free_all(MMG5_ARG_start, \
38 MMG5_ARG_ppMesh,&mesh,MMG5_ARG_ppMet,&met, \
39 MMG5_ARG_ppDisp,&disp, \
41 return MMG5_LOWFAILURE; \
48 #define MMG3D_POINT_REALLOC(mesh,sol,ip,wantedGap,law,o,tag ) do \
51 int oldnpmax = mesh->npmax; \
53 MMG5_TAB_RECALLOC(mesh,mesh->point,mesh->npmax,wantedGap,MMG5_Point, \
54 "larger point table",law); \
56 mesh->npnil = mesh->np+1; \
57 for (klink=mesh->npnil; klink<mesh->npmax-1; klink++) \
58 mesh->point[klink].tmp = klink+1; \
63 MMG5_ADD_MEM(mesh,(sol->size*(mesh->npmax-sol->npmax))*sizeof(double), \
65 MMG5_SAFE_RECALLOC(mesh->point,mesh->npmax+1,oldnpmax+1,MMG5_Point,,); \
66 mesh->memCur -= (mesh->npmax - oldnpmax)*sizeof(MMG5_Point); \
67 mesh->npmax = oldnpmax; \
68 mesh->np = mesh->npmax-1; \
71 MMG5_SAFE_REALLOC(sol->m,sol->size*(sol->npmax+1), \
72 sol->size*(mesh->npmax+1), \
73 double,"larger solution", \
74 MMG5_SAFE_RECALLOC(mesh->point,mesh->npmax+1,oldnpmax+1,MMG5_Point,,); \
75 mesh->memCur -= (mesh->npmax - oldnpmax)*sizeof(MMG5_Point); \
76 mesh->npmax = oldnpmax; \
77 mesh->np = mesh->npmax-1; \
81 sol->npmax = mesh->npmax; \
85 ip = MMG3D_newPt(mesh,o,tag); \
92 #define MMG3D_TETRA_REALLOC(mesh,jel,wantedGap,law ) do \
96 oldSiz = mesh->nemax; \
97 MMG5_TAB_RECALLOC(mesh,mesh->tetra,mesh->nemax,wantedGap,MMG5_Tetra, \
98 "larger tetra table",law); \
100 mesh->nenil = mesh->ne+1; \
101 for (klink=mesh->nenil; klink<mesh->nemax-1; klink++) \
102 mesh->tetra[klink].v[3] = klink+1; \
104 if ( mesh->adja ) { \
106 MMG5_ADD_MEM(mesh,4*(mesh->nemax-oldSiz)*sizeof(int), \
107 "larger adja table",law); \
108 MMG5_SAFE_RECALLOC(mesh->adja,4*oldSiz+5,4*mesh->nemax+5,int \
109 ,"larger adja table",law); \
113 jel = MMG3D_newElt(mesh); \
118 #define MMG3D_ALPHAD 20.7846096908265
119 #define MMG3D_LLONG 2.5
120 #define MMG3D_LSHRT 0.3
121 #define MMG3D_LOPTL 1.3
122 #define MMG3D_LOPTS 0.6
124 #define MMG3D_SWAP06 0.0288675
125 #define MMG3D_SSWAPIMPROVE 1.053
126 #define MMG3D_LSWAPIMPROVE 1.1
128 #define MMG3D_BADKAL 0.2
129 #define MMG3D_MAXKAL 1.
132 #define MMG3D_NPMAX 1000000 //200000
133 #define MMG3D_NAMAX 200000 //40000
134 #define MMG3D_NTMAX 2000000 //400000
135 #define MMG3D_NEMAX 6000000 //1200000
137 #define MMG3D_SHORTMAX 0x7fff
141 static const unsigned char MMG5_inxt3[7] = { 1,2,3,0,1,2,3 };
143 static const unsigned char MMG5_iprv3[7] = { 3,0,1,2,3,0,1 };
145 static const unsigned char MMG5_idir[4][3] = { {1,2,3}, {0,3,2}, {0,1,3}, {0,2,1} };
147 static const char MMG5_idirinv[4][4] = {{-1,0,1,2},{0,-1,2,1},{0,1,-1,2},{0,2,1,-1}};
149 static const unsigned char MMG5_iarf[4][3] = { {5,4,3}, {5,1,2}, {4,2,0}, {3,0,1} };
151 static const unsigned char MMG5_iarfinv[4][6] = { {-1,-1,-1,2,1,0}, {-1,1,2,-1,-1,0},{2,-1,1,-1,0,-1},{1,2,-1,0,-1,-1}};
153 static const unsigned char MMG5_iare[6][2] = { {0,1}, {0,2}, {0,3}, {1,2}, {1,3}, {2,3} };
155 static const unsigned char MMG5_ifar[6][2] = { {2,3}, {1,3}, {1,2}, {0,3}, {0,2}, {0,1} };
157 static const unsigned char MMG5_isar[6][2] = { {2,3}, {3,1}, {1,2}, {0,3}, {2,0}, {0,1} };
159 static const unsigned char MMG5_arpt[4][3] = { {0,1,2}, {0,4,3}, {1,3,5}, {2,5,4} };
162 static const unsigned char MMG5_idir_pr[5][4] = { {0,1,2,0},{3,5,4,3},{1,4,5,2},{0,2,5,3},{0,3,4,1} };
164 static const unsigned char MMG5_iarf_pr[5][5] = { {0,1,3,0}, {6,8,7,6}, {3,5,8,4}, {5,1,2,7},{0,4,6,2} };
183 {0,1,2,3,4,5}, {1,2,0,5,3,4}, {2,0,1,4,5,3}, {0,4,3,2,1,5},
184 {3,0,4,1,5,2}, {4,3,0,5,2,1}, {1,3,5,0,2,4}, {3,5,1,4,0,2},
185 {5,1,3,2,4,0}, {2,5,4,1,0,3}, {4,2,5,0,3,1}, {5,4,2,3,1,0} };
221 int MMG3D_seekIndex (
double* distList,
double dist,
int indexMin,
int indexMax);
261 extern int MMG5_BezierTgt(
double c1[3],
double c2[3],
double n1[3],
double n2[3],
double t1[3],
double t2[3]);
262 extern double MMG5_BezierGeod(
double c1[3],
double c2[3],
double t1[3],
double t2[3]);
275 int *ilistv,
int *lists,
int*ilists,
int isnm);
282 char ia,
int *list,
int *ilist,
int *it1,
int *it2,
283 int *piv,
int *adj,
char *hasadja,
int *nbdy,
int silent);
285 int *list,
int *ilist,
int *it1,
int *pradj,
365 int*,
int,
int*,
int,
int ,
int);
367 int*,
int,
int*,
int,
int ,
int);
390 double MMG5_orcal_poi(
double a[3],
double b[3],
double c[3],
double d[3]);
405 int his[5],
int,
int,
int);
407 int his[5],
int,
int,
int);
409 int*,
int his[5],
int);
412 int*,
int his[5],
int*,
int);
415 int*,
int his[5],
int);
417 int*,
int*,
int*,
char,
double**,
int [9] );
477 double clickSurf,
double clickVol,
int moveVol,
int improveSurf,
int improveVolSurf,
478 int improveVol,
int maxit,
int testmark);
533 fprintf(stderr,
"\n ## Warning: %s: %d tetra on %d reoriented.\n",
535 fprintf(stderr,
" Your mesh may be non-conform.\n");
538 fprintf(stderr,
"\n ## Warning: %s: all tetra reoriented.\n",__func__);
557 MMG5_renumbering = MMG5_mmg3dRenumbering;
int nprism
Definition: libmmgtypes.h:517
@ MMG5_Vector
Definition: libmmgtypes.h:176
int * v
Definition: mmg3d.h:195
MMG5_pPrism prism
Definition: libmmgtypes.h:546
int MMG5_bdryIso(MMG5_pMesh)
int(* MMG5_movbdyrefpt)(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: mmg3dexterns.c:15
int MMG5_movbdynompt_iso(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: movpt_3d.c:1126
int npar
Definition: libmmgtypes.h:447
static const unsigned char MMG5_inxt3[7]
next vertex of tetra: {1,2,3,0,1,2,3}
Definition: mmg3d.h:141
int MMG5_boulenm(MMG5_pMesh mesh, int start, int ip, int iface, double n[3], double t[3])
Definition: boulep_3d.c:155
int nenil
Definition: libmmgtypes.h:527
int MMG5_chkVertexConnectedDomains(MMG5_pMesh mesh)
Definition: analys_3d.c:350
int np
Definition: libmmgtypes.h:566
static const unsigned char MMG5_iarf_pr[5][5]
iarf[i]: edges of face i for a prism
Definition: mmg3d.h:164
static const unsigned char MMG5_arpt[4][3]
arpt[i]: edges passing through vertex i
Definition: mmg3d.h:159
double(* MMG5_lenedg)(MMG5_pMesh, MMG5_pSol, int, MMG5_pTetra)
Definition: mmg3dexterns.c:4
int MMG5_srcface(MMG5_pMesh mesh, int n0, int n1, int n2)
int MMG3D_Free_all_var(va_list argptr)
Definition: variadic_3d.c:242
static void MMG5_warnOrientation(MMG5_pMesh mesh)
Definition: mmg3d.h:530
int MMG3D_bdryBuild(MMG5_pMesh)
Definition: libmmg3d.c:219
int MMG5_boulevolp(MMG5_pMesh mesh, int start, int ip, int *list)
Definition: boulep_3d.c:53
int MMG3D_Init_mesh_var(va_list argptr)
Definition: variadic_3d.c:148
MMG3D_PROctree_s * q0
Definition: mmg3d.h:208
int MMG3D_findEdge(MMG5_pMesh, MMG5_pTetra, int, int, int, int, char *, char *)
Definition: boulep_3d.c:110
int MMG3D_parsar(int argc, char *argv[], MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:170
#define MG_MAX(a, b)
Definition: mmgcommon.h:136
double hmin
Definition: libmmgtypes.h:445
int MMG5_srcbdy(MMG5_pMesh mesh, int start, int ia)
Definition: boulep_3d.c:1191
#define MMG5_MILLION
Definition: mmgcommon.h:88
int MMG5_split1b(MMG5_pMesh, MMG5_pSol, int *, int, int, int, char, char)
Definition: split_3d.c:511
Definition: libmmgtypes.h:339
int MMG3D_zaldy(MMG5_pMesh mesh)
Definition: zaldy_3d.c:316
Definition: libmmgtypes.h:563
#define MG_SIN(tag)
Definition: mmgcommon.h:163
int MMG5_meancur(MMG5_pMesh mesh, int np, double c[3], int ilist, int *list, double h[3])
int(* MMG5_movbdynompt)(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: mmg3dexterns.c:16
int(* MMG3D_gradsizreq)(MMG5_pMesh, MMG5_pSol)
Definition: mmg3dexterns.c:10
#define MMG5_ARG_ppDisp
Definition: libmmgtypes.h:112
int MMG5_hTag(MMG5_HGeom *hash, int a, int b, int ref, int16_t tag)
Definition: hash_3d.c:841
int MMG3D_hashTetra(MMG5_pMesh mesh, int pack)
Definition: hash_3d.c:180
int MMG3D_setMeshSize_initData(MMG5_pMesh, int, int, int, int, int, int)
Definition: API_functions_3d.c:201
static int MMG3D_writeLocalParam(MMG5_pMesh mesh)
Definition: mmg3d.c:131
#define MG_REL
Definition: mmgcommon.h:62
void MMG5_freeXTets(MMG5_pMesh mesh)
Definition: zaldy_3d.c:329
int MMG3D_newElt(MMG5_pMesh mesh)
Definition: zaldy_3d.c:94
void MMG3D_solTruncatureForOptim(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:93
void MMG3D_printArbreDepth(MMG3D_PROctree_s *q, int depth, int nv, int dim)
Definition: PRoctree_3d.c:1000
#define MG_EOK(pt)
Definition: mmgcommon.h:160
int MMG5_paktet(MMG5_pMesh mesh)
Definition: hash_3d.c:49
void MMG3D_printArbre(MMG3D_PROctree *q)
int MMG5_ppgdisp(MMG5_pMesh, double *)
int MMG5_swpgen(MMG5_pMesh, MMG5_pSol, int, int, int *, MMG3D_pPROctree, char)
Definition: swapgen_3d.c:246
static void MMG5_excfun(int sigid)
Definition: mmgcommon.h:404
int MMG3D_movnormal_iso(MMG5_pMesh, MMG5_pSol, int, int)
Definition: movpt_3d.c:1924
#define MG_NOM
Definition: mmgcommon.h:144
int(* MMG5_interp4bar)(MMG5_pMesh, MMG5_pSol, int, int, double *)
Definition: mmg3dexterns.c:12
int MMG3D_split2sf_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:1114
int xt
Definition: libmmgtypes.h:525
char * namein
Definition: libmmgtypes.h:573
int(* MMG3D_defsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg3dexterns.c:8
int MMG5_saveDisp(MMG5_pMesh, MMG5_pSol)
#define MMG5_ARG_start
Definition: libmmgtypes.h:73
char iso
Definition: libmmgtypes.h:453
int MMG5_cavity_iso(MMG5_pMesh mesh, MMG5_pSol sol, int iel, int ip, int *list, int lon, double volmin)
Definition: delaunay_3d.c:741
int main(int argc, char *argv[])
Definition: mmg3d.c:290
void MMG3D_mergeBranches(MMG5_pMesh mesh, MMG3D_PROctree_s *q, int dim, int nv)
Definition: PRoctree_3d.c:859
int(* MMG5_grad2metreq_ani)(MMG5_pMesh, MMG5_pSol, MMG5_pTria, int, int)
Definition: mmgexterns.c:33
int MMG3D_displayQualHisto(int, double, double, double, int, int, int, int his[5], int, int, int)
Definition: quality_3d.c:438
Hash table to store geometric edges.
Definition: libmmgtypes.h:478
int size
Definition: libmmgtypes.h:569
int MMG5_boulesurfvolp(MMG5_pMesh mesh, int start, int ip, int iface, int *listv, int *ilistv, int *lists, int *ilists, int isnm)
Definition: boulep_3d.c:469
int MMG5_cenrad_iso(MMG5_pMesh mesh, double *ct, double *c, double *rad)
Definition: cenrad_3d.c:45
int MMG5_scaleMesh(MMG5_pMesh mesh, MMG5_pSol met)
Definition: scalem.c:89
double MMG5_volint(MMG5_pMesh)
#define MG_STR
Definition: mmgcommon.h:64
int MMG3D_pack_points(MMG5_pMesh mesh)
Definition: libmmg3d.c:620
int MMG5_settag(MMG5_pMesh, int, int, int16_t, int)
Definition: boulep_3d.c:839
int MMG3D_mmg3dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg3d.c:1131
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Definition: libmmgtypes.h:499
int MMG3D_pack_tetraAndAdja(MMG5_pMesh mesh)
Definition: libmmg3d.c:344
int MMG3D_optlap(MMG5_pMesh, MMG5_pSol)
Definition: optlap_3d.c:42
int MMG3D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:102
char MMG5_chkedg(MMG5_pMesh mesh, MMG5_pTria pt, char ori, double, double, int)
int MMG5_grad2metSurf(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int np1, int np2)
Definition: anisosiz.c:912
static int MMG3D_defaultOption(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmg3d.c:195
int MMG3D_PROctreein_iso(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int, double)
Definition: PRoctree_3d.c:1137
MMG5_pPoint point
Definition: libmmgtypes.h:542
int MMG3D_memOption_memRepartition(MMG5_pMesh mesh)
Definition: zaldy_3d.c:168
int MMG3D_split5_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:4431
#define MG_VER
Definition: mmgcommon.h:61
int nbVer
Definition: mmg3d.h:196
void MMG3D_delPt(MMG5_pMesh mesh, int ip)
Definition: zaldy_3d.c:75
int MMG5_movintptLES_iso(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree, int *, int, int)
Definition: movpt_3d.c:193
int MMG5_chkptonbdy(MMG5_pMesh, int)
Definition: chkmsh_3d.c:301
int(* MMG5_indPt)(MMG5_pMesh mesh, int kp)
Definition: mmgexterns.c:31
size_t memMax
Definition: libmmgtypes.h:510
MMG3D_PROctree * MMG3D_pPROctree
Definition: mmg3d.h:210
int MMG3D_getListSquareRec(MMG3D_PROctree_s *, double *, double *, MMG3D_PROctree_s ***, double *, double *, double, int, int, int *)
Definition: PRoctree_3d.c:441
int MMG5_movbdyregpt_ani(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int, int)
Definition: anisomovpt_3d.c:195
int MMG3D_prilen(MMG5_pMesh mesh, MMG5_pSol met, char)
Definition: quality_3d.c:319
static void MMG5_endcod()
Definition: mmg3d.c:42
int MMG5_directsurfball(MMG5_pMesh mesh, int ip, int *list, int ilist, double n[3])
Definition: tools_3d.c:73
int MMG3D_defsiz_ani(MMG5_pMesh, MMG5_pSol)
Definition: anisosiz_3d.c:1255
int MMG5_countelt(MMG5_pMesh mesh, MMG5_pSol sol, double *weightelt, long *npcible)
Definition: quality_3d.c:754
int MMG3D_hashPrism(MMG5_pMesh mesh)
Definition: hash_3d.c:295
int MMG3D_localParamNm(MMG5_pMesh, int, int, int, double *, double *, double *)
Definition: tools_3d.c:1052
static const unsigned char MMG5_idir[4][3]
idir[i]: vertices of face opposite to vertex i
Definition: mmg3d.h:145
int MMG3D_pack_pointArray(MMG5_pMesh mesh)
Definition: libmmg3d.c:566
int MMG3D_gradsiz_ani(MMG5_pMesh, MMG5_pSol)
Definition: anisosiz_3d.c:1880
double MMG5_orcal_poi(double a[3], double b[3], double c[3], double d[3])
int np
Definition: libmmgtypes.h:516
int MMG5_interp4bar_iso(MMG5_pMesh, MMG5_pSol, int, int, double *)
int(* MMG5_movintpt)(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int)
Definition: mmg3dexterns.c:13
int MMG3D_movePROctree(MMG5_pMesh, MMG3D_pPROctree, int, double *, double *)
Definition: PRoctree_3d.c:223
int MMG3D_getListSquare(MMG5_pMesh, double *, MMG3D_PROctree *, double *, MMG3D_PROctree_s ***)
static int MMG5_writeLocalParamAtTet(MMG5_pMesh mesh, MMG5_iNode *bdryRefs, FILE *out)
Definition: mmg3d.c:105
int MMG5_Add_inode(MMG5_pMesh mesh, MMG5_iNode **liLi, int val)
Definition: tools.c:642
int MMG5_hGet(MMG5_HGeom *hash, int a, int b, int *ref, int16_t *tag)
Definition: hash_3d.c:932
int MMG5_split3cone(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:2185
void MMG3D_computeLESqua(MMG5_pMesh, MMG5_pSol, int *, double *, double *, double *, int *, int *, int *, int his[5], int)
Definition: quality_3d.c:354
void MMG3D_solTruncatureForOptim(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:93
double MMG5_surftri(MMG5_pMesh, int, int)
int nc
Definition: mmg3d.h:207
static int MMG5_countLocalParamAtTet(MMG5_pMesh mesh, MMG5_iNode **bdyRefs)
Definition: mmg3d.c:61
int MMG3D_indPt(MMG5_pMesh mesh, int kp)
Definition: tools_3d.c:866
int MMG3D_movv_iso(MMG5_pMesh, MMG5_pSol, int, int)
Definition: movpt_3d.c:2031
unsigned char optim
Definition: libmmgtypes.h:457
int MMG3D_inqua(MMG5_pMesh mesh, MMG5_pSol met)
Definition: quality_3d.c:587
void MMG5_printTetra(MMG5_pMesh mesh, char *fileName)
Definition: tools_3d.c:882
int MMG5_movbdyridpt_iso(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: movpt_3d.c:1474
int MMG3D_seekIndex(double *distList, double dist, int indexMin, int indexMax)
Definition: PRoctree_3d.c:335
void MMG3D_freePROctree_s(MMG5_pMesh, MMG3D_PROctree_s *q, int nv)
Definition: PRoctree_3d.c:111
int nv
Definition: mmg3d.h:206
void MMG5_mmgDefaultValues(MMG5_pMesh mesh)
Definition: mmg.c:80
int(* MMG5_grad2met_ani)(MMG5_pMesh, MMG5_pSol, MMG5_pTria, int, int)
Definition: mmgexterns.c:32
#define MG_CPY
Definition: mmgcommon.h:63
int MMG3D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_3d.c:67
int ne
Definition: libmmgtypes.h:516
int MMG3D_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:1965
int MMG5_chkfemtopo(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:411
int MMG3D_split1_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:50
int * adja
Definition: libmmgtypes.h:529
int MMG5_BezierNom(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to)
Definition: tools_3d.c:525
int MMG5_dichodisp(MMG5_pMesh, double *)
double hausd
Definition: libmmgtypes.h:445
int v[6]
Definition: libmmgtypes.h:401
MMG5_pTria tria
Definition: libmmgtypes.h:548
int MMG3D_coquilFaceFirstLoop(MMG5_pMesh mesh, int start, int na, int nb, char iface, char ia, int *list, int *ilist, int *it1, int *it2, int *piv, int *adj, char *hasadja, int *nbdy, int silent)
Definition: boulep_3d.c:1329
int MMG3D_optbdry(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int)
Definition: optbdry_3d.c:239
int(* MMG5_indElt)(MMG5_pMesh mesh, int kel)
Definition: mmgexterns.c:30
int MMG5_split4sf(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:3753
const int va_list argptr
Definition: API_functionsf_3d.c:837
int MMG3D_split2_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:1456
int MMG5_bdyMCF(MMG5_pMesh)
int mark
Definition: libmmgtypes.h:523
MMG5_pMesh * mesh
Definition: API_functionsf_3d.c:65
#define MMG5_ADD_MEM(mesh, size, message, law)
Definition: mmgcommon.h:275
int MMG3D_mark_packedPoints(MMG5_pMesh mesh, int *np, int *nc)
Definition: libmmg3d.c:314
MMG5_pQuad quadra
Definition: libmmgtypes.h:549
static const unsigned char MMG5_iarfinv[4][6]
num of the j^th edge in the i^th face
Definition: mmg3d.h:151
int MMG3D_addPROctreeRec(MMG5_pMesh, MMG3D_PROctree_s *, double *, const int, int)
Definition: PRoctree_3d.c:645
static const unsigned char MMG5_idir_pr[5][4]
idir[i]: vertices of face i for a prism
Definition: mmg3d.h:162
#define _LIBMMG5_RETURN(mesh, met, val)
Definition: mmgcommon.h:177
void MMG3D_setfunc(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:35
#define MG_GEO
Definition: mmgcommon.h:142
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
int MMG5_hPop(MMG5_HGeom *hash, int a, int b, int *ref, int16_t *tag)
Definition: hash_3d.c:873
API headers for the mmg3d library.
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
int MMG5_hashPop(MMG5_Hash *hash, int a, int b)
Definition: hash_3d.c:778
int depth
Definition: mmg3d.h:197
int MMG5_mmg3dBezierCP(MMG5_pMesh mesh, MMG5_Tria *pt, MMG5_pBezier pb, char ori)
Definition: bezier_3d.c:327
int MMG3D_hashTria(MMG5_pMesh mesh, MMG5_Hash *)
Definition: hash_3d.c:768
void MMG5_Free_ilinkedList(MMG5_pMesh mesh, MMG5_iNode *liLi)
Definition: tools.c:694
int MMG5_bouletrid(MMG5_pMesh, int, int, int, int *, int *, int *, int *, int *, int *)
Definition: boulep_3d.c:626
int ref
Definition: libmmgtypes.h:273
int MMG3D_gradsizreq_ani(MMG5_pMesh, MMG5_pSol)
Definition: anisosiz_3d.c:2019
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:214
int MMG3D_splsurfedge(MMG5_pMesh, MMG5_pSol, int, MMG5_pTetra, MMG5_pxTetra, char, char, char, int *)
Definition: mmg3d1.c:1383
void MMG5_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions.c:51
int MMG3D_gradsizreq_iso(MMG5_pMesh, MMG5_pSol)
Definition: isosiz_3d.c:1137
int MMG3D_delElt(MMG5_pMesh mesh, int iel)
Definition: zaldy_3d.c:117
char * nameout
Definition: libmmgtypes.h:574
int MMG5_split5(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:4522
int(* MMG3D_gradsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg3dexterns.c:9
int(* MMG5_movbdyregpt)(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int, int)
Definition: mmg3dexterns.c:14
Chrono object.
Definition: chrono.h:58
int MMG3D_pack_sol(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg3d.c:484
int MMG5_mmg3d1_pattern(MMG5_pMesh, MMG5_pSol)
Definition: mmg3d1_pattern.c:445
int MMG5_split4op(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:4111
double * m
Definition: libmmgtypes.h:571
#define MMG5_ARG_end
Definition: libmmgtypes.h:159
int * MMG3D_sizeArbre(MMG3D_PROctree *q, int dim)
int MMG5_unscaleMesh(MMG5_pMesh mesh, MMG5_pSol met)
Definition: scalem.c:260
static const char MMG5_idirinv[4][4]
Definition: mmg3d.h:147
int MMG3D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1104
int MMG3D_opttyp(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int)
Definition: opttyp_3d.c:467
int(* MMG3D_PROctreein)(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int, double)
Definition: mmg3dexterns.c:19
void MMG5_freeXPrisms(MMG5_pMesh mesh)
Definition: zaldy_3d.c:348
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:232
API header for the common part of the MMG libraries.
void MMG3D_mark_pointsOnReqEdge_fromTetra(MMG5_pMesh mesh)
Definition: isosiz_3d.c:1018
#define MMG5_STRONGFAILURE
Definition: libmmgtypes.h:56
int MMG3D_intersectRect(double *rectin, double *rectinout)
Definition: PRoctree_3d.c:383
int MMG5_movbdynompt_ani(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: anisomovpt_3d.c:1028
int MMG3D_nmgeom(MMG5_pMesh mesh)
Definition: analys_3d.c:666
int MMG3D_delPROctreeVertex(MMG5_pMesh, MMG3D_PROctree_s *q, int no)
Definition: PRoctree_3d.c:795
int MMG5_split1(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char metRidTyp)
Definition: split_3d.c:116
int MMG3D_doSol(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:810
void MMG5_tet2tri(MMG5_pMesh mesh, int k, char ie, MMG5_Tria *ptt)
Definition: mmg3d1.c:52
int MMG3D_normalAdjaTri(MMG5_pMesh, int, char, int, double n[3])
Definition: split_3d.c:462
int MMG5_Compute_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double *hsiz)
Definition: API_functions.c:487
int MMG3D_memOption(MMG5_pMesh mesh)
Definition: zaldy_3d.c:235
int MMG5_interp4bar33_ani(MMG5_pMesh, MMG5_pSol, int, int, double *)
int v[4]
Definition: libmmgtypes.h:305
int MMG5_intmet_iso(MMG5_pMesh, MMG5_pSol, int, char, int, double)
Definition: intmet_3d.c:131
#define MG_MIN(a, b)
Definition: mmgcommon.h:137
int MMG5_startedgsurfball(MMG5_pMesh mesh, int nump, int numq, int *list, int ilist)
Definition: tools_3d.c:97
static const unsigned char MMG5_iprv3[7]
previous vertex of tetra: {3,0,1,2,3,0,1}
Definition: mmg3d.h:143
int MMG3D_split6_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:4760
int MMG5_hNew(MMG5_pMesh mesh, MMG5_HGeom *hash, int hsiz, int hmax)
Definition: hash_3d.c:1006
double MMG5_estavglen(MMG5_pMesh)
int MMG5_movbdyregpt_iso(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int, int)
Definition: movpt_3d.c:357
char imprim
Definition: libmmgtypes.h:453
double hgrad
Definition: libmmgtypes.h:445
#define MMG5_EPS
Definition: eigenv.h:32
int MMG5_split3(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:1792
int16_t tag
Definition: libmmgtypes.h:223
int MMG3D_set_metricAtPointsOnReqEdges(MMG5_pMesh, MMG5_pSol)
Definition: isosiz_3d.c:542
double n1[3]
Definition: libmmgtypes.h:234
Definition: libmmgtypes.h:270
int MMG3D_bezierInt(MMG5_pBezier pb, double uv[2], double o[3], double no[3], double to[3])
Definition: bezier_3d.c:551
int MMG3D_delPROctreeRec(MMG5_pMesh, MMG3D_PROctree_s *, double *, const int, const int)
Definition: PRoctree_3d.c:891
void MMG3D_sizeArbreRec(MMG3D_PROctree_s *q, int nv, int dim, int *, int *)
Definition: PRoctree_3d.c:1072
#define MMG5_SUCCESS
Definition: libmmgtypes.h:40
Definition: mmgcommon.h:480
int MMG3D_isCellIncluded(double *cellCenter, double l, double *zoneCenter, double l0)
Definition: PRoctree_3d.c:263
double(* MMG5_lenedgspl)(MMG5_pMesh, MMG5_pSol, int, MMG5_pTetra)
Definition: mmg3dexterns.c:5
Cell for linked list of integer value.
int MMG5_eigensym(double m[3], double lambda[2], double vp[2][2])
Definition: eigenv.c:746
int MMG5_bdryUpdate(MMG5_pMesh)
Definition: hash_3d.c:1988
int MMG5_BezierRidge(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no1, double *no2, double *to)
Definition: tools_3d.c:150
int MMG3D_outqua(MMG5_pMesh mesh, MMG5_pSol met)
Definition: quality_3d.c:712
#define MMG5_LOWFAILURE
Definition: libmmgtypes.h:48
int nquad
Definition: libmmgtypes.h:517
#define MG_NUL
Definition: mmgcommon.h:152
void MMG3D_mergeBranchesRec(MMG3D_PROctree_s *, MMG3D_PROctree_s *, int, int, int *)
Definition: PRoctree_3d.c:830
int MMG3D_dichoto1b(MMG5_pMesh mesh, MMG5_pSol met, int *list, int ret, int)
Definition: mmg3d1.c:240
void MMG3D_Free_topoTables(MMG5_pMesh mesh)
Definition: libmmg3d.c:61
int MMG5_grad2metSurfreq(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int npmaster, int npslave)
Definition: anisosiz.c:1450
int MMG5_anatet(MMG5_pMesh mesh, MMG5_pSol met, char typchk, int patternMode)
Definition: mmg3d1.c:2578
int16_t MMG5_coquilTravel(MMG5_pMesh, int, int, int *, int *, char *, char *)
Definition: boulep_3d.c:1589
void MMG5_mmgUsage(char *prog)
Definition: mmg.c:44
int MMG3D_dichoto(MMG5_pMesh mesh, MMG5_pSol met, int k, int *vx)
Definition: mmg3d1.c:88
int(* MMG5_chkmsh)(MMG5_pMesh, int, int)
Definition: mmgexterns.c:27
static const unsigned char MMG5_permedge[12][6]
Definition: mmg3d.h:182
int MMG5_intvolmet(MMG5_pMesh, MMG5_pSol, int, char, double, double *)
int MMG3D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:1763
int MMG5_intmet_ani(MMG5_pMesh, MMG5_pSol, int, char, int, double)
Definition: intmet_3d.c:51
int MMG5_split6(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:4829
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:543
int MMG5_splitedg(MMG5_pMesh mesh, MMG5_pSol met, int iel, int iar, double crit)
Definition: split_3d.c:5259
int npnil
Definition: libmmgtypes.h:526
int MMG3D_chk4ridVertices(MMG5_pMesh mesh, MMG5_pTetra pt)
Definition: anisosiz_3d.c:38
MMG5_Sol * MMG5_pSol
Definition: libmmgtypes.h:576
void printim(double elps, char *stim)
Print real time.
Definition: chrono.c:149
void MMG5_chooseOutputFormat(MMG5_pMesh mesh, int *msh)
Definition: mmg.c:186
void MMG3D_computeInqua(MMG5_pMesh, MMG5_pSol, int *, double *, double *, double *, int *, int *, int *, int his[5], int)
Definition: quality_3d.c:516
int MMG5_lapantilap(MMG5_pMesh, double *)
int MMG3D_indElt(MMG5_pMesh mesh, int kel)
Definition: tools_3d.c:850
int MMG3D_movv_ani(MMG5_pMesh, MMG5_pSol, int, int)
Definition: movpt_3d.c:1813
int xp
Definition: libmmgtypes.h:218
int MMG5_singul(MMG5_pMesh mesh)
Definition: analys_3d.c:420
int MMG3D_Init_mesh(const int starter,...)
Definition: API_functions_3d.c:43
MMG5_pTetra tetra
Definition: libmmgtypes.h:544
Structure to store the surface tetrahedra of a MMG mesh.
Definition: libmmgtypes.h:356
#define MMG5_BOXSIZE
Definition: mmgcommon.h:70
int MMG5_hashFace(MMG5_pMesh, MMG5_Hash *, int, int, int, int)
Definition: hash_3d.c:95
static const unsigned char MMG5_ifar[6][2]
ifar[i][]: faces sharing the ith edge of the tetra
Definition: mmg3d.h:155
int MMG3D_Free_names(const int starter,...)
Definition: API_functions_3d.c:2309
int MMG5_velextLS(MMG5_pMesh, MMG5_pSol)
double MMG5_timestepMCF(MMG5_pMesh, double)
void MMG3D_set_reqBoundaries(MMG5_pMesh mesh)
Definition: analys_3d.c:45
#define MMG5_ARG_ppMesh
Definition: libmmgtypes.h:82
int MMG3D_defsiz_iso(MMG5_pMesh, MMG5_pSol)
Definition: isosiz_3d.c:642
#define MMG5_SAFE_REALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:310
int MMG3D_split3_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:1721
void MMG3D_coquilFaceSecondLoopInit(MMG5_pMesh mesh, int piv, char *iface, char *i, int *list, int *ilist, int *it1, int *pradj, int *adj)
Definition: boulep_3d.c:1424
double dhd
Definition: libmmgtypes.h:445
double MMG5_BezierGeod(double c1[3], double c2[3], double t1[3], double t2[3])
Definition: bezier_3d.c:111
void MMG3D_solTruncature(MMG5_pMesh mesh, MMG5_pSol met)
int MMG5_chkcol_int(MMG5_pMesh, MMG5_pSol, int, char, char, int *, int, char)
Definition: colver_3d.c:42
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
int MMG5_norver(MMG5_pMesh mesh)
Definition: analys_3d.c:494
MMG5_Mesh * MMG5_pMesh
Definition: libmmgtypes.h:557
int MMG3D_computePrilen(MMG5_pMesh, MMG5_pSol, double *, double *, double *, int *, int *, int *, int *, int *, int *, char, double **, int[9])
Definition: quality_3d.c:201
int MMG5_boulernm(MMG5_pMesh mesh, int start, int ip, int *ng, int *nr)
Definition: boulep_3d.c:323
int MMG3D_PROctreein_ani(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int, double)
Definition: PRoctree_3d.c:1217
void MMG3D_initPROctree_s(MMG3D_PROctree_s *q)
Definition: PRoctree_3d.c:46
int MMG5_stiffelt(MMG5_pMesh, int, double *, double *)
double(* MMG5_caltri)(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: mmg3dexterns.c:7
int nt
Definition: libmmgtypes.h:516
int MMG3D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_3d.c:109
int MMG3D_split3cone_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:2004
int MMG5_BezierEdge(MMG5_pMesh mesh, int ip0, int ip1, double b0[3], double b1[3], char isrid, double v[3])
Definition: bezier_3d.c:152
void MMG3D_computeOutqua(MMG5_pMesh, MMG5_pSol, int *, double *, double *, double *, int *, int *, int *, int his[5], int *, int)
Definition: quality_3d.c:635
MMG mesh structure.
Definition: libmmgtypes.h:509
int(* MMG5_intmet)(MMG5_pMesh, MMG5_pSol, int, char, int, double)
Definition: mmg3dexterns.c:11
int MMG5_countLocalParamAtTri(MMG5_pMesh mesh, MMG5_iNode **bdryRefs)
Definition: mmg.c:117
mytime MMG5_ctim[TIMEMAX]
Definition: mmg3d.c:37
int MMG5_BezierTgt(double c1[3], double c2[3], double n1[3], double n2[3], double t1[3], double t2[3])
Definition: bezier_3d.c:53
int MMG3D_split3op_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:2719
double n2[3]
Definition: libmmgtypes.h:234
int MMG5_coquil(MMG5_pMesh mesh, int start, int ia, int *list)
Definition: boulep_3d.c:1053
int MMG3D_memOption_memSet(MMG5_pMesh mesh)
Definition: zaldy_3d.c:153
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:233
int MMG3D_update_eltsVertices(MMG5_pMesh mesh)
Definition: libmmg3d.c:521
size_t MMG5_memSize(void)
Definition: tools.c:546
struct MMG3D_PROctree_s MMG3D_PROctree_s
int MMG5_writeLocalParamAtTri(MMG5_pMesh mesh, MMG5_iNode *bdryRefs, FILE *out)
Definition: mmg.c:162
int MMG5_chkmanicoll(MMG5_pMesh, int, int, int, int, int, char, char)
Definition: mmg3d2.c:899
int MMG5_denoisbdy(MMG5_pMesh)
int MMG5_chkswpbdy(MMG5_pMesh, MMG5_pSol, int *, int, int, int, char)
Definition: swap_3d.c:55
int MMG5_deltag(MMG5_pMesh, int, int, int16_t)
Definition: boulep_3d.c:957
double MMG5_caltet33_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: quality_3d.c:90
int MMG3D_swap23(MMG5_pMesh, MMG5_pSol, int, char, int, int, int, int)
Definition: swap_3d.c:561
int MMG5_movintpt_iso(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int)
Definition: movpt_3d.c:55
static const unsigned char MMG5_iarf[4][3]
iarf[i]: edges of face opposite to vertex i
Definition: mmg3d.h:149
void MMG3D_placeInListDouble(double *, double, int, int)
Definition: PRoctree_3d.c:296
#define MMG5_ARG_ppMet
Definition: libmmgtypes.h:102
static void MMG3D_Set_commonFunc()
Definition: mmg3d.h:549
void MMG5_nsort(int, double *, char *)
Definition: tools_3d.c:41
int MMG3D_intmet33_ani(MMG5_pMesh, MMG5_pSol, int, char, int, double)
Definition: intmet_3d.c:101
int MMG5_split3op(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:2851
int MMG5_chkBdryTria(MMG5_pMesh mesh)
Definition: hash_3d.c:1402
double hmax
Definition: libmmgtypes.h:445
int MMG3D_split4sf_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:3650
int MMG3D_movetetrapoints(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int)
Definition: optbdry_3d.c:45
char * namein
Definition: libmmgtypes.h:553
void MMG3D_freePROctree(MMG5_pMesh, MMG3D_PROctree **q)
int MMG3D_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:1782
int MMG5_colver(MMG5_pMesh, MMG5_pSol, int *, int, char, char)
Definition: colver_3d.c:713
static const unsigned char MMG5_isar[6][2]
isar[i][]: vertices of extremities of the edge opposite to the ith edge
Definition: mmg3d.h:157
MMG5_Info info
Definition: libmmgtypes.h:552
int(* MMG5_movbdyridpt)(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: mmg3dexterns.c:17
int MMG3D_split4op_sim(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6])
Definition: split_3d.c:3990
int MMG5_BezierRef(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to)
Definition: tools_3d.c:352
int MMG5_movbdyrefpt_iso(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: movpt_3d.c:773
int MMG5_intridmet(MMG5_pMesh, MMG5_pSol, int, int, double, double *, double *)
int MMG3D_tetraQual(MMG5_pMesh mesh, MMG5_pSol met, char metRidTyp)
Definition: quality_3d.c:48
int npmax
Definition: libmmgtypes.h:516
int MMG5_hashGetFace(MMG5_Hash *, int, int, int)
Definition: hash_3d.c:143
int MMG5_chkswpgen(MMG5_pMesh, MMG5_pSol, int, int, int *, int *, double, char)
Definition: swapgen_3d.c:55
static const unsigned char MMG5_iare[6][2]
vertices of extremities of the edges of the tetra
Definition: mmg3d.h:153
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:198
int MMG3D_parsop(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:476
int MMG3D_analys(MMG5_pMesh mesh)
Definition: analys_3d.c:731
int MMG3D_pack_prismsAndQuads(MMG5_pMesh mesh)
Definition: libmmg3d.c:438
int MMG5_bdryPerm(MMG5_pMesh)
Definition: hash_3d.c:2077
int MMG5_chkmani(MMG5_pMesh mesh)
Definition: mmg3d2.c:756
int ref
Definition: libmmgtypes.h:342
int MMG5_split2sf(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:1224
int MMG3D_addPROctree(MMG5_pMesh mesh, MMG3D_PROctree *q, const int no)
tmp[*strlen0]
Definition: API_functionsf_3d.c:881
int MMG3D_splitItem(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int, int, double)
Definition: opttyp_3d.c:390
int MMG5_hGeom(MMG5_pMesh mesh)
Definition: hash_3d.c:1034
int MMG3D_localParamReg(MMG5_pMesh, int, int *, int, int *, int, double *, double *, double *)
Definition: tools_3d.c:932
int MMG5_setNmTag(MMG5_pMesh mesh, MMG5_Hash *hash)
Definition: hash_3d.c:746
int MMG5_movbdyridpt_ani(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: anisomovpt_3d.c:1375
int MMG3D_initPROctree(MMG5_pMesh, MMG3D_pPROctree *q, int nv)
Definition: PRoctree_3d.c:63
int MMG3D_mmg3dlib(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:739
void MMG3D_unset_reqBoundaries(MMG5_pMesh mesh)
Definition: libmmg3d.c:642
char * nameout
Definition: libmmgtypes.h:554
double MMG5_meansizreg_iso(MMG5_pMesh, MMG5_pSol, int, int *, int, double, double)
Definition: isosiz_3d.c:461
int MMG5_swpbdy(MMG5_pMesh, MMG5_pSol, int *, int, int, MMG3D_pPROctree, char)
Definition: swap_3d.c:434
int MMG5_bdrySet(MMG5_pMesh)
Definition: hash_3d.c:1701
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:289
int MMG5_swptet(MMG5_pMesh mesh, MMG5_pSol met, double, double, MMG3D_pPROctree, int, int)
Definition: mmg3d1.c:611
int MMG3D_delPROctree(MMG5_pMesh mesh, MMG3D_pPROctree q, const int no)
Definition: PRoctree_3d.c:972
void MMG3D_placeInListPROctree(MMG3D_PROctree_s **, MMG3D_PROctree_s *, int, int)
Definition: PRoctree_3d.c:314
int MMG5_mmg3d1_delone(MMG5_pMesh, MMG5_pSol)
Definition: mmg3d1_delone.c:1273
int MMG5_interp4bar_ani(MMG5_pMesh, MMG5_pSol, int, int, double *)
@ MMG5_Scalar
Definition: libmmgtypes.h:175
int MMG5_moymet(MMG5_pMesh, MMG5_pSol, MMG5_pTetra, double *)
Definition: anisosiz_3d.c:69
int MMG3D_Free_structures_var(va_list argptr)
Definition: variadic_3d.c:353
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:266
void MMG5_coquilFaceErrorMessage(MMG5_pMesh mesh, int k1, int k2)
Definition: boulep_3d.c:1250
int MMG5_coquilface(MMG5_pMesh mesh, int start, char iface, int, int *, int *, int *, int)
Definition: boulep_3d.c:1480
int MMG5_hEdge(MMG5_pMesh mesh, MMG5_HGeom *hash, int a, int b, int ref, int16_t tag)
Definition: hash_3d.c:964
int MMG5_BezierReg(MMG5_pMesh mesh, int ip0, int ip1, double s, double v[3], double *o, double *no)
Definition: tools_3d.c:684
int MMG3D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:980
int MMG3D_setMeshSize_alloc(MMG5_pMesh)
Definition: zaldy_3d.c:254
int ier
Definition: API_functionsf_3d.c:839
int MMG5_trydisp(MMG5_pMesh, double *, short)
int MMG3D_mmg3d2(MMG5_pMesh, MMG5_pSol)
Definition: mmg3d2.c:1428
char ddebug
Definition: libmmgtypes.h:453
int MMG3D_mmg3dls(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:948
int MMG5_cavity_ani(MMG5_pMesh mesh, MMG5_pSol sol, int iel, int ip, int *list, int lon, double volmin)
Definition: delaunay_3d.c:582
char lag
Definition: libmmgtypes.h:453
int16_t MMG5_openCoquilTravel(MMG5_pMesh, int, int, int *, int *, char *, char *)
Definition: boulep_3d.c:1641
int MMG5_chkcol_bdy(MMG5_pMesh, MMG5_pSol, int, char, char, int *, int, int *, int, char)
Definition: colver_3d.c:358
Definition: libmmgtypes.h:400
int MMG3D_simbulgept(MMG5_pMesh mesh, MMG5_pSol met, int *list, int ilist, int)
Definition: split_3d.c:321
int MMG5_split2(MMG5_pMesh mesh, MMG5_pSol met, int k, int vx[6], char)
Definition: split_3d.c:1518
int MMG5_cenrad_ani(MMG5_pMesh mesh, double *ct, double *m, double *c, double *rad)
Definition: cenrad_3d.c:130
void MMG5_defaultValues(MMG5_pMesh)
int(* MMG5_bezierCP)(MMG5_pMesh, MMG5_Tria *, MMG5_pBezier, char)
Definition: mmgexterns.c:28
int MMG5_movtet(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, double clickSurf, double clickVol, int moveVol, int improveSurf, int improveVolSurf, int improveVol, int maxit, int testmark)
Definition: mmg3d1.c:673
int MMG3D_pack_tetra(MMG5_pMesh mesh)
Definition: libmmg3d.c:398
int MMG5_setdhd(MMG5_pMesh mesh)
Definition: analys_3d.c:283
double(* MMG5_caltet)(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: mmg3dexterns.c:6
struct MMG3D_PROctree_s * branches
Definition: mmg3d.h:194
int MMG5_mmg3d3(MMG5_pMesh, MMG5_pSol, MMG5_pSol)
int MMG5_swpmsh(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int)
Definition: mmg3d1.c:542
int MMG3D_swpItem(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int, int)
Definition: opttyp_3d.c:326
int MMG5_delone(MMG5_pMesh mesh, MMG5_pSol sol, int ip, int *list, int ilist)
Definition: delaunay_3d.c:140
double hsiz
Definition: libmmgtypes.h:445
int MMG3D_Free_names_var(va_list argptr)
Definition: variadic_3d.c:491
header file for the librnbg.c librnbg_s.c librnbg_3d.c files
int tmp
Definition: libmmgtypes.h:219
int MMG5_movbdyrefpt_ani(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int *, int, int)
Definition: anisomovpt_3d.c:678
int MMG5_setadj(MMG5_pMesh mesh)
Definition: analys_3d.c:96
int MMG5_norface(MMG5_pMesh mesh, int k, int iface, double v[3])
Definition: tools_3d.c:59
int MMG3D_newPt(MMG5_pMesh mesh, double c[3], int16_t tag)
Definition: zaldy_3d.c:39
#define TIMEMAX
Definition: chrono.h:49
double MMG5_lenedgCoor_iso(double *, double *, double *, double *)
Compute edge length from edge's coordinates.
Definition: isosiz_3d.c:59
int nemax
Definition: libmmgtypes.h:516
#define MMG5_EPSD
Definition: eigenv.h:31
int MMG5_cntbdypt(MMG5_pMesh mesh, int nump)
Definition: chkmsh_3d.c:363
@ MMG5_Vertex
Definition: libmmgtypes.h:186
int MMG3D_gradsiz_iso(MMG5_pMesh, MMG5_pSol)
Definition: isosiz_3d.c:1053
int MMG5_split4bar(MMG5_pMesh mesh, MMG5_pSol met, int k, char)
Definition: split_3d.c:3301
int MMG3D_packMesh(MMG5_pMesh, MMG5_pSol, MMG5_pSol)
Definition: libmmg3d.c:671
int MMG5_mmg3dChkmsh(MMG5_pMesh, int, int)
Definition: chkmsh_3d.c:111
int MMG3D_displayQualHisto_internal(int, double, double, double, int, int, int, int his[5], int, int, int)
Definition: quality_3d.c:472
int(* MMG5_cavity)(MMG5_pMesh, MMG5_pSol, int, int, int *, int, double)
Definition: mmg3dexterns.c:18
#define MMG5_RETURN_AND_FREE(mesh, met, disp, val)
Definition: mmg3d.h:35
int MMG5_intregmet(MMG5_pMesh, MMG5_pSol, int, char, double, double *)
int v[4]
Definition: libmmgtypes.h:341
MMG5_Tetra * MMG5_pTetra
Definition: libmmgtypes.h:350
int MMG5_movintpt_ani(MMG5_pMesh, MMG5_pSol, MMG3D_pPROctree, int *, int, int)
Definition: anisomovpt_3d.c:55
double n[3]
Definition: libmmgtypes.h:216