Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
libmmgs.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
36#ifndef MMGSLIB_H
37#define MMGSLIB_H
38
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44#include "mmg/mmgs/mmgs_export.h"
45#include "mmg/common/libmmgtypes.h"
46
50#define MMGS_LMAX 1024
51
93};
94
95/*----------------------------- functions header -----------------------------*/
96/* Initialization functions */
97/* init structures */
122LIBMMGS_EXPORT int MMGS_Init_mesh(const int starter,...);
123
149
150/* init file names */
184LIBMMGS_EXPORT int MMGS_Set_outputMeshName(MMG5_pMesh mesh, const char* meshout);
221
222/* init structure sizes */
244 LIBMMGS_EXPORT int MMGS_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, MMG5_int np, int typSol);
269 MMG5_int nentities, int *typSol);
289LIBMMGS_EXPORT int MMGS_Set_meshSize(MMG5_pMesh mesh, MMG5_int np, MMG5_int nt, MMG5_int na);
290
291/* init structure datas */
313LIBMMGS_EXPORT int MMGS_Set_vertex(MMG5_pMesh mesh, double c0, double c1,
314 double c2, MMG5_int ref,MMG5_int pos);
336 LIBMMGS_EXPORT int MMGS_Set_vertices(MMG5_pMesh mesh, double *vertices,MMG5_int *refs);
357LIBMMGS_EXPORT int MMGS_Set_triangle(MMG5_pMesh mesh, MMG5_int v0, MMG5_int v1,
358 MMG5_int v2, MMG5_int ref,MMG5_int pos);
378 LIBMMGS_EXPORT int MMGS_Set_triangles(MMG5_pMesh mesh, MMG5_int *tria, MMG5_int *refs);
398LIBMMGS_EXPORT int MMGS_Set_edge(MMG5_pMesh mesh, MMG5_int v0, MMG5_int v1, MMG5_int ref,MMG5_int pos);
464
481
498
515
532
549
566
584 LIBMMGS_EXPORT int MMGS_Set_edges(MMG5_pMesh mesh, MMG5_int *edges, MMG5_int* refs);
605 LIBMMGS_EXPORT int MMGS_Get_edges(MMG5_pMesh mesh,MMG5_int *edges,MMG5_int* refs,
606 int *areRidges,int *areRequired);
607
628LIBMMGS_EXPORT int MMGS_Set_normalAtVertex(MMG5_pMesh mesh, MMG5_int k, double n0, double n1, double n2) ;
629
646 double MMGS_Get_triangleQuality(MMG5_pMesh mesh,MMG5_pSol met, MMG5_int k);
647
666LIBMMGS_EXPORT int MMGS_Set_scalarSol(MMG5_pSol met, double s,MMG5_int pos);
705LIBMMGS_EXPORT int MMGS_Set_vectorSol(MMG5_pSol met, double vx,double vy, double vz, MMG5_int pos);
722LIBMMGS_EXPORT int MMGS_Set_vectorSols(MMG5_pSol met, double *sols);
747LIBMMGS_EXPORT int MMGS_Set_tensorSol(MMG5_pSol met, double m11,double m12, double m13,
748 double m22,double m23, double m33, MMG5_int pos);
765LIBMMGS_EXPORT int MMGS_Set_tensorSols(MMG5_pSol met, double *sols);
787 LIBMMGS_EXPORT int MMGS_Set_ithSol_inSolsAtVertices(MMG5_pSol sol,int i, double* s,MMG5_int pos);
810
811/* check init */
828
849LIBMMGS_EXPORT int MMGS_Set_iparameter(MMG5_pMesh mesh,MMG5_pSol sol, int iparam, MMG5_int val);
895 double hmin, double hmax, double hausd);
896
918 int split,MMG5_int rin, MMG5_int rex);
919
940
959LIBMMGS_EXPORT int MMGS_Get_meshSize(MMG5_pMesh mesh, MMG5_int* np, MMG5_int* nt, MMG5_int* na);
979LIBMMGS_EXPORT int MMGS_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int* typEntity, MMG5_int* np,
980 int* typSol);
1004 MMG5_int* nentities,int* typSol);
1005
1029LIBMMGS_EXPORT int MMGS_Get_vertex(MMG5_pMesh mesh, double* c0, double* c1, double* c2, MMG5_int* ref,
1030 int* isCorner, int* isRequired);
1055 LIBMMGS_EXPORT int MMGS_GetByIdx_vertex(MMG5_pMesh mesh, double* c0, double* c1, double* c2, MMG5_int* ref,
1056 int* isCorner, int* isRequired,MMG5_int idx);
1057
1086LIBMMGS_EXPORT int MMGS_Get_vertices(MMG5_pMesh mesh, double* vertices, MMG5_int* refs,
1087 int* areCorners, int* areRequired);
1109LIBMMGS_EXPORT int MMGS_Get_triangle(MMG5_pMesh mesh, MMG5_int* v0, MMG5_int* v1, MMG5_int* v2, MMG5_int* ref,
1110 int* isRequired);
1135LIBMMGS_EXPORT int MMGS_Get_triangles(MMG5_pMesh mesh, MMG5_int* tria, MMG5_int* refs,
1136 int* areRequired);
1158LIBMMGS_EXPORT int MMGS_Get_edge(MMG5_pMesh mesh, MMG5_int* e0, MMG5_int* e1, MMG5_int* ref,
1159 int* isRidge, int* isRequired);
1160
1181LIBMMGS_EXPORT int MMGS_Get_normalAtVertex(MMG5_pMesh mesh, MMG5_int k, double *n0, double *n1, double *n2) ;
1182
1198LIBMMGS_EXPORT int MMGS_Get_scalarSol(MMG5_pSol met, double* s);
1215LIBMMGS_EXPORT int MMGS_Get_scalarSols(MMG5_pSol met, double* s);
1233LIBMMGS_EXPORT int MMGS_Get_vectorSol(MMG5_pSol met, double* vx, double* vy, double* vz);
1250LIBMMGS_EXPORT int MMGS_Get_vectorSols(MMG5_pSol met, double* sols);
1271LIBMMGS_EXPORT int MMGS_Get_tensorSol(MMG5_pSol met, double *m11,double *m12, double *m13,
1272 double *m22,double *m23, double *m33);
1289LIBMMGS_EXPORT int MMGS_Get_tensorSols(MMG5_pSol met, double *sols);
1311 LIBMMGS_EXPORT int MMGS_Get_ithSol_inSolsAtVertices(MMG5_pSol sol,int i, double* s,MMG5_int pos);
1350
1351/* input/output functions */
1369
1427
1447
1467
1487
1507
1527
1545
1563
1583
1605
1714
1732
1806
1822
1823/* deallocations */
1851LIBMMGS_EXPORT int MMGS_Free_all(const int starter,...);
1852
1884
1912LIBMMGS_EXPORT int MMGS_Free_names(const int starter,...);
1913
1914/* library */
1932
1953
1968
1992
2016 LIBMMGS_EXPORT int MMGS_Get_nonBdyEdge(MMG5_pMesh mesh, MMG5_int* e0, MMG5_int* e1, MMG5_int* ref, MMG5_int idx);
2017
2018
2019/* Tools for the library */
2036
2053
2067LIBMMGS_EXPORT int MMGS_usage(char *prog);
2082LIBMMGS_EXPORT int MMGS_parsar(int argc,char *argv[],MMG5_pMesh mesh,MMG5_pSol met,MMG5_pSol sol);
2125
2147LIBMMGS_EXPORT int MMGS_Get_adjaTri(MMG5_pMesh mesh, MMG5_int kel, MMG5_int listri[3]);
2148
2170LIBMMGS_EXPORT int MMGS_Get_adjaVerticesFast(MMG5_pMesh mesh, MMG5_int ip,MMG5_int start, MMG5_int lispoi[MMGS_LMAX]);
2171
2196LIBMMGS_EXPORT int MMGS_Compute_eigenv(double m[6],double lambda[3],double vp[3][3]);
2197
2211
2227
2233
2234#ifdef __cplusplus
2235}
2236#endif
2237
2238#endif
const int starter
MMG5_pMesh MMG5_pSol * sol
MMG5_pMesh char * meshin
MMG5_pMesh * mesh
MMG5_pMesh char * filename
MMG5_Info info
LIBMMGS_EXPORT int MMGS_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_s.c:41
LIBMMGS_EXPORT int MMGS_saveVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inoutcpp_s.cpp:296
LIBMMGS_EXPORT int MMGS_Get_adjaVerticesFast(MMG5_pMesh mesh, MMG5_int ip, MMG5_int start, MMG5_int lispoi[MMGS_LMAX])
Return adjacent elements of a triangle.
LIBMMGS_EXPORT int MMGS_saveVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inoutcpp_s.cpp:341
LIBMMGS_EXPORT int MMGS_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
LIBMMGS_EXPORT int MMGS_mmgslib(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmgs.c:545
LIBMMGS_EXPORT int MMGS_Get_adjaTri(MMG5_pMesh mesh, MMG5_int kel, MMG5_int listri[3])
Return adjacent elements of a triangle.
LIBMMGS_EXPORT int MMGS_Set_vertices(MMG5_pMesh mesh, double *vertices, MMG5_int *refs)
LIBMMGS_EXPORT int MMGS_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
LIBMMGS_EXPORT int MMGS_loadVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inoutcpp_s.cpp:263
LIBMMGS_EXPORT int MMGS_Set_requiredVertex(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_saveVtpMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inoutcpp_s.cpp:371
LIBMMGS_EXPORT int MMGS_Unset_ridge(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Unset_requiredEdge(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Get_scalarSol(MMG5_pSol met, double *s)
LIBMMGS_EXPORT int MMGS_mmgsls(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met)
Definition: libmmgs.c:298
LIBMMGS_EXPORT int MMGS_Get_nonBdyEdge(MMG5_pMesh mesh, MMG5_int *e0, MMG5_int *e1, MMG5_int *ref, MMG5_int idx)
LIBMMGS_EXPORT int MMGS_Set_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
LIBMMGS_EXPORT int MMGS_Set_ridge(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Get_scalarSols(MMG5_pSol met, double *s)
LIBMMGS_EXPORT int MMGS_Set_edges(MMG5_pMesh mesh, MMG5_int *edges, MMG5_int *refs)
LIBMMGS_EXPORT int MMGS_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_s.c:1478
LIBMMGS_EXPORT int MMGS_Get_edges(MMG5_pMesh mesh, MMG5_int *edges, MMG5_int *refs, int *areRidges, int *areRequired)
LIBMMGS_EXPORT int MMGS_loadVtpMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inoutcpp_s.cpp:115
LIBMMGS_EXPORT int MMGS_Get_triangles(MMG5_pMesh mesh, MMG5_int *tria, MMG5_int *refs, int *areRequired)
LIBMMGS_EXPORT int MMGS_Clean_isoSurf(MMG5_pMesh mesh)
LIBMMGS_EXPORT int MMGS_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:1382
LIBMMGS_EXPORT int MMGS_Set_scalarSol(MMG5_pSol met, double s, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:701
LIBMMGS_EXPORT int MMGS_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:1302
LIBMMGS_EXPORT int MMGS_Set_requiredEdge(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Get_vertices(MMG5_pMesh mesh, double *vertices, MMG5_int *refs, int *areCorners, int *areRequired)
LIBMMGS_EXPORT int MMGS_Unset_requiredTriangle(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Set_normalAtVertex(MMG5_pMesh mesh, MMG5_int k, double n0, double n1, double n2)
LIBMMGS_EXPORT int MMGS_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, MMG5_int np, int typSol)
LIBMMGS_EXPORT int MMGS_Get_tensorSols(MMG5_pSol met, double *sols)
LIBMMGS_EXPORT int MMGS_parsar(int argc, char *argv[], MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol sol)
LIBMMGS_EXPORT int MMGS_Set_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int nsols, MMG5_int nentities, int *typSol)
LIBMMGS_EXPORT int MMGS_Set_scalarSols(MMG5_pSol met, double *s)
LIBMMGS_EXPORT void MMGS_destockOptions(MMG5_pMesh mesh, MMG5_Info *info)
LIBMMGS_EXPORT int MMGS_saveVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inoutcpp_s.cpp:326
LIBMMGS_EXPORT int MMGS_Set_requiredTriangle(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int(* MMGS_doSol)(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmgsexterns.c:9
LIBMMGS_EXPORT int MMGS_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:1515
LIBMMGS_EXPORT int MMGS_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int *typEntity, MMG5_int *np, int *typSol)
LIBMMGS_EXPORT int MMGS_Set_tensorSols(MMG5_pSol met, double *sols)
LIBMMGS_EXPORT int MMGS_loadVtpMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inoutcpp_s.cpp:74
LIBMMGS_EXPORT void MMGS_setfunc(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmgs_tools.c:43
LIBMMGS_EXPORT void MMGS_Set_commonFunc(void)
Definition: libmmgs.c:732
LIBMMGS_EXPORT int MMGS_Get_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
LIBMMGS_EXPORT int MMGS_stockOptions(MMG5_pMesh mesh, MMG5_Info *info)
LIBMMGS_EXPORT int MMGS_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_s.c:1297
LIBMMGS_EXPORT int MMGS_Get_meshSize(MMG5_pMesh mesh, MMG5_int *np, MMG5_int *nt, MMG5_int *na)
LIBMMGS_EXPORT int MMGS_Get_triangle(MMG5_pMesh mesh, MMG5_int *v0, MMG5_int *v1, MMG5_int *v2, MMG5_int *ref, int *isRequired)
LIBMMGS_EXPORT int MMGS_Set_edge(MMG5_pMesh mesh, MMG5_int v0, MMG5_int v1, MMG5_int ref, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, MMG5_int val)
LIBMMGS_EXPORT void MMGS_Free_solutions(MMG5_pMesh mesh, MMG5_pSol sol)
LIBMMGS_EXPORT int MMGS_saveVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inoutcpp_s.cpp:311
LIBMMGS_EXPORT int MMGS_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_s.c:1307
LIBMMGS_EXPORT int MMGS_Get_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int *nsols, MMG5_int *nentities, int *typSol)
LIBMMGS_EXPORT int MMGS_Get_tensorSol(MMG5_pSol met, double *m11, double *m12, double *m13, double *m22, double *m23, double *m33)
LIBMMGS_EXPORT int MMGS_Init_mesh(const int starter,...)
LIBMMGS_EXPORT int MMGS_Set_tensorSol(MMG5_pSol met, double m11, double m12, double m13, double m22, double m23, double m33, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_Set_lsBaseReference(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int br)
LIBMMGS_EXPORT int MMGS_Set_triangle(MMG5_pMesh mesh, MMG5_int v0, MMG5_int v1, MMG5_int v2, MMG5_int ref, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_Set_vectorSol(MMG5_pSol met, double vx, double vy, double vz, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_loadVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inoutcpp_s.cpp:222
LIBMMGS_EXPORT int MMGS_Set_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, MMG5_int pos)
LIBMMGS_EXPORT void MMGS_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
LIBMMGS_EXPORT int MMGS_Get_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_GetByIdx_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, MMG5_int *ref, int *isCorner, int *isRequired, MMG5_int idx)
LIBMMGS_EXPORT int MMGS_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
LIBMMGS_EXPORT int MMGS_Get_vectorSol(MMG5_pSol met, double *vx, double *vy, double *vz)
LIBMMGS_EXPORT int MMGS_defaultValues(MMG5_pMesh mesh)
LIBMMGS_EXPORT int MMGS_Chk_meshData(MMG5_pMesh mesh, MMG5_pSol met)
LIBMMGS_EXPORT int MMGS_Set_multiMat(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_int ref, int split, MMG5_int rin, MMG5_int rex)
LIBMMGS_EXPORT int MMGS_Unset_requiredVertex(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_loadVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inoutcpp_s.cpp:189
LIBMMGS_EXPORT int MMGS_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val)
LIBMMGS_EXPORT int MMGS_Get_iparameter(MMG5_pMesh mesh, MMG5_int iparam)
LIBMMGS_EXPORT int MMGS_Get_vectorSols(MMG5_pSol met, double *sols)
LIBMMGS_EXPORT int MMGS_Set_corner(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Free_all(const int starter,...)
LIBMMGS_EXPORT int MMGS_saveVtpMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inoutcpp_s.cpp:356
#define MMGS_LMAX
Definition: libmmgs.h:50
LIBMMGS_EXPORT int MMGS_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_s.c:837
double MMGS_Get_triangleQuality(MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k)
LIBMMGS_EXPORT int MMGS_Get_edge(MMG5_pMesh mesh, MMG5_int *e0, MMG5_int *e1, MMG5_int *ref, int *isRidge, int *isRequired)
LIBMMGS_EXPORT int MMGS_Free_structures(const int starter,...)
LIBMMGS_EXPORT int MMGS_Free_allSols(MMG5_pMesh mesh, MMG5_pSol *sol)
LIBMMGS_EXPORT int MMGS_Set_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, MMG5_int ref, MMG5_int pos)
LIBMMGS_EXPORT int MMGS_Set_vectorSols(MMG5_pSol met, double *sols)
LIBMMGS_EXPORT int MMGS_loadVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inoutcpp_s.cpp:148
LIBMMGS_EXPORT int MMGS_Get_numberOfNonBdyEdges(MMG5_pMesh mesh, MMG5_int *nb_edges)
LIBMMGS_EXPORT int MMGS_Free_names(const int starter,...)
LIBMMGS_EXPORT int MMGS_Set_localParameter(MMG5_pMesh mesh, MMG5_pSol sol, int typ, MMG5_int ref, double hmin, double hmax, double hausd)
LIBMMGS_EXPORT int MMGS_Get_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, MMG5_int *ref, int *isCorner, int *isRequired)
LIBMMGS_EXPORT int MMGS_loadGenericMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_s.c:759
LIBMMGS_EXPORT int MMGS_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_s.c:640
LIBMMGS_EXPORT int MMGS_usage(char *prog)
Definition: libmmgs_tools.c:83
LIBMMGS_EXPORT int MMGS_Set_triangles(MMG5_pMesh mesh, MMG5_int *tria, MMG5_int *refs)
LIBMMGS_EXPORT int MMGS_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met)
LIBMMGS_EXPORT int MMGS_Get_normalAtVertex(MMG5_pMesh mesh, MMG5_int k, double *n0, double *n1, double *n2)
MMGS_Param
Input parameters for mmg library.
Definition: libmmgs.h:61
@ MMGS_IPARAM_keepRef
Definition: libmmgs.h:69
@ MMGS_IPARAM_nreg
Definition: libmmgs.h:74
@ MMGS_IPARAM_optim
Definition: libmmgs.h:70
@ MMGS_IPARAM_numberOfLocalParam
Definition: libmmgs.h:76
@ MMGS_IPARAM_xreg
Definition: libmmgs.h:75
@ MMGS_DPARAM_hgrad
Definition: libmmgs.h:88
@ MMGS_IPARAM_nomove
Definition: libmmgs.h:73
@ MMGS_IPARAM_renum
Definition: libmmgs.h:80
@ MMGS_IPARAM_numsubdomain
Definition: libmmgs.h:79
@ MMGS_IPARAM_anisosize
Definition: libmmgs.h:81
@ MMGS_IPARAM_nosizreq
Definition: libmmgs.h:82
@ MMGS_DPARAM_angleDetection
Definition: libmmgs.h:83
@ MMGS_IPARAM_verbose
Definition: libmmgs.h:62
@ MMGS_IPARAM_numberOfLSBaseReferences
Definition: libmmgs.h:77
@ MMGS_IPARAM_angle
Definition: libmmgs.h:65
@ MMGS_IPARAM_isoref
Definition: libmmgs.h:68
@ MMGS_DPARAM_hsiz
Definition: libmmgs.h:86
@ MMGS_IPARAM_debug
Definition: libmmgs.h:64
@ MMGS_IPARAM_noswap
Definition: libmmgs.h:72
@ MMGS_DPARAM_ls
Definition: libmmgs.h:90
@ MMGS_PARAM_size
Definition: libmmgs.h:92
@ MMGS_DPARAM_hmin
Definition: libmmgs.h:84
@ MMGS_IPARAM_numberOfMat
Definition: libmmgs.h:78
@ MMGS_IPARAM_iso
Definition: libmmgs.h:66
@ MMGS_DPARAM_hausd
Definition: libmmgs.h:87
@ MMGS_IPARAM_mem
Definition: libmmgs.h:63
@ MMGS_DPARAM_rmc
Definition: libmmgs.h:91
@ MMGS_IPARAM_isosurf
Definition: libmmgs.h:67
@ MMGS_DPARAM_hgradreq
Definition: libmmgs.h:89
@ MMGS_DPARAM_hmax
Definition: libmmgs.h:85
@ MMGS_IPARAM_noinsert
Definition: libmmgs.h:71
LIBMMGS_EXPORT int MMGS_Compute_eigenv(double m[6], double lambda[3], double vp[3][3])
LIBMMGS_EXPORT int MMGS_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
LIBMMGS_EXPORT int MMGS_Unset_corner(MMG5_pMesh mesh, MMG5_int k)
LIBMMGS_EXPORT int MMGS_saveGenericMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_s.c:1604
LIBMMGS_EXPORT int MMGS_Set_meshSize(MMG5_pMesh mesh, MMG5_int np, MMG5_int nt, MMG5_int na)
LIBMMGS_EXPORT void MMGS_Init_parameters(MMG5_pMesh mesh)
#define LIBMMGS_EXPORT
Definition: mmgs_export.h:31
Store input parameters of the run.
Definition: libmmgtypes.h:516
MMG mesh structure.
Definition: libmmgtypes.h:605