mmg3d
libmmg3d.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 */
23 
45 #ifndef MMG3DLIB_H
46 #define MMG3DLIB_H
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
52 #include "mmg/mmg3d/libmmgtypes.h"
53 
57 #define MMG3D_LMAX 10240
58 
102 };
103 
104 /*--------------------------- functions header ---------------------------*/
105 /* Initialization functions */
106 /* init structures */
138  int MMG3D_Init_mesh(const int starter,...);
164 
165 /* init file names */
182  int MMG3D_Set_inputMeshName(MMG5_pMesh mesh,const char* meshin);
199  int MMG3D_Set_outputMeshName(MMG5_pMesh mesh, const char* meshout);
218  const char* solin);
237  const char* solout);
238 
239 /* init structure sizes */
259  int MMG3D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity,
260  int np, int typSol);
261 
285  int nentities, int *typSol);
286 
309  int MMG3D_Set_meshSize(MMG5_pMesh mesh,int np,int ne,int nprism,
310  int nt,int nquad,int na);
311 
312 /* init structure datas */
334  int MMG3D_Set_vertex(MMG5_pMesh mesh, double c0, double c1,
335  double c2, int ref,int pos);
358  int MMG3D_Set_vertices(MMG5_pMesh mesh, double *vertices,int *refs);
380  int MMG3D_Set_tetrahedron(MMG5_pMesh mesh, int v0, int v1,
381  int v2, int v3, int ref, int pos);
402  int MMG3D_Set_tetrahedra(MMG5_pMesh mesh, int *tetra,
403  int *refs);
427  int MMG3D_Set_prism(MMG5_pMesh mesh, int v0, int v1,
428  int v2, int v3, int v4, int v5, int ref, int pos);
449  int MMG3D_Set_prisms(MMG5_pMesh mesh, int *prisms,
450  int *refs);
451 
472  int MMG3D_Set_triangle(MMG5_pMesh mesh, int v0, int v1,
473  int v2, int ref,int pos);
494  int MMG3D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs);
516  int MMG3D_Set_quadrilateral(MMG5_pMesh mesh, int v0, int v1,
517  int v2, int v3, int ref,int pos);
538  int MMG3D_Set_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs);
558  int MMG3D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref,int pos);
574  int MMG3D_Set_corner(MMG5_pMesh mesh, int k);
575 
592  int MMG3D_Unset_corner(MMG5_pMesh mesh, int k);
593 
610 
627 
644 
662 
680  int MMG3D_Set_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq);
681 
700  int MMG3D_Unset_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq);
701 
718 
735 
753  int MMG3D_Set_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq);
754 
772  int MMG3D_Unset_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq);
773 
791 
809 
828  int MMG3D_Set_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar);
829 
848  int MMG3D_Unset_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar);
849 
865  int MMG3D_Set_ridge(MMG5_pMesh mesh, int k);
866 
882  int MMG3D_Unset_ridge(MMG5_pMesh mesh, int k);
883 
900 
917 
938  int MMG3D_Set_normalAtVertex(MMG5_pMesh mesh, int k, double n0, double n1,
939  double n2) ;
940 
959  int MMG3D_Set_scalarSol(MMG5_pSol met, double s,int pos);
976  int MMG3D_Set_scalarSols(MMG5_pSol met, double *s);
997  int MMG3D_Set_vectorSol(MMG5_pSol met, double vx,double vy, double vz,
998  int pos);
1015  int MMG3D_Set_vectorSols(MMG5_pSol met, double *sols);
1039  int MMG3D_Set_tensorSol(MMG5_pSol met, double m11,double m12, double m13,
1040  double m22,double m23, double m33, int pos);
1057  int MMG3D_Set_tensorSols(MMG5_pSol met, double *sols);
1079  int MMG3D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol,int i, double* s,int pos);
1101  int MMG3D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol,int i, double* s);
1102 
1116 
1117 /* check init */
1134 
1153  int MMG3D_Set_iparameter(MMG5_pMesh mesh,MMG5_pSol sol, int iparam,
1154  int val);
1173  int MMG3D_Set_dparameter(MMG5_pMesh mesh,MMG5_pSol sol, int dparam,
1174  double val);
1199  int ref,double hmin,double hmax,double hausd);
1200 
1220  int MMG3D_Set_multiMat(MMG5_pMesh mesh, MMG5_pSol sol,int ref,int split,
1221  int rin, int rex);
1222 
1245  int MMG3D_Get_meshSize(MMG5_pMesh mesh, int* np, int* ne,int *nprism, int* nt,
1246  int* nquad, int* na);
1267  int MMG3D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int* typEntity,
1268  int* np,int* typSol);
1291  int* nentities,int* typSol);
1318  int MMG3D_Get_vertex(MMG5_pMesh mesh, double* c0, double* c1, double* c2,
1319  int* ref,int* isCorner, int* isRequired);
1320 
1344  int MMG3D_GetByIdx_vertex(MMG5_pMesh mesh, double* c0, double* c1, double* c2, int* ref,
1345  int* isCorner, int* isRequired,int idx);
1346 
1375  int MMG3D_Get_vertices(MMG5_pMesh mesh, double* vertices, int* refs,
1376  int* areCorners, int* areRequired);
1401  int MMG3D_Get_tetrahedron(MMG5_pMesh mesh, int* v0, int* v1, int* v2,
1402  int* v3,int* ref, int* isRequired);
1428  int MMG3D_Get_tetrahedra(MMG5_pMesh mesh, int* tetra,int* refs,
1429  int* areRequired);
1456  int MMG3D_Get_prism(MMG5_pMesh mesh, int* v0, int* v1, int* v2,
1457  int* v3,int* v4,int* v5,int* ref, int* isRequired);
1483  int MMG3D_Get_prisms(MMG5_pMesh mesh, int* prisms,int* refs,
1484  int* areRequired);
1506  int MMG3D_Get_triangle(MMG5_pMesh mesh, int* v0, int* v1, int* v2, int* ref,
1507  int* isRequired);
1532  int MMG3D_Get_triangles(MMG5_pMesh mesh, int* tria, int* refs,
1533  int* areRequired);
1556  int MMG3D_Get_quadrilateral(MMG5_pMesh mesh, int* v0, int* v1, int* v2,int* v3,
1557  int* ref, int* isRequired);
1582  int MMG3D_Get_quadrilaterals(MMG5_pMesh mesh, int* quads, int* refs,
1583  int* areRequired);
1604  int MMG3D_Get_edge(MMG5_pMesh mesh, int* e0, int* e1, int* ref,
1605  int* isRidge, int* isRequired);
1623  int MMG3D_Set_edges(MMG5_pMesh mesh, int *edges, int* refs);
1644  int MMG3D_Get_edges(MMG5_pMesh mesh,int *edges,int* refs,
1645  int *areRidges,int *areRequired);
1666  int MMG3D_Get_normalAtVertex(MMG5_pMesh mesh, int k, double *n0, double *n1,
1667  double *n2) ;
1668 
1686 
1702  int MMG3D_Get_scalarSol(MMG5_pSol met, double* s);
1719  int MMG3D_Get_scalarSols(MMG5_pSol met, double* s);
1737  int MMG3D_Get_vectorSol(MMG5_pSol met, double* vx, double* vy, double* vz);
1754  int MMG3D_Get_vectorSols(MMG5_pSol met, double* sols);
1775  int MMG3D_Get_tensorSol(MMG5_pSol met, double *m11,double *m12, double *m13,
1776  double *m22,double *m23, double *m33);
1793  int MMG3D_Get_tensorSols(MMG5_pSol met, double *sols);
1814  int MMG3D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol,int i, double* s,int pos);
1836  int MMG3D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol,int i, double* s);
1837 
1853  int MMG3D_Get_iparameter(MMG5_pMesh mesh, int iparam);
1854 
1878  int MMG3D_Add_tetrahedron(MMG5_pMesh mesh, int v0, int v1,
1879  int v2, int v3, int ref);
1880 
1903  int MMG3D_Add_vertex(MMG5_pMesh mesh, double c0, double c1,
1904  double c2, int ref);
1905 
1906 /* input/output functions */
1923  int MMG3D_loadMesh(MMG5_pMesh mesh,const char *filename);
1942  int MMG3D_loadMshMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
1943 
1964 int MMG3D_loadVtuMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
1986 
2007 int MMG3D_loadVtkMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
2029 
2066  int MMG3D_saveMesh(MMG5_pMesh mesh, const char *filename);
2085  int MMG3D_saveMshMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
2086 
2125  int MMG3D_saveVtkMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
2161  int MMG3D_saveVtuMesh(MMG5_pMesh mesh,MMG5_pSol sol,const char *filename);
2180 
2197  int MMG3D_saveTetgenMesh(MMG5_pMesh ,const char *);
2198 
2217  int MMG3D_loadSol(MMG5_pMesh mesh,MMG5_pSol met, const char *filename);
2235  int MMG3D_loadAllSols(MMG5_pMesh mesh,MMG5_pSol *sol, const char* filename);
2236 
2254  int MMG3D_saveSol(MMG5_pMesh mesh,MMG5_pSol met, const char *filename);
2272  int MMG3D_saveAllSols(MMG5_pMesh mesh,MMG5_pSol *sol ,const char *filename);
2273 
2289 
2290 /* deallocations */
2322  int MMG3D_Free_all(const int starter,...);
2323 
2357  int MMG3D_Free_structures(const int starter,...);
2358 
2390  int MMG3D_Free_names(const int starter,...);
2391 
2392 /* library */
2410 
2431 
2451 
2467 
2481  int MMG3D_parsar(int argc,char *argv[],MMG5_pMesh mesh,MMG5_pSol met,MMG5_pSol sol);
2482 
2514  int MMG3D_usage(char *prog);
2543 
2569  int MMG3D_mmg3dcheck(MMG5_pMesh mesh,MMG5_pSol met,MMG5_pSol sol,double critmin,
2570  double lmin, double lmax, int *eltab,int8_t metRidTyp);
2591  void MMG3D_searchqua(MMG5_pMesh mesh, MMG5_pSol met, double critmin,
2592  int *eltab,int8_t metRidTyp);
2619  int MMG3D_searchlen(MMG5_pMesh mesh, MMG5_pSol met, double lmin,
2620  double lmax,int *eltab,int8_t metRidTyp);
2621 
2644  int MMG3D_Get_adjaTet(MMG5_pMesh mesh,int kel, int listet[4]);
2665 extern double (*MMG3D_lenedgCoor)(double *ca,double *cb,double *sa,double *sb);
2666 
2683  int MMG3D_hashTetra(MMG5_pMesh mesh, int pack);
2684 
2701 
2718 
2735 
2736 
2752 
2772 
2797  int MMG3D_Get_nonBdyTriangle(MMG5_pMesh mesh, int* v0, int* v1, int* v2, int* ref, int idx);
2798 
2821  int MMG3D_Get_tetFromTria(MMG5_pMesh mesh, int ktri, int *ktet, int *iface);
2822 
2847  int MMG3D_Get_tetsFromTria(MMG5_pMesh mesh, int ktri, int ktet[2], int iface[2]);
2848 
2873  int MMG3D_Compute_eigenv(double m[6],double lambda[3],double vp[3][3]);
2874 
2888 
2889 #ifdef __cplusplus
2890 }
2891 #endif
2892 
2893 #endif
MMG5_Mesh::nprism
int nprism
Definition: libmmgtypes.h:560
MMG5_defsiz_startingMessage
int MMG5_defsiz_startingMessage(MMG5_pMesh mesh, MMG5_pSol met, const char *funcname)
Definition: isosiz.c:77
MMG5_Edge
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:274
MMG3D_IPARAM_noinsert
@ MMG3D_IPARAM_noinsert
Definition: libmmg3d.h:79
MG_Vert
#define MG_Vert
Definition: mmgcommon.h:154
MMG5_Par::hmax
double hmax
Definition: libmmgtypes.h:230
MMG3D_pack_tetraAndAdja
int MMG3D_pack_tetraAndAdja(MMG5_pMesh mesh)
Definition: libmmg3d.c:272
MMG3D_Set_normalAtVertex
int MMG3D_Set_normalAtVertex(MMG5_pMesh mesh, int k, double n0, double n1, double n2)
Definition: API_functions_3d.c:1372
MMG5_Mesh::prism
MMG5_pPrism prism
Definition: libmmgtypes.h:593
MMG3D_Init_fileNames
void MMG3D_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions_3d.c:56
MMG5_Info::npar
int npar
Definition: libmmgtypes.h:478
MG_BDY
#define MG_BDY
Definition: mmgcommon.h:144
MMG3D_Param
MMG3D_Param
Input parameters for mmg library.
Definition: libmmg3d.h:68
MMG5_Mesh::nenil
int nenil
Definition: libmmgtypes.h:570
MMG3D_IPARAM_optimLES
@ MMG3D_IPARAM_optimLES
Definition: libmmg3d.h:78
MMG3D_switch_metricStorage
int MMG3D_switch_metricStorage(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:1364
MMG5_Sol::np
int np
Definition: libmmgtypes.h:613
MMG3D_Set_quadrilateral
int MMG3D_Set_quadrilateral(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_3d.c:973
MMG5_Point::c
double c[3]
Definition: libmmgtypes.h:242
MMG3D_analys
int MMG3D_analys(MMG5_pMesh mesh)
Definition: analys_3d.c:761
MMG3D_IPARAM_mem
@ MMG3D_IPARAM_mem
Definition: libmmg3d.h:70
MMG5_warnOrientation
static void MMG5_warnOrientation(MMG5_pMesh mesh)
Definition: mmg3d.h:551
MG_EDG
#define MG_EDG(tag)
Definition: mmgcommon.h:163
MMG3D_Set_vertices
int MMG3D_Set_vertices(MMG5_pMesh mesh, double *vertices, int *refs)
Definition: API_functions_3d.c:452
MMG3D_mark_packedPoints
int MMG3D_mark_packedPoints(MMG5_pMesh mesh, int *np, int *nc)
Definition: libmmg3d.c:197
MMG5_hgeom
Cell of the hash table of geom edges.
Definition: libmmgtypes.h:509
MMG3D_Set_requiredTriangles
int MMG3D_Set_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1288
MMG3D_Free_solutions
void MMG3D_Free_solutions(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg3d_tools.c:1387
MMG3D_Unset_requiredTetrahedron
int MMG3D_Unset_requiredTetrahedron(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1246
MMG3D_stockOptions
int MMG3D_stockOptions(MMG5_pMesh mesh, MMG5_Info *info)
Definition: libmmg3d_tools.c:940
MMG5_moymet
int MMG5_moymet(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, double *m1)
Definition: anisosiz_3d.c:70
MG_MAX
#define MG_MAX(a, b)
Definition: mmgcommon.h:135
MMG5_orvol
double MMG5_orvol(MMG5_pPoint point, int *v)
Definition: tools.c:838
MMG5_Info::hmin
double hmin
Definition: libmmgtypes.h:476
MMG5_bezierCP
int(* MMG5_bezierCP)(MMG5_pMesh, MMG5_Tria *, MMG5_pBezier, int8_t)
Definition: mmgexterns.c:28
MMG5_Tria::v
int v[3]
Definition: libmmgtypes.h:303
MMG3D_GetByIdx_vertex
int MMG3D_GetByIdx_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, int *ref, int *isCorner, int *isRequired, int idx)
Definition: API_functions_3d.c:419
MMG5_Tetra
Definition: libmmgtypes.h:370
MMG3D_Unset_corner
int MMG3D_Unset_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1221
MMG3D_Set_tetrahedron
int MMG3D_Set_tetrahedron(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_3d.c:515
MMG3D_zaldy
int MMG3D_zaldy(MMG5_pMesh mesh)
Definition: zaldy_3d.c:314
MMG5_Sol
Definition: libmmgtypes.h:610
MMG3D_defsiz_iso
int MMG3D_defsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_3d.c:641
MMG5_Get_basename
char * MMG5_Get_basename(char *path)
Definition: mmg.c:402
MMG3D_searchlen
int MMG3D_searchlen(MMG5_pMesh mesh, MMG5_pSol met, double lmin, double lmax, int *eltab, int8_t metRidTyp)
Definition: libmmg3d_tools.c:1146
MMG5_hashEdge
int MMG5_hashEdge(MMG5_pMesh mesh, MMG5_Hash *hash, int a, int b, int k)
Definition: hash.c:217
MG_SIN
#define MG_SIN(tag)
Definition: mmgcommon.h:164
MMG5_gradsiz_iso
int MMG5_gradsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:277
MMG3D_prilen
int MMG3D_prilen(MMG5_pMesh mesh, MMG5_pSol met, int8_t)
Definition: quality_3d.c:324
MMG3D_Get_nonBdyTriangle
int MMG3D_Get_nonBdyTriangle(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *ref, int idx)
Definition: libmmg3d_tools.c:896
MMG5_Mesh::memCur
size_t memCur
Definition: libmmgtypes.h:554
MMG5_Mesh::nc1
int nc1
Definition: libmmgtypes.h:562
MMG5_Point::s
int s
Definition: libmmgtypes.h:252
MMG3D_Set_vectorSols
int MMG3D_Set_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1585
MMG3D_hashTetra
int MMG3D_hashTetra(MMG5_pMesh mesh, int pack)
Definition: hash_3d.c:180
MMG5_Edge::ref
int ref
Definition: libmmgtypes.h:276
MMG3D_Get_tensorSols
int MMG3D_Get_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1727
MMG3D_lenedgCoor
double(* MMG3D_lenedgCoor)(double *ca, double *cb, double *sa, double *sb)
Definition: mmg3dexterns.c:4
MMG3D_Get_tetsFromTria
int MMG3D_Get_tetsFromTria(MMG5_pMesh mesh, int ktri, int ktet[2], int iface[2])
Definition: libmmg3d_tools.c:1101
MMG3D_Set_outputSolName
int MMG3D_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions_3d.c:77
MMG5_freeXTets
void MMG5_freeXTets(MMG5_pMesh mesh)
Definition: zaldy_3d.c:327
MMG3D_Set_scalarSol
int MMG3D_Set_scalarSol(MMG5_pSol met, double s, int pos)
Definition: API_functions_3d.c:1426
MMG3D_Get_edge
int MMG3D_Get_edge(MMG5_pMesh mesh, int *e0, int *e1, int *ref, int *isRidge, int *isRequired)
Definition: API_functions_3d.c:1122
MG_REF
#define MG_REF
Definition: mmgcommon.h:140
MMG3D_Get_quadrilateral
int MMG3D_Get_quadrilateral(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_3d.c:1001
MG_EOK
#define MG_EOK(pt)
Definition: mmgcommon.h:161
MMG3D_packMesh
int MMG3D_packMesh(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met)
Definition: libmmg3d.c:900
MMG5_hgeom::tag
int16_t tag
Definition: libmmgtypes.h:514
MMG5_excfun
static void MMG5_excfun(int sigid)
Definition: mmgcommon.h:463
MMG5_intregmet
int MMG5_intregmet(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, double s, double mr[6])
Definition: intmet_3d.c:162
MG_NOM
#define MG_NOM
Definition: mmgcommon.h:143
MMG3D_Set_outputMeshName
int MMG3D_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions_3d.c:72
MMG5_HGeom::max
int max
Definition: libmmgtypes.h:523
MMG5_Mesh::xt
int xt
Definition: libmmgtypes.h:568
MMG5_sys33sym
int MMG5_sys33sym(double a[6], double b[3], double r[3])
Definition: tools.c:464
MMG5_Sol::namein
char * namein
Definition: libmmgtypes.h:620
MMG5_NSOLS_MAX
#define MMG5_NSOLS_MAX
Definition: libmmgtypes.h:170
MMG5_intvolmet
int MMG5_intvolmet(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, double s, double mr[6])
Definition: intmet_3d.c:249
MMG5_Mesh::xp
int xp
Definition: libmmgtypes.h:568
MMG5_Sol::size
int size
Definition: libmmgtypes.h:616
MMG5_hashGet
int MMG5_hashGet(MMG5_Hash *hash, int a, int b)
Definition: hash.c:364
MMG3D_IPARAM_numberOfLocalParam
@ MMG3D_IPARAM_numberOfLocalParam
Definition: libmmg3d.h:84
MMG3D_mmg3d2
int MMG3D_mmg3d2(MMG5_pMesh, MMG5_pSol, MMG5_pSol)
Definition: mmg3d2.c:2188
MMG5_Info::imprim
int imprim
Definition: libmmgtypes.h:484
MMG3D_saveAllSols
int MMG3D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2304
MMG3D_Set_inputMeshName
int MMG3D_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions_3d.c:63
MG_STR
#define MG_STR
Definition: mmgcommon.h:57
MMG3D_Set_triangles
int MMG3D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs)
Definition: API_functions_3d.c:930
MMG3D_Get_tensorSol
int MMG3D_Get_tensorSol(MMG5_pSol met, double *m11, double *m12, double *m13, double *m22, double *m23, double *m33)
Definition: API_functions_3d.c:1665
MMG3D_mmg3dmov
int MMG3D_mmg3dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg3d.c:1480
MMG3D_Set_multiMat
int MMG3D_Set_multiMat(MMG5_pMesh mesh, MMG5_pSol sol, int ref, int split, int rin, int rex)
Definition: API_functions_3d.c:2477
MMG5_Hash
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Definition: libmmgtypes.h:542
MMG3D_mark_pointsOnReqEdge_fromTetra
void MMG3D_mark_pointsOnReqEdge_fromTetra(MMG5_pMesh mesh)
Definition: isosiz_3d.c:1024
MMG5_xTetra::tag
int16_t tag[6]
Definition: libmmgtypes.h:394
MMG3D_Unset_requiredTetrahedra
int MMG3D_Unset_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1262
MMG5_Info::optimLES
uint8_t optimLES
Definition: libmmgtypes.h:500
MMG3D_loadMesh
int MMG3D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1187
MMG5_boulesurfvolp
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:594
MMG5_Bezier::n
double n[6][3]
Definition: mmgcommon.h:559
MMG3D_Get_prism
int MMG3D_Get_prism(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *v4, int *v5, int *ref, int *isRequired)
Definition: API_functions_3d.c:749
MMG3D_Set_ithSols_inSolsAtVertices
int MMG3D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_3d.c:1803
MMG3D_IPARAM_nreg
@ MMG3D_IPARAM_nreg
Definition: libmmg3d.h:83
MMG5_printSolStats
void MMG5_printSolStats(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: inout.c:2485
MMG5_Par::hmin
double hmin
Definition: libmmgtypes.h:229
MMG5_Info::nomove
uint8_t nomove
Definition: libmmgtypes.h:500
MMG5_iprv2
static const uint8_t MMG5_iprv2[3]
Definition: mmgcommon.h:548
MMG5_Mesh::point
MMG5_pPoint point
Definition: libmmgtypes.h:589
info
MMG5_Info info
MMG5_xTetra::ftag
int16_t ftag[4]
Definition: libmmgtypes.h:392
MG_GET
#define MG_GET(flag, bit)
Definition: mmgcommon.h:170
MMG5_Tria::edg
int edg[3]
Definition: libmmgtypes.h:308
MMG5_build3DMetric
void MMG5_build3DMetric(MMG5_pMesh mesh, MMG5_pSol sol, int ip, double dbuf[6])
Definition: inout.c:1479
MMG3D_delPt
void MMG3D_delPt(MMG5_pMesh mesh, int ip)
Definition: zaldy_3d.c:79
MMG5_Tria::tag
int16_t tag[3]
Definition: libmmgtypes.h:311
MMG5_Bezier::b
double b[10][3]
Definition: mmgcommon.h:558
inlined_functions.h
inlined Functions
MMG5_invmatg
int MMG5_invmatg(double m[9], double mi[9])
Definition: tools.c:330
MMG3D_Set_edges
int MMG3D_Set_edges(MMG5_pMesh mesh, int *edges, int *refs)
Definition: API_functions_3d.c:1168
MMG3D_Set_requiredTetrahedra
int MMG3D_Set_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1252
MMG3D_DPARAM_angleDetection
@ MMG3D_DPARAM_angleDetection
Definition: libmmg3d.h:92
MMG3D_mmg3dls
int MMG3D_mmg3dls(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol umet)
Definition: libmmg3d.c:1199
MMG3D_Set_tensorSol
int MMG3D_Set_tensorSol(MMG5_pSol met, double m11, double m12, double m13, double m22, double m23, double m33, int pos)
Definition: API_functions_3d.c:1623
MMG3D_mmg3dls
int MMG3D_mmg3dls(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met)
Definition: libmmg3d.c:1199
MMG3D_Unset_requiredTriangles
int MMG3D_Unset_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1299
MMG3D_loadMesh_opened
int MMG3D_loadMesh_opened(MMG5_pMesh mesh, FILE *inm, int bin)
Definition: inout_3d.c:112
MMG3D_Set_inputSolName
int MMG3D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_3d.c:68
MG_PARBDY
#define MG_PARBDY
Definition: mmgcommon.h:150
MMG5_interp4barintern
static int MMG5_interp4barintern(MMG5_pSol met, int ip, double cb[4], double dm0[6], double dm1[6], double dm2[6], double dm3[6])
Definition: intmet_3d.c:336
MMG3D_localParamNm
int MMG3D_localParamNm(MMG5_pMesh, int, int, int, double *, double *, double *)
Definition: tools_3d.c:1070
MMG5_Info::hgradreq
double hgradreq
Definition: libmmgtypes.h:476
MMG5_Mesh::base
int base
Definition: libmmgtypes.h:564
MMG3D_Get_prisms
int MMG3D_Get_prisms(MMG5_pMesh mesh, int *prisms, int *refs, int *areRequired)
Definition: API_functions_3d.c:825
MMG_FREAD
#define MMG_FREAD(ptr, size, count, stream)
Definition: mmgcommon.h:400
MMG5_intmet_ani
int MMG5_intmet_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int ip, double s)
Definition: intmet_3d.c:51
MMG5_solTruncatureForOptim
void MMG5_solTruncatureForOptim(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmg.c:263
MG_VOK
#define MG_VOK(ppt)
Definition: mmgcommon.h:160
MMG3D_loadVtkMesh
int MMG3D_loadVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_inxt2
static const uint8_t MMG5_inxt2[6]
Definition: mmgcommon.h:547
inlined_functions_3d.h
inlined Functions
MMG5_Mesh::np
int np
Definition: libmmgtypes.h:559
MMG5_FILESTR_LGTH
#define MMG5_FILESTR_LGTH
Definition: mmgcommon.h:132
MMG5_Mesh::nsols
int nsols
Definition: libmmgtypes.h:561
MMG3D_Add_tetrahedron
int MMG3D_Add_tetrahedron(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref)
Definition: API_functions_3d.c:1999
MMG3D_IPARAM_optim
@ MMG3D_IPARAM_optim
Definition: libmmg3d.h:77
MMG5_iarf
static const int8_t MMG5_iarf[4][3]
iarf[i]: edges of face opposite to vertex i
Definition: mmg3d.h:152
MMG3D_saveVtkMesh_and_allData
int MMG3D_saveVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG5_Point::ref
int ref
Definition: libmmgtypes.h:247
MMG3D_Set_prisms
int MMG3D_Set_prisms(MMG5_pMesh mesh, int *prisms, int *refs)
Definition: API_functions_3d.c:795
MMG3D_sum_reqEdgeLengthsAtPoint
static int MMG3D_sum_reqEdgeLengthsAtPoint(MMG5_pMesh mesh, MMG5_pSol met, MMG5_Hash *hash, MMG5_pTetra pt, int8_t i)
Definition: isosiz_3d.c:513
MMG3D_bdryBuild
int MMG3D_bdryBuild(MMG5_pMesh mesh)
Definition: libmmg3d.c:97
MMG5_Par::ref
int ref
Definition: libmmgtypes.h:232
MMG5_sum_reqEdgeLengthsAtPoint
int MMG5_sum_reqEdgeLengthsAtPoint(MMG5_pMesh mesh, MMG5_pSol met, int ip0, int ip1)
Definition: isosiz.c:129
MMG3D_inqua
int MMG3D_inqua(MMG5_pMesh mesh, MMG5_pSol met)
Definition: quality_3d.c:613
MMG5_Mesh::xtetra
MMG5_pxTetra xtetra
Definition: libmmgtypes.h:592
MMG5_saveMshMesh
int MMG5_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename, int metricData)
Definition: inout.c:1538
MMG3D_Set_requiredVertex
int MMG3D_Set_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1227
MMG3D_loadVtuMesh_and_allData
int MMG3D_loadVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG3D_Get_triangle
int MMG3D_Get_triangle(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *ref, int *isRequired)
Definition: API_functions_3d.c:888
MMG3D_Compute_eigenv
int MMG3D_Compute_eigenv(double m[6], double lambda[3], double vp[3][3])
Definition: libmmg3d_tools.c:1381
MMG3D_IPARAM_nosurf
@ MMG3D_IPARAM_nosurf
Definition: libmmg3d.h:82
MMG3D_Get_vertex
int MMG3D_Get_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, int *ref, int *isCorner, int *isRequired)
Definition: API_functions_3d.c:392
MMG3D_loadVtkMesh_and_allData
int MMG3D_loadVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG5_Tetrahedron
@ MMG5_Tetrahedron
Definition: libmmgtypes.h:216
MMG3D_loadVtuMesh
int MMG3D_loadVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG3D_Set_inputSolName
int MMG3D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_3d.c:68
MMG5_Mesh::ne
int ne
Definition: libmmgtypes.h:559
MMG3D_Set_solSize
int MMG3D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_3d.c:110
MMG3D_saveSol
int MMG3D_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:2268
MMG5_Mesh::adja
int * adja
Definition: libmmgtypes.h:572
MMG5_Mesh::nai
int nai
Definition: libmmgtypes.h:559
MMG3D_saveMshMesh
int MMG3D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:2094
MMG3D_saveVtuMesh
int MMG3D_saveVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG3D_Free_allSols
int MMG3D_Free_allSols(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: API_functions_3d.c:2481
MMG5_Info::noswap
uint8_t noswap
Definition: libmmgtypes.h:500
MMG5_Info::hausd
double hausd
Definition: libmmgtypes.h:476
MMG5_check_readedMesh
int MMG5_check_readedMesh(MMG5_pMesh mesh, int nref)
Definition: inout.c:486
MMG5_Prism::v
int v[6]
Definition: libmmgtypes.h:432
MMG5_Mesh::tria
MMG5_pTria tria
Definition: libmmgtypes.h:595
MMG5_interp4bar_iso
int MMG5_interp4bar_iso(MMG5_pMesh mesh, MMG5_pSol met, int k, int ip, double cb[4])
Definition: intmet_3d.c:308
MMG3D_pack_pointArray
int MMG3D_pack_pointArray(MMG5_pMesh mesh)
Definition: libmmg3d.c:468
MMG3D_Get_ithSols_inSolsAtVertices
int MMG3D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_3d.c:1831
MMG3D_Get_iparameter
int MMG3D_Get_iparameter(MMG5_pMesh mesh, int iparam)
Definition: API_functions_3d.c:2277
MMG3D_loadAllSols
int MMG3D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2170
MG_CRN
#define MG_CRN
Definition: mmgcommon.h:145
MG_REQ
#define MG_REQ
Definition: mmgcommon.h:142
MMG3D_Set_solsAtVerticesSize
int MMG3D_Set_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int nsols, int nentities, int *typSol)
Definition: API_functions_3d.c:155
MMG3D_Set_constantSize
int MMG3D_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:1339
MMG3D_Set_commonFunc
static void MMG3D_Set_commonFunc(void)
Definition: mmg3d.h:570
MMG3D_Unset_requiredEdge
int MMG3D_Unset_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1366
MMG3D_keep_only1Subdomain
void MMG3D_keep_only1Subdomain(MMG5_pMesh mesh, int nsd)
Definition: tools_3d.c:1314
MMG3D_IPARAM_numsubdomain
@ MMG3D_IPARAM_numsubdomain
Definition: libmmg3d.h:87
mesh
MMG5_pMesh * mesh
Definition: API_functionsf_3d.c:65
ddb
int8_t ddb
Definition: mmg3d1_delone.c:41
MMG5_RETURN_AND_PACK
#define MMG5_RETURN_AND_PACK(mesh, met, sol, val)
Definition: libmmg3d.c:49
MMG5_BezierEdge
int MMG5_BezierEdge(MMG5_pMesh mesh, int ip0, int ip1, double b0[3], double b1[3], int8_t ised, double v[3])
Definition: bezier_3d.c:152
MMG5_ADD_MEM
#define MMG5_ADD_MEM(mesh, size, message, law)
Definition: mmgcommon.h:290
MMG5_Mesh::quadra
MMG5_pQuad quadra
Definition: libmmgtypes.h:596
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:626
MMG3D_setfunc
void MMG3D_setfunc(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:36
MMG3D_destockOptions
void MMG3D_destockOptions(MMG5_pMesh mesh, MMG5_Info *info)
Definition: libmmg3d_tools.c:953
MG_GEO
#define MG_GEO
Definition: mmgcommon.h:141
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:384
MMG5_gradation_info
void MMG5_gradation_info(MMG5_pMesh mesh)
Definition: isosiz.c:96
MMG3D_pack_prismsAndQuads
int MMG3D_pack_prismsAndQuads(MMG5_pMesh mesh)
Definition: libmmg3d.c:376
MMG3D_Get_numberOfNonBdyTriangles
int MMG3D_Get_numberOfNonBdyTriangles(MMG5_pMesh mesh, int *nb_tria)
Definition: libmmg3d_tools.c:682
MMG3D_Set_ridge
int MMG3D_Set_ridge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1348
MMG_FSCANF
#define MMG_FSCANF(stream, format,...)
Definition: mmgcommon.h:432
chrono
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
MMG5_saveEdge
int MMG5_saveEdge(MMG5_pMesh mesh, const char *filename)
Definition: inout.c:2577
MMG3D_Free_topoTables
void MMG3D_Free_topoTables(MMG5_pMesh mesh)
Definition: libmmg3d.c:65
MMG5_SAFE_RECALLOC
#define MMG5_SAFE_RECALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:341
MMG3D_mmg3dmov
int MMG3D_mmg3dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg3d.c:1480
MMG3D_saveSol
int MMG3D_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:2268
MMG5_Mesh::npi
int npi
Definition: libmmgtypes.h:559
MMG5_Info::noinsert
uint8_t noinsert
Definition: libmmgtypes.h:500
MMG3D_DPARAM_hmin
@ MMG3D_DPARAM_hmin
Definition: libmmg3d.h:93
MMG3D_tetraQual
int MMG3D_tetraQual(MMG5_pMesh mesh, MMG5_pSol met, int8_t metRidTyp)
Definition: quality_3d.c:48
MMG5_readDoubleSol3D
int MMG5_readDoubleSol3D(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout.c:2208
MMG5_reset_metricAtReqEdges_surf
int MMG5_reset_metricAtReqEdges_surf(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: isosiz.c:204
MMG3D_Get_solSize
int MMG3D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int *typEntity, int *np, int *typSol)
Definition: API_functions_3d.c:284
MMG3D_Set_ithSol_inSolsAtVertices
int MMG3D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_3d.c:1746
MMG3D_DPARAM_hgradreq
@ MMG3D_DPARAM_hgradreq
Definition: libmmg3d.h:98
MMG3D_DPARAM_hgrad
@ MMG3D_DPARAM_hgrad
Definition: libmmg3d.h:97
MMG5_Mesh::htab
MMG5_HGeom htab
Definition: libmmgtypes.h:598
MMG5_Tria::ref
int ref
Definition: libmmgtypes.h:304
MMG3D_saveEle
static int MMG3D_saveEle(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:2353
MMG3D_IPARAM_numberOfLSBaseReferences
@ MMG3D_IPARAM_numberOfLSBaseReferences
Definition: libmmg3d.h:85
MMG5_Point
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:241
MMG5_interpreg_ani
int MMG5_interpreg_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int8_t i, double s, double mr[6])
Definition: intmet.c:498
MMG5_nortri
int MMG5_nortri(MMG5_pMesh mesh, MMG5_pTria pt, double *n)
Definition: tools.c:156
A16TH
#define A16TH
Definition: isosiz_3d.c:43
MMG3D_delElt
int MMG3D_delElt(MMG5_pMesh mesh, int iel)
Definition: zaldy_3d.c:121
MMG3D_unset_reqBoundaries
void MMG3D_unset_reqBoundaries(MMG5_pMesh mesh)
Definition: libmmg3d.c:871
MMG3D_Unset_ridge
int MMG3D_Unset_ridge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1354
MMG5_hNew
int MMG5_hNew(MMG5_pMesh mesh, MMG5_HGeom *hash, int hsiz, int hmax)
Definition: hash_3d.c:1019
MMG5_chkBdryTria
int MMG5_chkBdryTria(MMG5_pMesh mesh)
Definition: hash_3d.c:1452
MMG3D_Set_handGivenMesh
void MMG3D_Set_handGivenMesh(MMG5_pMesh mesh)
Definition: API_functions_3d.c:1859
MMG3D_Set_requiredTetrahedron
int MMG3D_Set_requiredTetrahedron(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1240
MMG5_Info::ddebug
int8_t ddebug
Definition: libmmgtypes.h:487
mytime
Chrono object.
Definition: chrono.h:58
MMG5_Edge::b
int b
Definition: libmmgtypes.h:275
MMG3D_Set_requiredEdge
int MMG3D_Set_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1360
MMG5_hashNew
int MMG5_hashNew(MMG5_pMesh mesh, MMG5_Hash *hash, int hsiz, int hmax)
Definition: hash.c:394
MMG5_tet2tri
void MMG5_tet2tri(MMG5_pMesh mesh, int k, int8_t ie, MMG5_Tria *ptt)
Definition: mmg3d1.c:52
MMG5_Sol::m
double * m
Definition: libmmgtypes.h:618
MMG3D_saveMshMesh_and_allData
int MMG3D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2099
MMG3D_DPARAM_rmc
@ MMG3D_DPARAM_rmc
Definition: libmmg3d.h:100
MMG3D_Get_quadrilaterals
int MMG3D_Get_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs, int *areRequired)
Definition: API_functions_3d.c:1064
MMG3D_saveMesh
int MMG3D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1324
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:2019
MMG5_freeXPrisms
void MMG5_freeXPrisms(MMG5_pMesh mesh)
Definition: zaldy_3d.c:346
MMG5_rotmatrix
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:233
MMG5_xTetra::ori
int8_t ori
Definition: libmmgtypes.h:396
MMG5_STRONGFAILURE
#define MMG5_STRONGFAILURE
Definition: libmmgtypes.h:59
MMG5_mark_pointsOnReqEdge_fromTria
void MMG5_mark_pointsOnReqEdge_fromTria(MMG5_pMesh mesh)
Definition: isosiz.c:242
MMG3D_Set_parallelTriangle
int MMG3D_Set_parallelTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1310
MMG5_interp4bar_ani
int MMG5_interp4bar_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, int ip, double cb[4])
Definition: intmet_3d.c:378
MMG3D_doSol
int MMG3D_doSol(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:1207
MMG3D_usage
int MMG3D_usage(char *prog)
Definition: libmmg3d_tools.c:119
MMG3D_IPARAM_numberOfMat
@ MMG3D_IPARAM_numberOfMat
Definition: libmmg3d.h:86
A32TH
#define A32TH
Definition: isosiz_3d.c:44
MMG3D_Set_edge
int MMG3D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref, int pos)
Definition: API_functions_3d.c:1090
MMG5_HGeom::geom
MMG5_hgeom * geom
Definition: libmmgtypes.h:522
MMG5_iare
static const uint8_t MMG5_iare[6][2]
vertices of extremities of the edges of the tetra
Definition: mmg3d.h:156
MMG5_Quad::v
int v[4]
Definition: libmmgtypes.h:336
MMG5_invmat
int MMG5_invmat(double *m, double *mi)
Definition: tools.c:279
MG_MIN
#define MG_MIN(a, b)
Definition: mmgcommon.h:136
MMG5_Mesh::na
int na
Definition: libmmgtypes.h:559
MMG5_intmet_iso
int MMG5_intmet_iso(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int ip, double s)
Definition: intmet_3d.c:131
MMG3D_DPARAM_hmax
@ MMG3D_DPARAM_hmax
Definition: libmmg3d.h:94
MMG3D_searchqua
void MMG3D_searchqua(MMG5_pMesh mesh, MMG5_pSol met, double critmin, int *eltab, int8_t metRidTyp)
Definition: libmmg3d_tools.c:1054
MMG5_Info::hgrad
double hgrad
Definition: libmmgtypes.h:476
MMG5_Edge::tag
int16_t tag
Definition: libmmgtypes.h:279
MMG5_EPS
#define MMG5_EPS
Definition: eigenv.h:32
MMG3D_Init_parameters
void MMG3D_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions_3d.c:81
MMG5_Point::tag
int16_t tag
Definition: libmmgtypes.h:253
MMG5_xPoint::n1
double n1[3]
Definition: libmmgtypes.h:264
MMG3D_Get_tetrahedron
int MMG3D_Get_tetrahedron(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_3d.c:586
MMG5_Tria
Definition: libmmgtypes.h:301
MMG3D_Chk_meshData
int MMG3D_Chk_meshData(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions_3d.c:1875
MMG3D_loadMesh
int MMG3D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1187
MMG3D_loadSol
int MMG3D_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:2104
MMG3D_Add_vertex
int MMG3D_Add_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, int ref)
Definition: API_functions_3d.c:2072
MMG3D_Set_corner
int MMG3D_Set_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1215
MMG5_SUCCESS
#define MMG5_SUCCESS
Definition: libmmgtypes.h:43
MG_NOSURF
#define MG_NOSURF
Definition: mmgcommon.h:146
MMG5_Bezier
Definition: mmgcommon.h:557
MAXLEN
#define MAXLEN
Definition: isosiz_3d.c:41
MMG5_readFloatSol3D
int MMG5_readFloatSol3D(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout.c:2159
MMG3D_PARAM_size
@ MMG3D_PARAM_size
Definition: libmmg3d.h:101
MMG5_eigensym
int MMG5_eigensym(double m[3], double lambda[2], double vp[2][2])
Definition: eigenv.c:797
MMG3D_saveVtkMesh
int MMG3D_saveVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG3D_Set_triangle
int MMG3D_Set_triangle(MMG5_pMesh mesh, int v0, int v1, int v2, int ref, int pos)
Definition: API_functions_3d.c:854
MMG3D_Set_parallelTriangles
int MMG3D_Set_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar)
Definition: API_functions_3d.c:1326
MMG5_SW
#define MMG5_SW
Definition: mmgcommon.h:176
MMG3D_outqua
int MMG3D_outqua(MMG5_pMesh mesh, MMG5_pSol met)
Definition: quality_3d.c:744
MMG5_Sol::ver
int ver
Definition: libmmgtypes.h:611
MMG2D_quickarea
double MMG2D_quickarea(double a[2], double b[2], double c[2])
Definition: tools.c:858
MMG5_LOWFAILURE
#define MMG5_LOWFAILURE
Definition: libmmgtypes.h:51
MMG5_Mesh::nquad
int nquad
Definition: libmmgtypes.h:560
MMG3D_loadMshMesh_and_allData
int MMG3D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:1257
MMG3D_Get_meshSize
int MMG3D_Get_meshSize(MMG5_pMesh mesh, int *np, int *ne, int *nprism, int *nt, int *nquad, int *na)
Definition: API_functions_3d.c:337
MMG5_unscaleMesh
int MMG5_unscaleMesh(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol ls)
Definition: scalem.c:401
MG_NUL
#define MG_NUL
Definition: mmgcommon.h:151
MMG5_Quad::ref
int ref
Definition: libmmgtypes.h:337
MMG5_interp4bar33_ani
int MMG5_interp4bar33_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, int ip, double cb[4])
Definition: intmet_3d.c:450
MMG5_Sol::type
int type
Definition: libmmgtypes.h:617
MMG3D_IPARAM_octree
@ MMG3D_IPARAM_octree
Definition: libmmg3d.h:90
MMG3D_Get_edges
int MMG3D_Get_edges(MMG5_pMesh mesh, int *edges, int *refs, int *areRidges, int *areRequired)
Definition: API_functions_3d.c:1185
MMG5_Info::nsd
int nsd
Definition: libmmgtypes.h:485
MMG5_chkmsh
int(* MMG5_chkmsh)(MMG5_pMesh, int, int)
Definition: mmgexterns.c:27
MMG3D_saveNeigh
static int MMG3D_saveNeigh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:2425
MMG3D_saveMshMesh
int MMG3D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:2094
MMG3D_Set_dparameter
int MMG3D_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val)
Definition: API_functions_3d.c:2341
MMG5_Mesh::xpoint
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:590
MMG5_ATHIRD
#define MMG5_ATHIRD
Definition: mmgcommon.h:86
MMG5_Mesh::npnil
int npnil
Definition: libmmgtypes.h:569
MMG3D_Get_solsAtVerticesSize
int MMG3D_Get_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int *nsols, int *nentities, int *typSol)
Definition: API_functions_3d.c:308
printim
void printim(double elps, char *stim)
Print real time.
Definition: chrono.c:149
MMG3D_pack_tetra
int MMG3D_pack_tetra(MMG5_pMesh mesh)
Definition: libmmg3d.c:332
MMG3D_indElt
int MMG3D_indElt(MMG5_pMesh mesh, int kel)
Definition: tools_3d.c:868
MMG5_Point::xp
int xp
Definition: libmmgtypes.h:248
MMG3D_pack_sol
int MMG3D_pack_sol(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: libmmg3d.c:420
MMG3D_saveFace
static int MMG3D_saveFace(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:2504
MMG5_Mesh::tetra
MMG5_pTetra tetra
Definition: libmmgtypes.h:591
MMG5_xTetra
Structure to store the surface tetrahedra of a MMG mesh.
Definition: libmmgtypes.h:387
MMG5_EPSD2
#define MMG5_EPSD2
Definition: mmgcommon.h:89
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_Info::fem
int8_t fem
Definition: libmmgtypes.h:493
MMG5_meansizreg_iso
double MMG5_meansizreg_iso(MMG5_pMesh mesh, MMG5_pSol met, int nump, int *lists, int ilists, double hmin, double hmax)
Definition: isosiz_3d.c:462
mmgcommon.h
MMG5_intregvolmet
static int MMG5_intregvolmet(double *ma, double *mb, double *mp, double t)
Definition: intmet_3d.c:204
MMG5_Set_inputSolName
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:183
MMG3D_Set_prism
int MMG3D_Set_prism(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int v4, int v5, int ref, int pos)
Definition: API_functions_3d.c:709
tminit
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
MMG3D_Free_names
int MMG3D_Free_names(const int starter,...)
Definition: API_functions_3d.c:2514
MMG5_Sol::dim
int dim
Definition: libmmgtypes.h:612
MMG5_Quad::tag
int16_t tag[4]
Definition: libmmgtypes.h:341
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
MMG3D_Get_tetFromTria
int MMG3D_Get_tetFromTria(MMG5_pMesh mesh, int ktri, int *ktet, int *iface)
Definition: libmmg3d_tools.c:1082
MMG5_lenedgCoor_iso
double MMG5_lenedgCoor_iso(double *ca, double *cb, double *ma, double *mb)
Compute edge length from edge's coordinates.
Definition: isosiz_3d.c:60
MMG5_Info::optim
uint8_t optim
Definition: libmmgtypes.h:500
MMG5_Quad
Definition: libmmgtypes.h:335
MMG5_ifar
static const uint8_t MMG5_ifar[6][2]
ifar[i][]: faces sharing the ith edge of the tetra
Definition: mmg3d.h:158
MMG5_Mesh::nt
int nt
Definition: libmmgtypes.h:559
MG_Tetra
#define MG_Tetra
Definition: mmgcommon.h:156
MMG5_Hash::item
MMG5_hedge * item
Definition: libmmgtypes.h:544
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:89
MMG3D_Set_solSize
int MMG3D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_3d.c:110
MMG3D_Get_ithSol_inSolsAtVertices
int MMG3D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_3d.c:1773
MMG5_saveNode
int MMG5_saveNode(MMG5_pMesh mesh, const char *filename)
Definition: inout.c:2503
MMG3D_saveMshMesh_and_allData
int MMG3D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2099
_LIBMMG5_RETURN
#define _LIBMMG5_RETURN(mesh, sol, met, val)
Definition: mmgcommon.h:182
MMG5_Mesh
MMG mesh structure.
Definition: libmmgtypes.h:552
MMG3D_hashPrism
int MMG3D_hashPrism(MMG5_pMesh mesh)
Definition: hash_3d.c:297
MMG5_mmg3d1_pattern
int MMG5_mmg3d1_pattern(MMG5_pMesh, MMG5_pSol, int *)
Definition: mmg3d1_pattern.c:454
MMG5_Info::par
MMG5_pPar par
Definition: libmmgtypes.h:475
MMG5_idir
static const uint8_t MMG5_idir[4][3]
idir[i]: vertices of face opposite to vertex i
Definition: mmg3d.h:148
MMG3D_IPARAM_debug
@ MMG3D_IPARAM_debug
Definition: libmmg3d.h:71
MMG5_xPoint::n2
double n2[3]
Definition: libmmgtypes.h:264
MMG5_writeDoubleSol3D
void MMG5_writeDoubleSol3D(MMG5_pMesh mesh, MMG5_pSol sol, FILE *inm, int bin, int pos, int metricData)
Definition: inout.c:2257
MMG5_hgeom::a
int a
Definition: libmmgtypes.h:510
MMG5_Info::nosizreq
uint8_t nosizreq
Definition: libmmgtypes.h:500
MMG5_mmg3d3
int MMG5_mmg3d3(MMG5_pMesh, MMG5_pSol, MMG5_pSol, int **)
Definition: mmg3d3.c:651
MMG3D_intmet33_ani
int MMG3D_intmet33_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int ip, double s)
Definition: intmet_3d.c:101
MMG5_xPoint
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:263
MMG5_Sol::npmax
int npmax
Definition: libmmgtypes.h:614
MMG5_Mesh::ver
int ver
Definition: libmmgtypes.h:556
MMG5_scotchCall
int MMG5_scotchCall(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol fields, int *permNodGlob)
Definition: librnbg.c:229
MMG3D_loadMshMesh_and_allData
int MMG3D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:1257
MMG5_interp_iso
int MMG5_interp_iso(double *ma, double *mb, double *mp, double t)
Definition: intmet.c:478
MMG5_mmgIntmet33_ani
int MMG5_mmgIntmet33_ani(double *m, double *n, double *mr, double s)
Definition: intmet.c:49
MMG5_Info::iso
int8_t iso
Definition: libmmgtypes.h:489
MMG5_Info::hmax
double hmax
Definition: libmmgtypes.h:476
MMG5_Prism::ref
int ref
Definition: libmmgtypes.h:433
MMG5_hEdge
int MMG5_hEdge(MMG5_pMesh mesh, MMG5_HGeom *hash, int a, int b, int ref, int16_t tag)
Definition: hash_3d.c:977
MMG5_iarfinv
static const int8_t MMG5_iarfinv[4][6]
num of the j^th edge in the i^th face
Definition: mmg3d.h:154
MMG5_Par
Definition: libmmgtypes.h:228
MMG5_Mesh::nei
int nei
Definition: libmmgtypes.h:559
MMG3D_loadSol
int MMG3D_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:2104
MMG3D_Unset_parallelTriangle
int MMG3D_Unset_parallelTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1318
MMG3D_IPARAM_iso
@ MMG3D_IPARAM_iso
Definition: libmmg3d.h:73
MMG3D_Get_tetrahedra
int MMG3D_Get_tetrahedra(MMG5_pMesh mesh, int *tetra, int *refs, int *areRequired)
Definition: API_functions_3d.c:685
MMG3D_Set_quadrilaterals
int MMG3D_Set_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs)
Definition: API_functions_3d.c:1046
MMG5_Mesh::info
MMG5_Info info
Definition: libmmgtypes.h:599
MMG3D_IPARAM_nomove
@ MMG3D_IPARAM_nomove
Definition: libmmg3d.h:81
MMG3D_Set_tensorSols
int MMG3D_Set_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1701
MMG3D_DPARAM_hausd
@ MMG3D_DPARAM_hausd
Definition: libmmg3d.h:96
MMG3D_mmg3dlib
int MMG3D_mmg3dlib(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:970
MMG5_Point::flag
int flag
Definition: libmmgtypes.h:251
MMG5_Mesh::adjapr
int * adjapr
Definition: libmmgtypes.h:580
MMG3D_defaultValues
int MMG3D_defaultValues(MMG5_pMesh mesh)
Definition: libmmg3d_tools.c:159
MMG5_Edge::a
int a
Definition: libmmgtypes.h:275
MMG5_Par::elt
int8_t elt
Definition: libmmgtypes.h:233
MMG5_Mesh::npmax
int npmax
Definition: libmmgtypes.h:559
MMG3D_Set_requiredTriangle
int MMG3D_Set_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1272
MMG5_defsizreg
static double MMG5_defsizreg(MMG5_pMesh mesh, MMG5_pSol met, int nump, int *lists, int ilists, double hmin, double hmax, double hausd)
Definition: isosiz_3d.c:89
MMG3D_DPARAM_hsiz
@ MMG3D_DPARAM_hsiz
Definition: libmmg3d.h:95
mmg3dexterns.h
MMG3D_Get_vectorSol
int MMG3D_Get_vectorSol(MMG5_pSol met, double *vx, double *vy, double *vz)
Definition: API_functions_3d.c:1553
MMG3D_set_metricAtPointsOnReqEdges
int MMG3D_set_metricAtPointsOnReqEdges(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: isosiz_3d.c:544
MMG5_rmtr
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:199
MMG3D_parsop
int MMG3D_parsop(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:552
MMG3D_loadMshMesh
int MMG3D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:1201
MMG3D_saveVtuMesh_and_allData
int MMG3D_saveVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG3D_openMesh
int MMG3D_openMesh(int imprim, const char *filename, FILE **inm, int *bin, char *modeASCII, char *modeBIN)
Definition: inout_3d.c:52
MMG5_hgeom::ref
int ref
Definition: libmmgtypes.h:512
MG_ISO
#define MG_ISO
Definition: libmmgtypes.h:65
MMG5_Tetra::ref
int ref
Definition: libmmgtypes.h:373
MMG3D_Set_iparameter
int MMG3D_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, int val)
Definition: API_functions_3d.c:2104
MMG3D_IPARAM_verbose
@ MMG3D_IPARAM_verbose
Definition: libmmg3d.h:69
MMG5_printMetStats
void MMG5_printMetStats(MMG5_pMesh mesh, MMG5_pSol met)
Definition: inout.c:2467
MMG3D_gradsizreq_iso
int MMG3D_gradsizreq_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_3d.c:1143
MMG5_Mesh::nti
int nti
Definition: libmmgtypes.h:559
tmp
tmp[*strlen0]
Definition: API_functionsf_3d.c:1021
MMG5_chkMetricType
int MMG5_chkMetricType(MMG5_pMesh mesh, int *type, FILE *inm)
Definition: inout.c:2435
MMG3D_localParamReg
int MMG3D_localParamReg(MMG5_pMesh, int, int *, int, int *, int, double *, double *, double *)
Definition: tools_3d.c:950
MMG5_Info
Store input parameters of the run.
Definition: libmmgtypes.h:474
MMG3D_IPARAM_anisosize
@ MMG3D_IPARAM_anisosize
Definition: libmmg3d.h:89
MMG3D_mmg3dlib
int MMG3D_mmg3dlib(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:970
MMG5_Tetra::tag
int16_t tag
Definition: libmmgtypes.h:379
MMG3D_update_eltsVertices
int MMG3D_update_eltsVertices(MMG5_pMesh mesh)
Definition: libmmg3d.c:803
MMG3D_IPARAM_noswap
@ MMG3D_IPARAM_noswap
Definition: libmmg3d.h:80
MMG5_Mesh::nameout
char * nameout
Definition: libmmgtypes.h:601
MMG3D_Get_tetrahedronQuality
double MMG3D_Get_tetrahedronQuality(MMG5_pMesh mesh, MMG5_pSol met, int k)
Definition: API_functions_3d.c:1394
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:162
MMG3D_Get_vectorSols
int MMG3D_Get_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1608
mmg3d.h
MMG5_xTetra::edg
int edg[6]
Definition: libmmgtypes.h:390
MMG3D_Set_tetrahedra
int MMG3D_Set_tetrahedra(MMG5_pMesh mesh, int *tetra, int *refs)
Definition: API_functions_3d.c:628
MMG5_swapf
float MMG5_swapf(float sbin)
Definition: inout.c:61
MMG5_SAFE_CALLOC
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:304
MMG5_boulevolp
int MMG5_boulevolp(MMG5_pMesh mesh, int start, int ip, int *list)
Definition: boulep_3d.c:53
MMG3D_Set_localParameter
int MMG3D_Set_localParameter(MMG5_pMesh mesh, MMG5_pSol sol, int typ, int ref, double hmin, double hmax, double hausd)
Definition: API_functions_3d.c:2404
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:2323
MMG5_gradsizreq_iso
int MMG5_gradsizreq_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:368
MMG3D_saveMesh
int MMG3D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1324
MMG3D_Get_normalAtVertex
int MMG3D_Get_normalAtVertex(MMG5_pMesh mesh, int k, double *n0, double *n1, double *n2)
Definition: API_functions_3d.c:1384
MMG3D_saveTetgenMesh
int MMG3D_saveTetgenMesh(MMG5_pMesh, const char *)
Definition: inout_3d.c:2568
MMG3D_Unset_parallelTriangles
int MMG3D_Unset_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar)
Definition: API_functions_3d.c:1337
MMG5_Scalar
@ MMG5_Scalar
Definition: libmmgtypes.h:202
MMG3D_pack_points
int MMG3D_pack_points(MMG5_pMesh mesh)
Definition: libmmg3d.c:849
MMG5_DEL_MEM
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:281
MMG3D_Free_structures
int MMG3D_Free_structures(const int starter,...)
Definition: API_functions_3d.c:2500
MMG3D_loadMshMesh
int MMG3D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:1201
MMG5_Mesh::edge
MMG5_pEdge edge
Definition: libmmgtypes.h:597
ier
int ier
Definition: API_functionsf_3d.c:979
MMG3D_Set_vertex
int MMG3D_Set_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, int ref, int pos)
Definition: API_functions_3d.c:356
MMG3D_Unset_requiredTriangle
int MMG3D_Unset_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1280
MMG3D_Get_scalarSol
int MMG3D_Get_scalarSol(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1460
MMG3D_parsar
int MMG3D_parsar(int argc, char *argv[], MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol sol)
Definition: libmmg3d_tools.c:179
MMG3D_Free_all
int MMG3D_Free_all(const int starter,...)
Definition: API_functions_3d.c:2486
MMG3D_Set_scalarSols
int MMG3D_Set_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1490
MMG3D_Get_vertices
int MMG3D_Get_vertices(MMG5_pMesh mesh, double *vertices, int *refs, int *areCorners, int *areRequired)
Definition: API_functions_3d.c:479
MMG3D_IPARAM_lag
@ MMG3D_IPARAM_lag
Definition: libmmg3d.h:76
MMG5_Info::lag
int8_t lag
Definition: libmmgtypes.h:494
MMG3D_Get_adjaTet
int MMG3D_Get_adjaTet(MMG5_pMesh mesh, int kel, int listet[4])
Return adjacent elements of a tetrahedron.
Definition: libmmg3d_tools.c:102
MMG3D_IPARAM_nosizreq
@ MMG3D_IPARAM_nosizreq
Definition: libmmg3d.h:91
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:238
MMG5_Prism
Definition: libmmgtypes.h:431
A64TH
#define A64TH
Definition: isosiz_3d.c:42
MMG3D_mmg3dcheck
int MMG3D_mmg3dcheck(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol sol, double critmin, double lmin, double lmax, int *eltab, int8_t metRidTyp)
Definition: libmmg3d_tools.c:959
MMG5_Info::setfem
int8_t setfem
Definition: libmmgtypes.h:490
MMG5_compute_meanMetricAtMarkedPoints_iso
int MMG5_compute_meanMetricAtMarkedPoints_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:167
MMG3D_IPARAM_opnbdy
@ MMG3D_IPARAM_opnbdy
Definition: libmmg3d.h:75
MMG3D_hashTetra
int MMG3D_hashTetra(MMG5_pMesh mesh, int pack)
Definition: hash_3d.c:180
MMG3D_Get_triangles
int MMG3D_Get_triangles(MMG5_pMesh mesh, int *tria, int *refs, int *areRequired)
Definition: API_functions_3d.c:948
MMG3D_IPARAM_angle
@ MMG3D_IPARAM_angle
Definition: libmmg3d.h:72
MMG5_Info::hsiz
double hsiz
Definition: libmmgtypes.h:476
MMG5_surftri_iso
double MMG5_surftri_iso(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: isosiz.c:42
MMG3D_Set_vectorSol
int MMG3D_Set_vectorSol(MMG5_pSol met, double vx, double vy, double vz, int pos)
Definition: API_functions_3d.c:1516
if
if(!ier) exit(EXIT_FAILURE)
MMG5_Mesh::ntmax
int ntmax
Definition: libmmgtypes.h:559
MMG5_Point::tmp
int tmp
Definition: libmmgtypes.h:249
MMG5_mmg3d1_delone
int MMG5_mmg3d1_delone(MMG5_pMesh, MMG5_pSol, int *)
Definition: mmg3d1_delone.c:1298
filename
MMG5_pMesh char * filename
Definition: API_functionsf_3d.c:1015
MMG5_norface
int MMG5_norface(MMG5_pMesh mesh, int k, int iface, double v[3])
Definition: tools_3d.c:69
MMG3D_Init_mesh
int MMG3D_Init_mesh(const int starter,...)
Definition: API_functions_3d.c:44
MMG3D_saveTetgenMesh
int MMG3D_saveTetgenMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:2568
MMG3D_IPARAM_nofem
@ MMG3D_IPARAM_nofem
Definition: libmmg3d.h:74
TIMEMAX
#define TIMEMAX
Definition: chrono.h:49
MMG5_Mesh::nemax
int nemax
Definition: libmmgtypes.h:559
starter
const int starter
Definition: API_functionsf_3d.c:977
MMG5_hgeom::b
int b
Definition: libmmgtypes.h:511
MMG5_EPSD
#define MMG5_EPSD
Definition: eigenv.h:31
MMG5_Info::metRidTyp
uint8_t metRidTyp
Definition: libmmgtypes.h:501
MMG5_Mesh::dim
int dim
Definition: libmmgtypes.h:557
MMG5_Tetra::xt
int xt
Definition: libmmgtypes.h:376
MMG3D_Unset_requiredVertex
int MMG3D_Unset_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1234
MMG5_Vertex
@ MMG5_Vertex
Definition: libmmgtypes.h:213
MMG3D_DPARAM_ls
@ MMG3D_DPARAM_ls
Definition: libmmg3d.h:99
MMG5_swapd
double MMG5_swapd(double sbin)
Definition: inout.c:73
MMG5_compute_meanMetricAtMarkedPoints
int(* MMG5_compute_meanMetricAtMarkedPoints)(MMG5_pMesh, MMG5_pSol)
Definition: mmgexterns.c:34
MMG5_scaleMesh
int MMG5_scaleMesh(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol ls)
Definition: scalem.c:273
MMG5_SAFE_FREE
MMG5_SAFE_FREE(tmp)
MMG3D_saveAllSols
int MMG3D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2304
MMG5_Sol::npi
int npi
Definition: libmmgtypes.h:615
MMG3D_loadAllSols
int MMG3D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2170
MMG3D_Set_meshSize
int MMG3D_Set_meshSize(MMG5_pMesh mesh, int np, int ne, int nprism, int nt, int nquad, int na)
Definition: API_functions_3d.c:258
MMG3D_Get_scalarSols
int MMG3D_Get_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1507
MMG3D_LMAX
#define MMG3D_LMAX
Definition: libmmg3d.h:57
MMG3D_IPARAM_renum
@ MMG3D_IPARAM_renum
Definition: libmmg3d.h:88
MMG3D_gradsiz_iso
int MMG3D_gradsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_3d.c:1059
MMG5_swapbin
int MMG5_swapbin(int sbin)
Definition: inout.c:38
MMG5_SD
#define MMG5_SD
Definition: mmgcommon.h:177
MMG5_Tetra::v
int v[4]
Definition: libmmgtypes.h:372
MMG5_Info::parTyp
int8_t parTyp
Definition: libmmgtypes.h:495
MMG5_Point::n
double n[3]
Definition: libmmgtypes.h:243