mmgs
libmmgcommon.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 
35 #ifndef MMGLIBCOMMON_H
36 #define MMGLIBCOMMON_H
37 
38 #include <stdarg.h>
39 
40 #include "chrono.h"
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 #include "libmmgtypes.h"
47 
48 /*----------------------------- functions header -----------------------------*/
49 /* Initialization functions */
75 
76 /* init file names */
110 int MMG5_Set_outputMeshName(MMG5_pMesh mesh, const char* meshout);
128 int MMG5_Set_inputSolName(MMG5_pMesh mesh,MMG5_pSol sol, const char* solin);
146 int MMG5_Set_outputSolName(MMG5_pMesh mesh,MMG5_pSol sol, const char* solout);
147 
159 
160 /* deallocations */
162 
176 
189 extern int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh,char sethmin,char sethmax);
190 
202 int MMG5_Compute_constantSize(MMG5_pMesh mesh,MMG5_pSol met,double *hsize);
203 
204 /* Enum utilities */
213 const char* MMG5_Get_entitiesName(enum MMG5_entities ent);
214 
223 const char* MMG5_Get_typeName(enum MMG5_type typ);
224 
225 #ifdef __cplusplus
226 }
227 #endif
228 
229 #endif
MMG5_Mesh::nprism
int nprism
Definition: libmmgtypes.h:517
MMG5_defsiz_startingMessage
int MMG5_defsiz_startingMessage(MMG5_pMesh mesh, MMG5_pSol met, const char *funcname)
Definition: isosiz.c:77
MMG5_Edge
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:243
m
! double * m
Definition: libmmgtypesf.h:627
MMG5_Par::hmax
double hmax
Definition: libmmgtypes.h:203
MMG5_Set_outputMeshName
int MMG5_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions.c:225
MMG5_Mesh::prism
MMG5_pPrism prism
Definition: libmmgtypes.h:546
MMGS_saveMshMesh
int MMGS_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_s.c:1245
MMG5_Info::npar
int npar
Definition: libmmgtypes.h:447
nsols
! int nsols
Definition: libmmgtypesf.h:573
MMG5_Sol::np
int np
Definition: libmmgtypes.h:566
MMG5_Point::c
double c[3]
Definition: libmmgtypes.h:215
MG_EDG
#define MG_EDG(tag)
Definition: mmgcommon.h:162
MMGS_loadSol
int MMGS_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_s.c:1264
libmmgtypes.h
MG_MAX
#define MG_MAX(a, b)
Definition: mmgcommon.h:136
MMG5_orvol
double MMG5_orvol(MMG5_pPoint point, int *v)
Definition: tools.c:836
MMG5_Info::hmin
double hmin
Definition: libmmgtypes.h:445
MMG5_Tria::v
int v[3]
Definition: libmmgtypes.h:272
MMG5_Tetra
Definition: libmmgtypes.h:339
MMG5_Sol
Definition: libmmgtypes.h:563
MMG5_hashEdge
int MMG5_hashEdge(MMG5_pMesh mesh, MMG5_Hash *hash, int a, int b, int k)
Definition: hash.c:216
MG_SIN
#define MG_SIN(tag)
Definition: mmgcommon.h:163
MMG5_gradsiz_iso
int MMG5_gradsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:268
type
! int type
Definition: libmmgtypesf.h:570
MMG5_Mesh::nc1
int nc1
Definition: libmmgtypes.h:519
MMG5_Point::s
int s
Definition: libmmgtypes.h:222
MMG5_Edge::ref
int ref
Definition: libmmgtypes.h:245
MMGS_saveSol
int MMGS_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_s.c:1447
MMG5_Triangle
@ MMG5_Triangle
Definition: libmmgtypes.h:188
MG_REF
#define MG_REF
Definition: mmgcommon.h:141
MG_EOK
#define MG_EOK(pt)
Definition: mmgcommon.h:160
MG_NOM
#define MG_NOM
Definition: mmgcommon.h:144
MMG5_Mesh::xt
int xt
Definition: libmmgtypes.h:525
MMG5_Sol::namein
char * namein
Definition: libmmgtypes.h:573
MMG5_NSOLS_MAX
#define MMG5_NSOLS_MAX
Definition: libmmgtypes.h:167
MMG5_Info::iso
char iso
Definition: libmmgtypes.h:453
MMG5_swapf
static float MMG5_swapf(float sbin)
Definition: inout.c:64
MMG5_Mesh::xp
int xp
Definition: libmmgtypes.h:525
MMG5_Sol::size
int size
Definition: libmmgtypes.h:569
MMG5_hashGet
int MMG5_hashGet(MMG5_Hash *hash, int a, int b)
Definition: hash.c:303
MMG5_Hash
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Definition: libmmgtypes.h:499
tmp
! int tmp
Definition: libmmgtypesf.h:259
MMG5_printSolStats
void MMG5_printSolStats(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: inout.c:2428
MMG5_Par::hmin
double hmin
Definition: libmmgtypes.h:202
nt
! int nt
Definition: libmmgtypesf.h:571
MMG5_Mesh::point
MMG5_pPoint point
Definition: libmmgtypes.h:542
MMG5_Init_fileNames
void MMG5_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:121
k
! int k
Definition: libmmgtypesf.h:543
MMG5_Tria::edg
int edg[3]
Definition: libmmgtypes.h:277
MMG5_Get_typeName
const char * MMG5_Get_typeName(enum MMG5_type typ)
Definition: API_functions.c:563
MMG5_Tria::tag
int16_t tag[3]
Definition: libmmgtypes.h:280
MMG5_invmatg
int MMG5_invmatg(double m[9], double mi[9])
Definition: tools.c:329
MMG5_swapd
static double MMG5_swapd(double sbin)
Definition: inout.c:76
MMG5_entities
MMG5_entities
Type of mesh entities.
Definition: libmmgtypes.h:184
MMGS_saveMesh
int MMGS_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_s.c:815
MG_PARBDY
#define MG_PARBDY
Definition: mmgcommon.h:151
meshin
MMG5_pMesh char * meshin
Definition: API_functionsf_s.c:665
MMG5_Info::hgradreq
double hgradreq
Definition: libmmgtypes.h:445
MMG5_Mesh::base
int base
Definition: libmmgtypes.h:521
n1
! double n1[3]
Definition: libmmgtypesf.h:275
nquad
! int nquad
Definition: libmmgtypesf.h:572
MMGS_defsiz_iso
int MMGS_defsiz_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_s.c:137
MG_VOK
#define MG_VOK(ppt)
Definition: mmgcommon.h:159
MMG5_Mesh::np
int np
Definition: libmmgtypes.h:516
MMG5_Mesh::nsols
int nsols
Definition: libmmgtypes.h:518
MMG5_Set_outputSolName
int MMG5_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions.c:302
imprim
! char imprim
Definition: libmmgtypesf.h:503
MMG5_Set_defaultTruncatureSizes
int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh, char sethmin, char sethmax)
Definition: API_functions.c:458
MMG5_Point::ref
int ref
Definition: libmmgtypes.h:217
MMG5_Par::ref
int ref
Definition: libmmgtypes.h:205
MMG5_sum_reqEdgeLengthsAtPoint
int MMG5_sum_reqEdgeLengthsAtPoint(MMG5_pMesh mesh, MMG5_pSol met, int ip0, int ip1)
Definition: isosiz.c:129
mesh
MMG5_pMesh * mesh
Definition: API_functionsf_s.c:63
MMG5_saveMshMesh
int MMG5_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename, int metricData)
Definition: inout.c:1504
ier
int ier
Definition: API_functionsf_s.c:629
MMGS_Set_solSize
int MMGS_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_s.c:88
MMG5_Mesh::ne
int ne
Definition: libmmgtypes.h:516
sd
#define sd
Definition: inout_s.c:40
MMG5_Mesh::nai
int nai
Definition: libmmgtypes.h:516
hmin
! double hmin
Definition: libmmgtypesf.h:241
MMG5_iprv2
static const unsigned char MMG5_iprv2[3]
Definition: mmgcommon.h:471
MMG5_Info::hausd
double hausd
Definition: libmmgtypes.h:445
MMG5_Prism::v
int v[6]
Definition: libmmgtypes.h:401
MMG5_Mesh::tria
MMG5_pTria tria
Definition: libmmgtypes.h:548
MG_CRN
#define MG_CRN
Definition: mmgcommon.h:146
MMG5_Info::inputMet
unsigned char inputMet
Definition: libmmgtypes.h:458
MG_REQ
#define MG_REQ
Definition: mmgcommon.h:143
MMG5_ADD_MEM
#define MMG5_ADD_MEM(mesh, size, message, law)
Definition: mmgcommon.h:275
MMG5_Mesh::quadra
MMG5_pQuad quadra
Definition: libmmgtypes.h:549
MMG5_loadMshMesh_part2
int MMG5_loadMshMesh_part2(MMG5_pMesh mesh, MMG5_pSol *sol, FILE **inm, const long posNodes, const long posElts, const long *posNodeData, const int bin, const int iswp, const int nelts, const int nsols)
Definition: inout.c:489
MG_GEO
#define MG_GEO
Definition: mmgcommon.h:142
MMG5_eigenv
int MMG5_eigenv(int symmat, double *mat, double lambda[3], double v[3][3])
Find eigenvalues and vectors of a 3x3 matrix.
Definition: eigenv.c:356
MMG5_gradation_info
void MMG5_gradation_info(MMG5_pMesh mesh)
Definition: isosiz.c:96
MMGS_loadAllSols
int MMGS_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:1342
MMG5_SAFE_RECALLOC
#define MMG5_SAFE_RECALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:326
MMGS_loadMesh
int MMGS_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_s.c:100
v
! int v[3]
Definition: libmmgtypesf.h:315
MMG5_Mesh::npi
int npi
Definition: libmmgtypes.h:516
MMG5_Get_entitiesName
const char * MMG5_Get_entitiesName(enum MMG5_entities ent)
Definition: API_functions.c:540
MMG5_Tria::ref
int ref
Definition: libmmgtypes.h:273
chrono.h
MMG5_Point
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:214
MS_SIN
#define MS_SIN(tag)
Definition: mmgs.h:51
MMG5_nortri
int MMG5_nortri(MMG5_pMesh mesh, MMG5_pTria pt, double *n)
Definition: tools.c:155
hgrad
! double hgrad
Definition: libmmgtypesf.h:495
intregmet
int intregmet(MMG5_pMesh mesh, MMG5_pSol met, int k, char i, double s, double mr[6])
Definition: intmet_s.c:57
MMG5_Edge::b
int b
Definition: libmmgtypes.h:244
MMG5_hashNew
int MMG5_hashNew(MMG5_pMesh mesh, MMG5_Hash *hash, int hsiz, int hmax)
Definition: hash.c:333
s
! int s
Definition: libmmgtypesf.h:262
MMG5_Sol::m
double * m
Definition: libmmgtypes.h:571
MMG5_Set_inputMeshName
int MMG5_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions.c:141
MMG5_Set_constantSize
void MMG5_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double hsiz)
Definition: API_functions.c:349
MMG5_loadSolHeader
int MMG5_loadSolHeader(const char *filename, int meshDim, FILE **inm, int *ver, int *bin, int *iswp, int *np, int *dim, int *nsols, int **type, long *posnp, int imprim)
Definition: inout.c:1968
MMG5_rotmatrix
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:232
MMG5_Par::elt
char elt
Definition: libmmgtypes.h:206
MMG5_mark_pointsOnReqEdge_fromTria
void MMG5_mark_pointsOnReqEdge_fromTria(MMG5_pMesh mesh)
Definition: isosiz.c:233
ver
! int ver
Definition: libmmgtypesf.h:568
MMG5_Quad::v
int v[4]
Definition: libmmgtypes.h:305
MG_MIN
#define MG_MIN(a, b)
Definition: mmgcommon.h:137
dim
! int dim
Definition: libmmgtypesf.h:569
MMG5_Mesh::na
int na
Definition: libmmgtypes.h:516
MMG5_readFloatSol3D
void MMG5_readFloatSol3D(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout.c:2106
MMG5_Info::imprim
char imprim
Definition: libmmgtypes.h:453
ne
! int ne
Definition: libmmgtypesf.h:571
MMG5_Info::hgrad
double hgrad
Definition: libmmgtypes.h:445
MMG5_Edge::tag
int16_t tag
Definition: libmmgtypes.h:248
MMG5_Point::tag
int16_t tag
Definition: libmmgtypes.h:223
hausd
! double hausd
Definition: libmmgtypesf.h:243
MMG5_xPoint::n1
double n1[3]
Definition: libmmgtypes.h:234
MMG5_Tria
Definition: libmmgtypes.h:270
MG_NOSURF
#define MG_NOSURF
Definition: mmgcommon.h:147
MMG5_Bezier
Definition: mmgcommon.h:480
MMGS_zaldy
int MMGS_zaldy(MMG5_pMesh mesh)
Definition: zaldy_s.c:241
MMG5_Sol::ver
int ver
Definition: libmmgtypes.h:564
MMG2D_quickarea
double MMG2D_quickarea(double a[2], double b[2], double c[2])
Definition: tools.c:856
MMG5_Mesh::nquad
int nquad
Definition: libmmgtypes.h:517
MG_NUL
#define MG_NUL
Definition: mmgcommon.h:152
MMG5_Quad::ref
int ref
Definition: libmmgtypes.h:306
MMG5_Sol::type
int type
Definition: libmmgtypes.h:570
MMG5_Init_parameters
void() MMG5_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions.c:51
b
! int b
Definition: libmmgtypesf.h:286
hsiz
! double hsiz
Definition: libmmgtypesf.h:495
c
! double c[3]
Definition: libmmgtypesf.h:255
tag
! int16_t tag
Definition: libmmgtypesf.h:263
MMG5_Mesh::xpoint
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:543
np
! int np
Definition: libmmgtypesf.h:571
MMG5_swapbin
static int MMG5_swapbin(int sbin)
Definition: inout.c:41
MMG5_interpreg_ani
int MMG5_interpreg_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, char i, double s, double mr[6])
Definition: intmet.c:627
MMG5_Point::xp
int xp
Definition: libmmgtypes.h:218
MMG5_Mesh::tetra
MMG5_pTetra tetra
Definition: libmmgtypes.h:544
n2
! double n2[3]
Definition: libmmgtypesf.h:275
MMG5_EPSD2
#define MMG5_EPSD2
Definition: mmgcommon.h:96
MMG5_paratmet
int MMG5_paratmet(double c0[3], double n0[3], double m[6], double c1[3], double n1[3], double mt[6])
Definition: mettools.c:652
MMG5_readDoubleSol3D
void MMG5_readDoubleSol3D(MMG5_pSol sol, FILE *inm, int bin, int iswp, int pos)
Definition: inout.c:2152
intmet_iso
int intmet_iso(MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s)
Definition: intmet_s.c:77
mmgcommon.h
ref
! int ref
Definition: libmmgtypesf.h:244
sd
#define sd
Definition: inout.c:39
MMG5_Set_inputSolName
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:177
na
! int na
Definition: libmmgtypesf.h:571
par
! MMG5_pPar par
Definition: libmmgtypesf.h:494
hmax
! double hmax
Definition: libmmgtypesf.h:242
MMG5_Sol::dim
int dim
Definition: libmmgtypes.h:565
MMG5_buildridmetnor
int MMG5_buildridmetnor(MMG5_pMesh mesh, MMG5_pSol met, int np0, double nt[3], double mr[6], double r[3][3])
Definition: mettools.c:191
MMG5_Quad
Definition: libmmgtypes.h:304
MMGS_loadMshMesh
int MMGS_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_s.c:688
MMG5_Mesh::nt
int nt
Definition: libmmgtypes.h:516
MMG5_Hash::item
MMG5_hedge * item
Definition: libmmgtypes.h:501
MMG5_countBinaryElts
static int MMG5_countBinaryElts(FILE **inm, const int nelts, const int iswp, int *np, int *na, int *nt, int *nq, int *ne, int *npr)
Definition: inout.c:92
MMG5_build3DMetric
static void MMG5_build3DMetric(MMG5_pMesh mesh, MMG5_pSol sol, int ip, double dbuf[6])
Definition: inout.c:1447
MMG5_Set_inputSolName
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:177
MMG5_Par::hausd
double hausd
Definition: libmmgtypes.h:204
MMG5_Mesh
MMG mesh structure.
Definition: libmmgtypes.h:509
MMG5_Info::par
MMG5_pPar par
Definition: libmmgtypes.h:444
MMG5_xPoint::n2
double n2[3]
Definition: libmmgtypes.h:234
MMG5_writeDoubleSol3D
void MMG5_writeDoubleSol3D(MMG5_pMesh mesh, MMG5_pSol sol, FILE *inm, int bin, int pos, int metricData)
Definition: inout.c:2200
MMG5_xPoint
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:233
MMG5_Sol::npmax
int npmax
Definition: libmmgtypes.h:567
MMG5_Mesh::ver
int ver
Definition: libmmgtypes.h:513
MMG5_interp_iso
int MMG5_interp_iso(double *ma, double *mb, double *mp, double t)
Definition: intmet.c:607
MMG5_mmgIntmet33_ani
int MMG5_mmgIntmet33_ani(double *m, double *n, double *mr, double s)
Definition: intmet.c:178
MMG5_Info::hmax
double hmax
Definition: libmmgtypes.h:445
MMG5_Prism::ref
int ref
Definition: libmmgtypes.h:402
MMG5_Par
Definition: libmmgtypes.h:201
MMG5_Mesh::nei
int nei
Definition: libmmgtypes.h:516
MMG5_Mesh::info
MMG5_Info info
Definition: libmmgtypes.h:552
swapf
float swapf(float sbin)
Definition: inout_s.c:65
MMG5_Compute_constantSize
int MMG5_Compute_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double *hsize)
Definition: API_functions.c:487
MMG5_Point::flag
int flag
Definition: libmmgtypes.h:221
MMG5_Edge::a
int a
Definition: libmmgtypes.h:244
MMG5_Mesh::npmax
int npmax
Definition: libmmgtypes.h:516
MMG5_Free_structures
void MMG5_Free_structures(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:401
MMG5_rmtr
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:198
MG_ISO
#define MG_ISO
Definition: libmmgtypes.h:62
MMG5_Tetra::ref
int ref
Definition: libmmgtypes.h:342
MMGS_loadMshMesh_and_allData
int MMGS_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:747
MMG5_printMetStats
void MMG5_printMetStats(MMG5_pMesh mesh, MMG5_pSol met)
Definition: inout.c:2410
MMG5_Mesh::nti
int nti
Definition: libmmgtypes.h:516
n
! double n[3]
Definition: libmmgtypesf.h:256
MMG5_chkMetricType
int MMG5_chkMetricType(MMG5_pMesh mesh, int *type, FILE *inm)
Definition: inout.c:2378
MMG5_intridmet
int MMG5_intridmet(MMG5_pMesh mesh, MMG5_pSol met, int ip1, int ip2, double s, double v[3], double mr[6])
Definition: intmet.c:291
MMG5_inxt2
static const unsigned char MMG5_inxt2[6]
Definition: mmgcommon.h:470
MMG5_SAFE_CALLOC
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:289
MMG5_saveSolHeader
int MMG5_saveSolHeader(MMG5_pMesh mesh, const char *filename, FILE **inm, int ver, int *bin, int np, int dim, int nsols, int *type, int *size)
Definition: inout.c:2266
MMG5_gradsizreq_iso
int MMG5_gradsizreq_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:359
ddb
char ddb
MMG5_DEL_MEM
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:266
MMG5_Mesh::edge
MMG5_pEdge edge
Definition: libmmgtypes.h:550
swapd
double swapd(double sbin)
Definition: inout_s.c:77
MMG5_reset_metricAtReqEdges_surf
int MMG5_reset_metricAtReqEdges_surf(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:194
MMG5_Info::ddebug
char ddebug
Definition: libmmgtypes.h:453
MMG5_mmgFree_names
void MMG5_mmgFree_names(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions.c:434
size
! int size
Definition: libmmgtypesf.h:625
MMGS_intmet33_ani
int MMGS_intmet33_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s)
Definition: intmet_s.c:143
sw
#define sw
Definition: inout.c:38
MMG5_Info::lag
char lag
Definition: libmmgtypes.h:453
MMG5_SAFE_FREE
MMG5_SAFE_FREE(tmp)
MAXLEN
#define MAXLEN
Definition: isosiz_s.c:39
MMG5_loadMshMesh_part1
int MMG5_loadMshMesh_part1(MMG5_pMesh mesh, const char *filename, FILE **inm, long *posNodes, long *posElts, long **posNodeData, int *bin, int *iswp, int *nelts, int *nsols)
Definition: inout.c:241
MMG5_Prism
Definition: libmmgtypes.h:400
MMG5_bezierCP
int(* MMG5_bezierCP)(MMG5_pMesh, MMG5_Tria *, MMG5_pBezier, char)
Definition: mmgexterns.c:28
MMG5_type
MMG5_type
Type of solutions.
Definition: libmmgtypes.h:173
MMG5_compute_meanMetricAtMarkedPoints_iso
int MMG5_compute_meanMetricAtMarkedPoints_iso(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz.c:167
MMGS_set_metricAtPointsOnReqEdges
int MMGS_set_metricAtPointsOnReqEdges(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_s.c:86
swapbin
int swapbin(int sbin)
Definition: inout_s.c:42
MMG5_surftri_iso
double MMG5_surftri_iso(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: isosiz.c:42
MMG5_Mesh::ntmax
int ntmax
Definition: libmmgtypes.h:516
MMG5_Point::tmp
int tmp
Definition: libmmgtypes.h:219
MMGS_saveAllSols
int MMGS_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:1489
MMG5_EPSD
#define MMG5_EPSD
Definition: eigenv.h:31
MMG5_Mesh::dim
int dim
Definition: libmmgtypes.h:514
nprism
! int nprism
Definition: libmmgtypesf.h:572
MMG5_Vertex
@ MMG5_Vertex
Definition: libmmgtypes.h:186
mmgs.h
MMG5_compute_meanMetricAtMarkedPoints
int(* MMG5_compute_meanMetricAtMarkedPoints)(MMG5_pMesh, MMG5_pSol)
Definition: mmgexterns.c:34
intmet_ani
int intmet_ani(MMG5_pMesh mesh, MMG5_pSol met, int k, char i, int ip, double s)
Definition: intmet_s.c:104
MMG5_Sol::npi
int npi
Definition: libmmgtypes.h:568
sw
#define sw
Definition: inout_s.c:39
MMGS_saveMshMesh_and_allData
int MMGS_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_s.c:1250
a
! int a
Definition: libmmgtypesf.h:286
MMG5_Tetra::v
int v[4]
Definition: libmmgtypes.h:341
MMGS_sum_reqEdgeLengthsAtPoint
static int MMGS_sum_reqEdgeLengthsAtPoint(MMG5_pMesh mesh, MMG5_pSol met, MMG5_Hash *hash, MMG5_pTria pt, char i)
Definition: isosiz_s.c:56
if
if(!ier) exit(EXIT_FAILURE)
MMG5_Point::n
double n[3]
Definition: libmmgtypes.h:216
MMGS_Set_inputSolName
int MMGS_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_s.c:67