Go to the documentation of this file.
34 #include <sys/resource.h>
65 FILETIME ftIni, ftEnd, ftSys, ftUser;
66 SYSTEMTIME stSys, stUser;
67 LARGE_INTEGER frequency;
int nprism
Definition: libmmgtypes.h:517
int MMG3D_Chk_meshData(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions_3d.c:1738
int MMG5_defsiz_startingMessage(MMG5_pMesh mesh, MMG5_pSol met, const char *funcname)
Definition: isosiz.c:77
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:243
@ MMG5_Vector
Definition: libmmgtypes.h:176
int MMG3D_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, int val)
Definition: API_functions_3d.c:1967
@ MMG3D_IPARAM_noinsert
Definition: libmmg3d.h:79
! double * m
Definition: libmmgtypesf.h:627
#define MMG5_NONSET_HSIZ
Definition: mmgcommon.h:118
#define MG_Vert
Definition: mmgcommon.h:155
double hmax
Definition: libmmgtypes.h:203
int MMG3D_Set_requiredTetrahedron(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1201
#define MMG5_FEM
Definition: mmgcommon.h:133
MMG5_pPrism prism
Definition: libmmgtypes.h:546
static double MMG5_lenedgCoor_ani(double *ca, double *cb, double *sa, double *sb)
Compute edge length from edge's coordinates.
Definition: inlined_functions_3d.h:56
int nmat
Definition: libmmgtypes.h:451
int npar
Definition: libmmgtypes.h:447
static const unsigned char MMG5_inxt3[7]
next vertex of tetra: {1,2,3,0,1,2,3}
Definition: mmg3d.h:141
#define MG_BDY
Definition: mmgcommon.h:145
@ MMG3D_IPARAM_optimLES
Definition: libmmg3d.h:78
#define MMG5_HGRAD
Definition: mmgcommon.h:120
int MMG5_singul(MMG5_pMesh mesh)
Definition: analys_3d.c:420
! int nsols
Definition: libmmgtypesf.h:573
int MMG3D_switch_metricStorage(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:967
int np
Definition: libmmgtypes.h:566
double c[3]
Definition: libmmgtypes.h:215
! double dhd
Definition: libmmgtypesf.h:495
static const unsigned char MMG5_arpt[4][3]
arpt[i]: edges passing through vertex i
Definition: mmg3d.h:159
int MMG3D_analys(MMG5_pMesh mesh)
Definition: analys_3d.c:731
@ MMG3D_IPARAM_mem
Definition: libmmg3d.h:70
int MMG3D_Free_all_var(va_list argptr)
Definition: variadic_3d.c:242
int namax
Definition: libmmgtypes.h:516
#define MG_EDG(tag)
Definition: mmgcommon.h:162
#define MMG5_HAUSD
Definition: mmgcommon.h:119
int MMG3D_Init_mesh_var(va_list argptr)
Definition: variadic_3d.c:148
int srcface(MMG5_pMesh mesh, int n0, int n1, int n2)
Definition: chkmsh_3d.c:492
int MMG5_moymet(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, double *m1)
Definition: anisosiz_3d.c:69
int MMG5_movintpt_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *list, int ilist, int improve)
Definition: anisomovpt_3d.c:55
int MMG3D_Set_ridge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1255
#define MG_MAX(a, b)
Definition: mmgcommon.h:136
double MMG5_orvol(MMG5_pPoint point, int *v)
Definition: tools.c:836
double hmin
Definition: libmmgtypes.h:445
#define MMG5_OFF
Definition: mmgcommon.h:127
int MMG3D_Get_triangle(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *ref, int *isRequired)
Definition: API_functions_3d.c:862
int v[3]
Definition: libmmgtypes.h:272
static double MMG5_lenSurfEdg_ani(MMG5_pMesh mesh, MMG5_pSol met, int np0, int np1, char isedg)
Definition: inlined_functions.h:198
#define MMG5_PROCTREE
Definition: mmgcommon.h:126
static int MMG5_defmetrid(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:314
Definition: libmmgtypes.h:339
MMG5_Info info
Definition: libmmgtypesf.h:607
int MMG3D_gradsiz_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:1880
void MMG5_chkvol(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:47
double t[6][3]
Definition: mmgcommon.h:483
int MMG3D_Get_quadrilateral(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_3d.c:975
Definition: libmmgtypes.h:563
int MMG5_gradsiz_ani(MMG5_pMesh mesh, MMG5_pSol met, int *it)
Definition: anisosiz.c:1735
#define MMG5_KA
Definition: mmgcommon.h:171
#define MG_SIN(tag)
Definition: mmgcommon.h:163
size_t memCur
Definition: libmmgtypes.h:511
int nc1
Definition: libmmgtypes.h:519
! int * adja
Definition: libmmgtypesf.h:584
int MMG3D_Set_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar)
Definition: API_functions_3d.c:1244
int s
Definition: libmmgtypes.h:222
int MMG3D_Set_prisms(MMG5_pMesh mesh, int *prisms, int *refs)
Definition: API_functions_3d.c:769
MMG5_SAFE_MALLOC(tmp, *strlen0+1, char, return)
int MMG3D_hashTetra(MMG5_pMesh mesh, int pack)
Definition: hash_3d.c:180
int ref
Definition: libmmgtypes.h:245
#define MMG5_NULKAL
Definition: mmgcommon.h:99
! int PROctree
Definition: libmmgtypesf.h:500
double(* MMG5_lenSurfEdg)(MMG5_pMesh mesh, MMG5_pSol sol, int, int, char)
Definition: mmgexterns.c:29
static double MMG5_lenedg_ani(MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
Definition: inlined_functions_3d.h:200
mmg3d_loadmesh
Definition: API_functionsf_3d.c:874
int MMG3D_Add_tetrahedron(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref)
Definition: API_functions_3d.c:1862
void MMG5_freeXTets(MMG5_pMesh mesh)
Definition: zaldy_3d.c:329
@ MMG5_Triangle
Definition: libmmgtypes.h:188
int MMG3D_setMeshSize_initData(MMG5_pMesh mesh, int np, int ne, int nprism, int nt, int nquad, int na)
Definition: API_functions_3d.c:201
int MMG3D_newElt(MMG5_pMesh mesh)
Definition: zaldy_3d.c:94
int MMG5_coquilface(MMG5_pMesh mesh, int start, char iface, int ia, int *list, int *it1, int *it2, int silent)
Definition: boulep_3d.c:1480
#define MG_REF
Definition: mmgcommon.h:141
unsigned char nomove
Definition: libmmgtypes.h:457
MMG5_pMesh char int * strlen0
Definition: API_functionsf_3d.c:875
int MMG3D_Set_meshSize(MMG5_pMesh mesh, int np, int ne, int nprism, int nt, int nquad, int na)
Definition: API_functions_3d.c:245
#define MG_EOK(pt)
Definition: mmgcommon.h:160
#define MMG5_BITWIZE_MB_TO_B
Definition: mmgcommon.h:74
double(* MMG5_caltet)(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: mmg3d.c:41
int MMG5_deltag(MMG5_pMesh mesh, int start, int ia, int16_t tag)
Definition: boulep_3d.c:957
int MMG5_boulenm(MMG5_pMesh mesh, int start, int ip, int iface, double n[3], double t[3])
Definition: boulep_3d.c:155
double sdif
Definition: chrono.h:59
#define MG_NOM
Definition: mmgcommon.h:144
int MMG3D_Get_tensorSol(MMG5_pSol met, double *m11, double *m12, double *m13, double *m22, double *m23, double *m33)
Definition: API_functions_3d.c:1528
int MMG5_bdryUpdate(MMG5_pMesh mesh)
Definition: hash_3d.c:1988
int xt
Definition: libmmgtypes.h:525
int MMG5_sys33sym(double a[6], double b[3], double r[3])
Definition: tools.c:463
char * namein
Definition: libmmgtypes.h:573
int MMG5_mmg3dChkmsh(MMG5_pMesh mesh, int severe, int base)
Definition: chkmsh_3d.c:111
static int MMG3D_skipIso(MMG5_pMesh mesh)
Definition: API_functions_3d.c:1784
int MMG5_settag(MMG5_pMesh mesh, int start, int ia, int16_t tag, int edg)
Definition: boulep_3d.c:839
char iso
Definition: libmmgtypes.h:453
int nxt
Definition: libmmgtypes.h:489
int xp
Definition: libmmgtypes.h:525
int(* MMG5_grad2metreq_ani)(MMG5_pMesh, MMG5_pSol, MMG5_pTria, int, int)
Definition: mmgexterns.c:33
int size
Definition: libmmgtypes.h:569
int xpmax
Definition: libmmgtypes.h:516
@ MMG3D_IPARAM_numberOfLocalParam
Definition: libmmg3d.h:83
int MMG5_invmat33(double m[3][3], double mi[3][3])
Definition: tools.c:369
int MMG3D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2007
int b
Definition: libmmgtypes.h:489
int MMG5_cenrad_iso(MMG5_pMesh mesh, double *ct, double *c, double *rad)
Definition: cenrad_3d.c:45
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Definition: libmmgtypes.h:499
void MMG3D_mark_pointsOnReqEdge_fromTetra(MMG5_pMesh mesh)
Definition: isosiz_3d.c:1018
char ddb
Definition: mmg3d1_delone.c:41
! double qual
Definition: libmmgtypesf.h:314
@ MMG5_Noentity
Definition: libmmgtypes.h:185
! int tmp
Definition: libmmgtypesf.h:259
int16_t tag[6]
Definition: libmmgtypes.h:363
int MMG3D_defsiz_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:1255
int MMG3D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:102
int MMG5_boulesurfvolp(MMG5_pMesh mesh, int start, int ip, int iface, int *listv, int *ilistv, int *lists, int *ilists, int isnm)
Definition: boulep_3d.c:469
double n[6][3]
Definition: mmgcommon.h:482
int MMG5_simred(MMG5_pMesh mesh, double *m, double *n, double dm[2], double dn[2], double vp[2][2])
Definition: anisosiz.c:1264
static int MMG5_grad2metVolreq(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, int npmaster, int npslave)
Definition: anisosiz_3d.c:1736
int MMG3D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int *typEntity, int *np, int *typSol)
Definition: API_functions_3d.c:271
static int MMG5_defmetsin(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:116
void MMG5_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions.c:51
! MMG5_pTetra tetra
Definition: libmmgtypesf.h:599
double hmin
Definition: libmmgtypes.h:202
! int nt
Definition: libmmgtypesf.h:571
int MMG5_grad2metSurf(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int np1, int np2)
Definition: anisosiz.c:912
double MMG5_ridSizeInTangentDir(MMG5_pMesh mesh, MMG5_pPoint p0, int idp, int *iprid, double isqhmin, double isqhmax)
Definition: anisosiz.c:725
MMG5_pPoint point
Definition: libmmgtypes.h:542
MMG5_Info info
Definition: libmmgtypesf.h:607
int16_t ftag[4]
Definition: libmmgtypes.h:361
! int k
Definition: libmmgtypesf.h:543
#define MG_GET(flag, bit)
Definition: mmgcommon.h:169
int edg[3]
Definition: libmmgtypes.h:277
int MMG3D_Get_tetrahedron(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_3d.c:560
#define MMG5_HMAXCOE
Definition: mmgcommon.h:131
void MMG3D_coquilFaceSecondLoopInit(MMG5_pMesh mesh, int piv, char *iface, char *ia, int *list, int *ilist, int *it1, int *pradj, int *adj)
Definition: boulep_3d.c:1424
int16_t tag[3]
Definition: libmmgtypes.h:280
double b[10][3]
Definition: mmgcommon.h:481
double MMG5_surftri33_ani(MMG5_pMesh mesh, MMG5_pTria ptt, double ma[6], double mb[6], double mc[6])
Definition: anisosiz.c:169
int opnbdy
Definition: libmmgtypes.h:448
unsigned char noinsert
Definition: libmmgtypes.h:457
int MMG3D_Get_prisms(MMG5_pMesh mesh, int *prisms, int *refs, int *areRequired)
Definition: API_functions_3d.c:799
int MMG3D_bezierInt(MMG5_pBezier pb, double uv[2], double o[3], double no[3], double to[3])
Definition: bezier_3d.c:551
@ MMG3D_DPARAM_angleDetection
Definition: libmmg3d.h:87
MMG5_entities
Type of mesh entities.
Definition: libmmgtypes.h:184
static int MMG3D_simred(MMG5_pMesh mesh, double *m, double *n, double dm[3], double dn[3], double vp[3][3])
Definition: anisosiz_3d.c:1602
size_t memMax
Definition: libmmgtypes.h:510
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:723
#define MG_PARBDY
Definition: mmgcommon.h:151
#define BIG
Definition: chrono.h:47
int MMG3D_Get_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs, int *areRequired)
Definition: API_functions_3d.c:1038
#define A64TH
Definition: mmgcommon.h:108
double hgradreq
Definition: libmmgtypes.h:445
! MMG5_pTria tria
Definition: libmmgtypesf.h:603
int base
Definition: libmmgtypes.h:521
! double n1[3]
Definition: libmmgtypesf.h:275
double gdif
Definition: chrono.h:59
mmg3d_free_structures
Definition: API_functionsf_3d.c:836
struct rusage ru
Definition: chrono.h:62
static int MMG5_defmetvol(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:1017
static const unsigned char MMG5_idir[4][3]
idir[i]: vertices of face opposite to vertex i
Definition: mmg3d.h:145
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
! int nquad
Definition: libmmgtypesf.h:572
int MMG3D_Set_triangle(MMG5_pMesh mesh, int v0, int v1, int v2, int ref, int pos)
Definition: API_functions_3d.c:828
#define MG_VOK(ppt)
Definition: mmgcommon.h:159
double MMG5_det4pt(double c0[3], double c1[3], double c2[3], double c3[3])
Definition: tools.c:817
void MMG5_fillDefmetregSys(int k, MMG5_pPoint p0, int i0, MMG5_Bezier b, double r[3][3], double c[3], double *lispoi, double tAA[6], double tAb[3])
Definition: anisosiz.c:289
int np
Definition: libmmgtypes.h:516
int nsols
Definition: libmmgtypes.h:518
int nxt
Definition: libmmgtypes.h:500
int MMG3D_movePROctree(MMG5_pMesh, MMG3D_pPROctree, int, double *, double *)
Definition: PRoctree_3d.c:223
#define MMG5_MEMMAX
Definition: mmgcommon.h:73
@ MMG3D_IPARAM_optim
Definition: libmmg3d.h:77
void MMG3D_Set_handGivenMesh(MMG5_pMesh mesh)
Definition: API_functions_3d.c:1722
int ref
Definition: libmmgtypes.h:217
int MMG5_updatemetreq_ani(double *n, double dn[2], double vp[2][2])
Definition: anisosiz.c:1413
int ref
Definition: libmmgtypes.h:205
int MMG3D_indPt(MMG5_pMesh mesh, int kp)
Definition: tools_3d.c:866
double uend
Definition: chrono.h:59
unsigned char optim
Definition: libmmgtypes.h:457
MMG5_pxTetra xtetra
Definition: libmmgtypes.h:545
int MMG5_devangle(double *n1, double *n2, double crit)
Definition: tools.c:49
#define MMG5_MEMPERCENT
Definition: mmgcommon.h:75
int MMG3D_Set_parallelTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1236
#define MMG5_HGRADREQ
Definition: mmgcommon.h:121
int(* MMG5_grad2met_ani)(MMG5_pMesh, MMG5_pSol, MMG5_pTria, int, int)
Definition: mmgexterns.c:32
int MMG3D_Set_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1207
@ MMG3D_IPARAM_nosurf
Definition: libmmg3d.h:82
int MMG3D_Set_quadrilateral(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_3d.c:947
@ MMG5_Tetrahedron
Definition: libmmgtypes.h:189
int MMG3D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_3d.c:67
static double MMG5_orcal(MMG5_pMesh mesh, MMG5_pSol met, int iel)
Definition: inlined_functions_3d.h:262
#define MMG5_EPSOK
Definition: mmgcommon.h:98
int ne
Definition: libmmgtypes.h:516
int MMG3D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_3d.c:1666
int MMG3D_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:1965
int MMG3D_findEdge(MMG5_pMesh mesh, MMG5_pTetra pt, int k, int na, int nb, int error, char *mmgWarn, char *ia)
Definition: boulep_3d.c:110
int * adja
Definition: libmmgtypes.h:529
int nai
Definition: libmmgtypes.h:516
! double hmin
Definition: libmmgtypesf.h:241
#define IEDG(a, b)
Definition: chkmsh_3d.c:39
static const unsigned char MMG5_iprv2[3]
Definition: mmgcommon.h:471
int MMG5_BezierNom(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to)
Definition: tools_3d.c:525
double hausd
Definition: libmmgtypes.h:445
int v[6]
Definition: libmmgtypes.h:401
MMG5_pTria tria
Definition: libmmgtypes.h:548
int max
Definition: libmmgtypes.h:500
int MMG5_setdhd(MMG5_pMesh mesh)
Definition: analys_3d.c:283
double MMG5_BezierGeod(double c1[3], double c2[3], double t1[3], double t2[3])
Definition: bezier_3d.c:111
int MMG5_movbdynompt_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve)
Definition: anisomovpt_3d.c:1028
int MMG3D_Get_scalarSol(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1323
#define MG_CRN
Definition: mmgcommon.h:146
double qual
Definition: libmmgtypes.h:340
const int va_list argptr
Definition: API_functionsf_3d.c:837
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:683
int a
Definition: libmmgtypes.h:489
unsigned char inputMet
Definition: libmmgtypes.h:458
#define MG_REQ
Definition: mmgcommon.h:143
! int base
Definition: libmmgtypesf.h:288
void MMG5_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:121
void MMG5_mmgFree_names(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions.c:434
int mark
Definition: libmmgtypes.h:523
MMG5_pMesh * mesh
Definition: API_functionsf_3d.c:65
#define MMG5_ADD_MEM(mesh, size, message, law)
Definition: mmgcommon.h:275
int MMG3D_Get_iparameter(MMG5_pMesh mesh, int iparam)
Definition: API_functions_3d.c:2100
MMG5_pQuad quadra
Definition: libmmgtypes.h:549
int MMG5_norver(MMG5_pMesh mesh)
Definition: analys_3d.c:494
! int nai
Definition: libmmgtypesf.h:571
#define MG_GEO
Definition: mmgcommon.h:142
int MMG5_eigenv(int symmat, double *mat, double lambda[3], double v[3][3])
Find eigenvalues and vectors of a 3x3 matrix.
Definition: eigenv.c:356
int MMG5_bouler(MMG5_pMesh mesh, int *adjt, int start, int ip, int *list, int *listref, int *ng, int *nr, int lmax)
Definition: boulep.c:214
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
#define MMG5_SAFE_RECALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:326
int MMG3D_Get_tetrahedra(MMG5_pMesh mesh, int *tetra, int *refs, int *areRequired)
Definition: API_functions_3d.c:659
int flag
Definition: libmmgtypes.h:347
! int v[3]
Definition: libmmgtypesf.h:315
int npi
Definition: libmmgtypes.h:516
int MMG3D_Set_tetrahedra(MMG5_pMesh mesh, int *tetra, int *refs)
Definition: API_functions_3d.c:602
@ MMG3D_DPARAM_hmin
Definition: libmmg3d.h:88
double MMG5_surftri_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: anisosiz.c:122
@ MMG3D_DPARAM_hgradreq
Definition: libmmg3d.h:93
int MMG3D_set_metricAtPointsOnReqEdges(MMG5_pMesh mesh, MMG5_pSol met)
Definition: isosiz_3d.c:542
#define MMG5_ANGLIM
Definition: mmgcommon.h:92
@ MMG3D_DPARAM_hgrad
Definition: libmmg3d.h:92
MMG5_HGeom htab
Definition: libmmgtypes.h:551
int MMG5_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions.c:225
int ref
Definition: libmmgtypes.h:273
! char ddebug
Definition: libmmgtypesf.h:503
int MMG3D_Set_edges(MMG5_pMesh mesh, int *edges, int *refs)
Definition: API_functions_3d.c:1142
const char * MMG5_Get_entitiesName(enum MMG5_entities ent)
Definition: API_functions.c:540
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:214
#define MMG5_NONSET_HMAX
Definition: mmgcommon.h:117
int MMG5_bdryPerm(MMG5_pMesh mesh)
Definition: hash_3d.c:2077
double(* MMG5_lenedg)(MMG5_pMesh, MMG5_pSol, int, MMG5_pTetra)
Definition: mmg3d.c:39
int MMG5_nortri(MMG5_pMesh mesh, MMG5_pTria pt, double *n)
Definition: tools.c:155
char * nameout
Definition: libmmgtypes.h:574
int MMG3D_updatemetreq_ani(double *n, double dn[3], double vp[3][3])
Definition: anisosiz_3d.c:1700
void MMG5_mn(double m[6], double n[6], double mn[9])
Definition: tools.c:170
int MMG5_chkBdryTria(MMG5_pMesh mesh)
Definition: hash_3d.c:1402
double MMG5_caltri_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: quality.c:115
Chrono object.
Definition: chrono.h:58
int MMG5_BezierEdge(MMG5_pMesh mesh, int ip0, int ip1, double b0[3], double b1[3], char ised, double v[3])
Definition: bezier_3d.c:152
int b
Definition: libmmgtypes.h:244
double udif
Definition: chrono.h:59
! int s
Definition: libmmgtypesf.h:262
double * m
Definition: libmmgtypes.h:571
int MMG5_boulen(MMG5_pMesh mesh, int *adjt, int start, int ip, double *nn)
Definition: boulep.c:50
int16_t MMG5_openCoquilTravel(MMG5_pMesh mesh, int na, int nb, int *adj, int *piv, char *iface, char *i)
Definition: boulep_3d.c:1641
static const char MMG5_idirinv[4][4]
Definition: mmg3d.h:147
int MMG3D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1104
double gini
Definition: chrono.h:59
! int nti
Definition: libmmgtypesf.h:571
#define MMG5_LAG
Definition: mmgcommon.h:123
int MMG3D_Get_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1370
int MMG3D_Set_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1564
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:232
void MMG5_freeXPrisms(MMG5_pMesh mesh)
Definition: zaldy_3d.c:348
! int npmax
Definition: libmmgtypesf.h:571
int MMG3D_Get_edges(MMG5_pMesh mesh, int *edges, int *refs, int *areRidges, int *areRequired)
Definition: API_functions_3d.c:1159
char elt
Definition: libmmgtypes.h:206
int16_t MMG5_coquilTravel(MMG5_pMesh mesh, int na, int nb, int *adj, int *piv, char *iface, char *i)
Definition: boulep_3d.c:1589
void MMG5_mark_pointsOnReqEdge_fromTria(MMG5_pMesh mesh)
Definition: isosiz.c:233
void MMG5_bezierEdge(MMG5_pMesh mesh, int i0, int i1, double b0[3], double b1[3], char isrid, double v[3])
Definition: bezier.c:51
static double MMG5_caltet_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: inlined_functions_3d.h:417
! int ver
Definition: libmmgtypesf.h:568
unsigned char noswap
Definition: libmmgtypes.h:457
void MMG5_tet2tri(MMG5_pMesh mesh, int k, char ie, MMG5_Tria *ptt)
Definition: mmg3d1.c:52
int MMG5_bouletrid(MMG5_pMesh mesh, int start, int iface, int ip, int *il1, int *l1, int *il2, int *l2, int *ip0, int *ip1)
Definition: boulep_3d.c:626
int MMG3D_normalAdjaTri(MMG5_pMesh, int, char, int, double n[3])
Definition: split_3d.c:462
int MMG5_Compute_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double *hsiz)
Definition: API_functions.c:487
int MMG3D_memOption(MMG5_pMesh mesh)
Definition: zaldy_3d.c:235
MMG5_hgeom * geom
Definition: libmmgtypes.h:479
struct timeval rutim
Definition: chrono.h:61
int v[4]
Definition: libmmgtypes.h:305
double ls
Definition: libmmgtypes.h:446
int MMG3D_Set_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, int ref, int pos)
Definition: API_functions_3d.c:343
int MMG5_invmat(double *m, double *mi)
Definition: tools.c:278
#define MG_MIN(a, b)
Definition: mmgcommon.h:137
int npari
Definition: libmmgtypes.h:447
FORTRAN_NAME(INIT_FILENAMES, init_filenames,(MMG5_pMesh *mesh, MMG5_pSol *sol),(mesh, sol))
Definition: API_functionsf.c:47
#define MMG5_INCREASE_MEM_MESSAGE()
Definition: mmgcommon.h:374
int MMG5_compute_meanMetricAtMarkedPoints_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:1690
int na
Definition: libmmgtypes.h:516
int MMG3D_Set_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1225
@ MMG3D_DPARAM_hmax
Definition: libmmg3d.h:89
int MMG5_boulec(MMG5_pMesh mesh, int *adjt, int start, int ip, double *tt)
Definition: boulep.c:126
void MMG5_defUninitSize(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:224
int MMG3D_Get_normalAtVertex(MMG5_pMesh mesh, int k, double *n0, double *n1, double *n2)
Definition: API_functions_3d.c:1279
double sini
Definition: chrono.h:59
int MMG5_mmg3dBezierCP(MMG5_pMesh mesh, MMG5_Tria *pt, MMG5_pBezier pb, char ori)
Definition: bezier_3d.c:327
char imprim
Definition: libmmgtypes.h:453
! int ne
Definition: libmmgtypesf.h:571
FORTRAN_NAME(MMG3D_SET_INPUTMESHNAME, mmg3d_set_inputmeshname,(MMG5_pMesh *mesh, char *meshin, int *strlen0, int *retval),(mesh, meshin, strlen0, retval))
Definition: API_functionsf_3d.c:73
double hgrad
Definition: libmmgtypes.h:445
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:2209
int16_t tag
Definition: libmmgtypes.h:248
#define MMG5_EPS
Definition: eigenv.h:32
int MMG5_solveDefmetrefSys(MMG5_pMesh mesh, MMG5_pPoint p0, int ipref[2], double r[3][3], double c[3], double tAA[6], double tAb[3], double *m, double isqhmin, double isqhmax, double hausd)
Definition: anisosiz.c:538
int16_t tag
Definition: libmmgtypes.h:223
! double hausd
Definition: libmmgtypesf.h:243
double n1[3]
Definition: libmmgtypes.h:234
int MMG3D_Get_edge(MMG5_pMesh mesh, int *e0, int *e1, int *ref, int *isRidge, int *isRequired)
Definition: API_functions_3d.c:1096
const char * MMG5_Get_typeName(enum MMG5_type typ)
Definition: API_functions.c:563
Definition: libmmgtypes.h:270
int MMG3D_chk4ridVertices(MMG5_pMesh mesh, MMG5_pTetra pt)
Definition: anisosiz_3d.c:38
#define MMG5_NONSET_MEM
Definition: mmgcommon.h:115
int MMG3D_Get_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1590
#define MG_NOSURF
Definition: mmgcommon.h:147
int MMG5_cntbdypt(MMG5_pMesh mesh, int nump)
Definition: chkmsh_3d.c:363
Definition: mmgcommon.h:480
Used to hash edges (memory economy compared to MMG5_hgeom).
Definition: libmmgtypes.h:488
int MMG5_movbdyridpt_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve)
Definition: anisomovpt_3d.c:1375
#define MG_Tria
Definition: mmgcommon.h:156
int MMG5_eigensym(double m[3], double lambda[2], double vp[2][2])
Definition: eigenv.c:746
static int MMG5_defmetreg(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:794
int MMG5_BezierRidge(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no1, double *no2, double *to)
Definition: tools_3d.c:150
int ver
Definition: libmmgtypes.h:564
int nquad
Definition: libmmgtypes.h:517
int MMG3D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:1037
#define MG_NUL
Definition: mmgcommon.h:152
int ref
Definition: libmmgtypes.h:306
MMG5_pMat mat
Definition: libmmgtypes.h:459
int mem
Definition: libmmgtypes.h:447
int type
Definition: libmmgtypes.h:570
size_t MMG5_memSize(void)
Definition: tools.c:546
int base
Definition: libmmgtypes.h:274
@ MMG3D_IPARAM_octree
Definition: libmmg3d.h:86
! int * adjt
Definition: libmmgtypesf.h:588
! int b
Definition: libmmgtypesf.h:286
double uini
Definition: chrono.h:59
@ MMG5_Notype
Definition: libmmgtypes.h:174
int MMG5_grad2metSurfreq(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int npmaster, int npslave)
Definition: anisosiz.c:1450
int MMG5_solveDefmetregSys(MMG5_pMesh mesh, double r[3][3], double c[3], double tAA[6], double tAb[3], double *m, double isqhmin, double isqhmax, double hausd)
Definition: anisosiz.c:435
! double hsiz
Definition: libmmgtypesf.h:495
! char ori
Definition: libmmgtypesf.h:411
int MMG5_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions.c:141
! double c[3]
Definition: libmmgtypesf.h:255
! int16_t tag
Definition: libmmgtypesf.h:263
int MMG3D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:1763
int MMG5_movbdyrefpt_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improve)
Definition: anisomovpt_3d.c:678
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:543
! int np
Definition: libmmgtypesf.h:571
static int MMG5_grad2metVol(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, int np1, int np2)
Definition: anisosiz_3d.c:1371
double MMG5_det3pt1vec(double c0[3], double c1[3], double c2[3], double v[3])
Definition: tools.c:805
int MMG3D_Get_meshSize(MMG5_pMesh mesh, int *np, int *ne, int *nprism, int *nt, int *nquad, int *na)
Definition: API_functions_3d.c:324
#define MMG5_ATHIRD
Definition: mmgcommon.h:93
int MMG5_srcbdy(MMG5_pMesh mesh, int start, int ia)
Definition: boulep_3d.c:1191
int npnil
Definition: libmmgtypes.h:526
int MMG5_interpreg_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, char i, double s, double mr[6])
Definition: intmet.c:627
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
void printim(double elps, char *stim)
Print real time.
Definition: chrono.c:149
int MMG5_chkfemtopo(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:411
int MMG5_cenrad_ani(MMG5_pMesh mesh, double *ct, double *m, double *c, double *rad)
Definition: cenrad_3d.c:130
int MMG3D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref, int pos)
Definition: API_functions_3d.c:1064
int MMG3D_Set_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs)
Definition: API_functions_3d.c:1020
char fem
Definition: libmmgtypes.h:453
int MMG3D_Set_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1448
int MMG3D_indElt(MMG5_pMesh mesh, int kel)
Definition: tools_3d.c:850
int xp
Definition: libmmgtypes.h:218
int MMG3D_Init_mesh(const int starter,...)
Definition: API_functions_3d.c:43
int MMG3D_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions_3d.c:76
MMG5_pTetra tetra
Definition: libmmgtypes.h:544
int MMG3D_Set_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1217
! double n2[3]
Definition: libmmgtypesf.h:275
Structure to store the surface tetrahedra of a MMG mesh.
Definition: libmmgtypes.h:356
static const unsigned char MMG5_ifar[6][2]
ifar[i][]: faces sharing the ith edge of the tetra
Definition: mmg3d.h:155
#define MMG5_EPSD2
Definition: mmgcommon.h:96
@ MMG5_Tensor
Definition: libmmgtypes.h:177
int MMG3D_Free_names(const int starter,...)
Definition: API_functions_3d.c:2309
int MMG3D_Get_triangles(MMG5_pMesh mesh, int *tria, int *refs, int *areRequired)
Definition: API_functions_3d.c:922
double MMG5_ridSizeInNormalDir(MMG5_pMesh mesh, int i0, double *bcu, MMG5_Bezier *b, double isqhmin, double isqhmax)
Definition: anisosiz.c:783
void MMG5_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double hsiz)
Definition: API_functions.c:349
int renum
Definition: libmmgtypes.h:449
#define MMG5_SAFE_REALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:310
! int ref
Definition: libmmgtypesf.h:244
char ori
Definition: libmmgtypes.h:365
double dhd
Definition: libmmgtypes.h:445
#define BIG1
Definition: chrono.h:48
int MMG3D_Set_vectorSol(MMG5_pSol met, double vx, double vy, double vz, int pos)
Definition: API_functions_3d.c:1379
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:177
#define A32TH
Definition: mmgcommon.h:110
int MMG3D_Set_scalarSol(MMG5_pSol met, double s, int pos)
Definition: API_functions_3d.c:1289
int MMG5_setadj(MMG5_pMesh mesh)
Definition: analys_3d.c:96
! int na
Definition: libmmgtypesf.h:571
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
! MMG5_pPar par
Definition: libmmgtypesf.h:494
int MMG3D_Add_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, int ref)
Definition: API_functions_3d.c:1935
! double hmax
Definition: libmmgtypesf.h:242
int dim
Definition: libmmgtypes.h:565
int16_t tag[4]
Definition: libmmgtypes.h:310
#define A16TH
Definition: mmgcommon.h:109
#define MMG5_KB
Definition: mmgcommon.h:172
int MMG3D_Free_structures(const int starter,...)
Definition: API_functions_3d.c:2295
Definition: libmmgtypes.h:304
#define MG_RID(tag)
Definition: mmgcommon.h:164
int MMG5_bdrySet(MMG5_pMesh mesh)
Definition: hash_3d.c:1701
int MMG5_BezierTgt(double c1[3], double c2[3], double n1[3], double n2[3], double t1[3], double t2[3])
Definition: bezier_3d.c:53
! int npar
Definition: libmmgtypesf.h:497
int nt
Definition: libmmgtypes.h:516
#define MG_Tetra
Definition: mmgcommon.h:157
#define MMG5_LS
Definition: mmgcommon.h:125
MMG5_hedge * item
Definition: libmmgtypes.h:501
int MMG3D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_3d.c:109
int MMG3D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:1768
#define MG_OPNBDY
Definition: mmgcommon.h:148
double hausd
Definition: libmmgtypes.h:204
MMG mesh structure.
Definition: libmmgtypes.h:509
int siz
Definition: libmmgtypes.h:500
mmg3d_init_parameters
Definition: API_functionsf_3d.c:65
int MMG3D_hashPrism(MMG5_pMesh mesh)
Definition: hash_3d.c:295
#define MMG5_HMINCOE
Definition: mmgcommon.h:130
MMG5_pPar par
Definition: libmmgtypes.h:444
@ MMG3D_IPARAM_debug
Definition: libmmg3d.h:71
double n2[3]
Definition: libmmgtypes.h:234
va_start(argptr, starter)
int MMG5_elementWeight(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, MMG5_pPoint p0, MMG5_Bezier *pb, double r[3][3], double gv[2])
Definition: anisomovpt.c:53
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:233
int npmax
Definition: libmmgtypes.h:567
@ MMG5_Edg
Definition: libmmgtypes.h:187
int MMG5_hGeom(MMG5_pMesh mesh)
Definition: hash_3d.c:1034
! int edg[3]
Definition: libmmgtypesf.h:320
int flag
Definition: libmmgtypes.h:279
int ver
Definition: libmmgtypes.h:513
char ddb
Definition: mmg3d1_delone.c:41
static const unsigned char MMG5_iarf[4][3]
iarf[i]: edges of face opposite to vertex i
Definition: mmg3d.h:149
double hmax
Definition: libmmgtypes.h:445
int ref
Definition: libmmgtypes.h:402
Definition: libmmgtypes.h:201
char * namein
Definition: libmmgtypes.h:553
! int xp
Definition: libmmgtypesf.h:258
int nei
Definition: libmmgtypes.h:516
int MMG3D_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:1782
int PROctree
Definition: libmmgtypes.h:450
@ MMG3D_IPARAM_iso
Definition: libmmg3d.h:73
unsigned char nosurf
Definition: libmmgtypes.h:457
MMG5_Info info
Definition: libmmgtypes.h:552
static int MMG5_defmetref(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:528
@ MMG3D_IPARAM_nomove
Definition: libmmg3d.h:81
int MMG5_BezierRef(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to)
Definition: tools_3d.c:352
@ MMG3D_DPARAM_hausd
Definition: libmmg3d.h:91
int MMG5_gradsizreq_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:1797
int flag
Definition: libmmgtypes.h:221
int * adjapr
Definition: libmmgtypes.h:537
int a
Definition: libmmgtypes.h:244
int MMG3D_Free_all(const int starter,...)
Definition: API_functions_3d.c:2281
int MMG3D_Set_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1353
int npmax
Definition: libmmgtypes.h:516
int MMG3D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_3d.c:1609
char parTyp
Definition: libmmgtypes.h:454
@ MMG3D_DPARAM_hsiz
Definition: libmmg3d.h:90
void MMG3D_set_reqBoundaries(MMG5_pMesh mesh)
Definition: analys_3d.c:45
int call
Definition: chrono.h:70
int MMG5_chkVertexConnectedDomains(MMG5_pMesh mesh)
Definition: analys_3d.c:350
static const unsigned char MMG5_iare[6][2]
vertices of extremities of the edges of the tetra
Definition: mmg3d.h:153
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:198
char tag
Definition: libmmgtypes.h:407
int MMG3D_Get_vertices(MMG5_pMesh mesh, double *vertices, int *refs, int *areCorners, int *areRequired)
Definition: API_functions_3d.c:453
static double MMG5_surf(MMG5_pMesh mesh, double m[3][6], MMG5_pTria ptt)
Definition: anisosiz.c:48
int MMG3D_hashTria(MMG5_pMesh mesh, MMG5_Hash *hash)
Definition: hash_3d.c:768
#define MG_ISO
Definition: libmmgtypes.h:62
int ref
Definition: libmmgtypes.h:342
MMG5_pMesh char int int * retval
Definition: API_functionsf_3d.c:875
@ MMG3D_IPARAM_verbose
Definition: libmmg3d.h:69
int MMG3D_nmgeom(MMG5_pMesh mesh)
Definition: analys_3d.c:666
int nti
Definition: libmmgtypes.h:516
tmp[*strlen0]
Definition: API_functionsf_3d.c:881
! double n[3]
Definition: libmmgtypesf.h:256
int MMG3D_Set_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1189
Store input parameters of the run.
Definition: libmmgtypes.h:443
@ MMG3D_IPARAM_anisosize
Definition: libmmg3d.h:85
int16_t tag
Definition: libmmgtypes.h:348
int MMG3D_Get_vectorSol(MMG5_pSol met, double *vx, double *vy, double *vz)
Definition: API_functions_3d.c:1416
@ MMG3D_IPARAM_noswap
Definition: libmmg3d.h:80
int MMG3D_Set_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int nsols, int nentities, int *typSol)
Definition: API_functions_3d.c:154
int MMG5_chkptonbdy(MMG5_pMesh mesh, int np)
Definition: chkmsh_3d.c:301
void MMG5_coquilFaceErrorMessage(MMG5_pMesh mesh, int k1, int k2)
Definition: boulep_3d.c:1250
char * nameout
Definition: libmmgtypes.h:554
int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh, char sethmin, char sethmax)
Definition: API_functions.c:458
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
int edg[6]
Definition: libmmgtypes.h:359
MMG5_pPoint p[3]
Definition: mmgcommon.h:484
int MMG3D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs)
Definition: API_functions_3d.c:904
static const unsigned char MMG5_inxt2[6]
Definition: mmgcommon.h:470
double gend
Definition: chrono.h:59
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:289
int MMG5_norpts(MMG5_pMesh, int, int, int, double *)
Definition: tools.c:129
int MMG5_boulevolp(MMG5_pMesh mesh, int start, int ip, int *list)
Definition: boulep_3d.c:53
#define MMG5_NONSET_HMIN
Definition: mmgcommon.h:116
int MMG3D_Get_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, int *ref, int *isCorner, int *isRequired)
Definition: API_functions_3d.c:379
@ MMG5_Scalar
Definition: libmmgtypes.h:175
#define MMG5_TAB_RECALLOC(mesh, ptr, initSize, wantedGap, type, message, law)
Definition: mmgcommon.h:348
int MMG3D_Free_structures_var(va_list argptr)
Definition: variadic_3d.c:353
FORTRAN_VARIADIC(MMG3D_INIT_MESH, mmg3d_init_mesh,(const int starter,...), va_list argptr;int ier;va_start(argptr, starter);ier=MMG3D_Init_mesh_var(argptr);va_end(argptr);if(!ier) exit(EXIT_FAILURE);return;) FORTRAN_NAME(MMG3D_INIT_PARAMETERS
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:266
int MMG3D_gradsizreq_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:2019
int MMG3D_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val)
Definition: API_functions_3d.c:2158
int MMG3D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:980
MMG5_pEdge edge
Definition: libmmgtypes.h:550
int MMG3D_setMeshSize_alloc(MMG5_pMesh)
Definition: zaldy_3d.c:254
int ier
Definition: API_functionsf_3d.c:839
strncpy(tmp, filename, *strlen0)
char ddebug
Definition: libmmgtypes.h:453
void MMG5_gradEigenvreq(double *dm, double *dn, double difsiz, int8_t dir, int8_t *ier)
Definition: anisosiz.c:1382
int MMG3D_Set_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1195
#define MMG5_ANGEDG
Definition: mmgcommon.h:91
char lag
Definition: libmmgtypes.h:453
int MMG3D_Set_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1261
@ MMG3D_IPARAM_lag
Definition: libmmg3d.h:76
int MMG5_chkmshsurf(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:75
#define MMG5_GAP
Definition: mmgcommon.h:129
int MMG3D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_3d.c:1636
double gap
Definition: libmmgtypes.h:512
Definition: libmmgtypes.h:400
int(* MMG5_bezierCP)(MMG5_pMesh, MMG5_Tria *, MMG5_pBezier, char)
Definition: mmgexterns.c:28
MMG5_type
Type of solutions.
Definition: libmmgtypes.h:173
int ref[4]
Definition: libmmgtypes.h:357
static int MMG3D_intextmet(MMG5_pMesh mesh, MMG5_pSol met, int np, double me[6])
Definition: anisosiz_3d.c:1218
int MMG3D_Set_vertices(MMG5_pMesh mesh, double *vertices, int *refs)
Definition: API_functions_3d.c:426
@ MMG3D_IPARAM_opnbdy
Definition: libmmg3d.h:75
int * adjt
Definition: libmmgtypes.h:533
int MMG5_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions.c:302
void MMG5_Free_structures(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:401
int MMG5_coquil(MMG5_pMesh mesh, int start, int ia, int *list)
Definition: boulep_3d.c:1053
! int mark
Definition: libmmgtypesf.h:389
unsigned char optimLES
Definition: libmmgtypes.h:457
@ MMG3D_IPARAM_angle
Definition: libmmg3d.h:72
double(* MMG5_caltri)(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: mmg3d.c:42
double hsiz
Definition: libmmgtypes.h:445
void MMG3D_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions_3d.c:80
if(!ier) exit(EXIT_FAILURE)
int MMG3D_Get_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int *nsols, int *np, int *typSol)
Definition: API_functions_3d.c:295
int MMG3D_Free_names_var(va_list argptr)
Definition: variadic_3d.c:491
int ntmax
Definition: libmmgtypes.h:516
int tmp
Definition: libmmgtypes.h:219
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:1486
int MMG5_setNmTag(MMG5_pMesh mesh, MMG5_Hash *hash)
Definition: hash_3d.c:746
MMG5_pMesh char * filename
Definition: API_functionsf_3d.c:875
int MMG5_norface(MMG5_pMesh mesh, int k, int iface, double v[3])
Definition: tools_3d.c:59
int MMG3D_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions_3d.c:62
#define MMG3D_TETRA_REALLOC(mesh, jel, wantedGap, law)
Definition: mmg3d.h:92
int MMG3D_newPt(MMG5_pMesh mesh, double c[3], int16_t tag)
Definition: zaldy_3d.c:39
@ MMG3D_IPARAM_nofem
Definition: libmmg3d.h:74
int MMG3D_Set_tetrahedron(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_3d.c:489
int nemax
Definition: libmmgtypes.h:516
const int starter
Definition: API_functionsf_3d.c:837
#define MMG5_ON
Definition: mmgcommon.h:128
#define MMG5_EPSD
Definition: eigenv.h:31
int dim
Definition: libmmgtypes.h:514
int xt
Definition: libmmgtypes.h:345
! int nprism
Definition: libmmgtypesf.h:572
@ MMG5_Vertex
Definition: libmmgtypes.h:186
@ MMG3D_DPARAM_ls
Definition: libmmg3d.h:94
int MMG3D_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions_3d.c:71
double(* MMG3D_lenedgCoor)(double *ca, double *cb, double *sa, double *sb)
Definition: libmmg3d.c:45
int MMG5_movbdyregpt_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *listv, int ilistv, int *lists, int ilists, int improveSurf, int improveVol)
Definition: anisomovpt_3d.c:195
int MMG3D_Get_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1471
int MMG3D_Set_normalAtVertex(MMG5_pMesh mesh, int k, double n0, double n1, double n2)
Definition: API_functions_3d.c:1267
double send
Definition: chrono.h:59
void printim(double, char *)
Print real time.
Definition: chrono.c:149
int npi
Definition: libmmgtypes.h:568
int MMG3D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:1859
int MMG3D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_3d.c:1694
#define MMG3D_LMAX
Definition: libmmg3d.h:57
@ MMG3D_IPARAM_renum
Definition: libmmg3d.h:84
! int a
Definition: libmmgtypesf.h:286
int v[4]
Definition: libmmgtypes.h:341
int MMG3D_coquilFaceFirstLoop(MMG5_pMesh mesh, int start, int na, int nb, char iface, char ia, int *list, int *ilist, int *it1, int *it2, int *piv, int *adj, char *hasadja, int *nbdy, int silent)
Definition: boulep_3d.c:1329
int MMG5_boulernm(MMG5_pMesh mesh, int start, int ip, int *ng, int *nr)
Definition: boulep_3d.c:323
double n[3]
Definition: libmmgtypes.h:216
void MMG3D_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions_3d.c:55