int MMG2D_hashTria(MMG5_pMesh mesh)
Definition: hash_2d.c:35
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:274
int MMG2D_split3(MMG5_pMesh, MMG5_pSol, int, int vx[3])
Definition: split_2d.c:625
int MMG2D_findtrianglestate(MMG5_pMesh mesh, int k, int ip1, int ip2, int ip3, int ip4, int base)
Definition: mmg2d2.c:132
#define MG_BDY
Definition: mmgcommon.h:144
int np
Definition: libmmgtypes.h:613
double c[3]
Definition: libmmgtypes.h:242
int MMG2D_setref_ls(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: mmg2d6.c:937
#define MG_EDG(tag)
Definition: mmgcommon.h:163
int MMG2D_adptri(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmg2d1.c:543
int MMG2D_indElt(MMG5_pMesh mesh, int kel)
Definition: tools_2d.c:45
int MMG2D_chkmaniball(MMG5_pMesh mesh, int start, int8_t istart)
Definition: mmg2d6.c:405
#define MG_MAX(a, b)
Definition: mmgcommon.h:135
double hmin
Definition: libmmgtypes.h:476
int(* MMG2D_gradsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:9
int MMG2D_newPt(MMG5_pMesh mesh, double c[2], int16_t tag)
Definition: zaldy_2d.c:38
int v[3]
Definition: libmmgtypes.h:303
Definition: libmmgtypes.h:610
int MMG5_hashEdge(MMG5_pMesh mesh, MMG5_Hash *hash, int a, int b, int k)
Definition: hash.c:217
#define MG_SIN(tag)
Definition: mmgcommon.h:164
int(* MMG2D_intmet)(MMG5_pMesh, MMG5_pSol, int, int8_t, int, double)
Definition: mmg2dexterns.c:5
int MMG2D_removeBBtriangles(MMG5_pMesh mesh)
Definition: mmg2d2.c:42
int MMG2D_colver(MMG5_pMesh mesh, int ilist, int *list)
Definition: colver_2d.c:270
int MMG2D_chkspl(MMG5_pMesh, MMG5_pSol, int, int8_t)
Definition: split_2d.c:50
int MMG2D_isInTriangle(MMG5_pMesh mesh, int k, double c[2])
Definition: locate_2d.c:69
double(* MMG2D_caltri)(MMG5_pMesh, MMG5_pSol, MMG5_pTria)
Definition: mmg2dexterns.c:8
int cc
Definition: libmmgtypes.h:306
int MMG2D_saveDisp(MMG5_pMesh mesh, MMG5_pSol disp)
Definition: mmg2d9.c:474
#define MG_REF
Definition: mmgcommon.h:140
#define MG_EOK(pt)
Definition: mmgcommon.h:161
static double MMG2D_caltri_iso_3pt(double *a, double *b, double *c)
Definition: mmg2d9.c:76
#define MG_NOM
Definition: mmgcommon.h:143
int MMG2D_spllag(MMG5_pMesh mesh, MMG5_pSol disp, MMG5_pSol met, int itdeg, int *warn)
Definition: mmg2d9.c:283
int MMG2D_chkmanimesh(MMG5_pMesh mesh)
Definition: mmg2d6.c:475
double MMG2D_voltri(MMG5_pMesh mesh, int ip0, int ip1, int ip2)
Definition: mmg2d6.c:45
int size
Definition: libmmgtypes.h:616
int MMG5_hashGet(MMG5_Hash *hash, int a, int b)
Definition: hash.c:364
int imprim
Definition: libmmgtypes.h:484
#define MMG2D_DEGTOL
Definition: mmg2d9.c:38
#define MMG2D_LONMAX
Definition: mmg2d.h:58
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Definition: libmmgtypes.h:542
int MMG2D_split2_sim(MMG5_pMesh, MMG5_pSol, int, int vx[3])
Definition: split_2d.c:451
int(* MMG2D_intmet)(MMG5_pMesh, MMG5_pSol, int, int8_t, int, double)
Definition: mmg2dexterns.c:5
int(* MMG2D_gradsizreq)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:7
uint8_t nomove
Definition: libmmgtypes.h:500
static const uint8_t MMG5_iprv2[3]
Definition: mmgcommon.h:548
MMG5_pPoint point
Definition: libmmgtypes.h:589
#define MMG2D_PRECI
Definition: mmg2d.h:54
#define MG_GET(flag, bit)
Definition: mmgcommon.h:170
int MMG2D_splitbar(MMG5_pMesh, int, int)
Definition: split_2d.c:716
int edg[3]
Definition: libmmgtypes.h:308
int16_t tag[3]
Definition: libmmgtypes.h:311
int(* MMG2D_defsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:4
int MMG2D_chkmovmesh(MMG5_pMesh mesh, MMG5_pSol disp, short t, int *triIdx)
Definition: mmg2d9.c:118
double max[3]
Definition: libmmgtypes.h:477
double hgradreq
Definition: libmmgtypes.h:476
int base
Definition: libmmgtypes.h:564
double MMG2D_vfrac(MMG5_pMesh mesh, MMG5_pSol sol, int k, int pm)
Definition: mmg2d6.c:69
int MMG2D_boulet(MMG5_pMesh mesh, int start, int8_t ip, int *list)
Definition: boulep_2d.c:229
MMG5_pMesh MMG5_pSol * sol
Definition: API_functionsf_2d.c:63
int MMG2D_mmg2d2(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: mmg2d2.c:495
int MMG2D_ismaniball(MMG5_pMesh mesh, MMG5_pSol sol, int start, int8_t istart)
Definition: mmg2d6.c:221
int MMG2D_split1(MMG5_pMesh, MMG5_pSol, int, int vx[3])
Definition: split_2d.c:385
#define MG_VOK(ppt)
Definition: mmgcommon.h:160
static const uint8_t MMG5_inxt2[6]
Definition: mmgcommon.h:547
int np
Definition: libmmgtypes.h:559
double rmc
Definition: libmmgtypes.h:477
int ref
Definition: libmmgtypes.h:247
int MMG2D_velextLS(MMG5_pMesh, MMG5_pSol)
int MMG2D_cavity(MMG5_pMesh mesh, MMG5_pSol sol, int ip, int *list)
Definition: delone_2d.c:147
int MMG2D_split1_sim(MMG5_pMesh, MMG5_pSol, int, int vx[3])
Definition: split_2d.c:340
int * adja
Definition: libmmgtypes.h:572
uint8_t noswap
Definition: libmmgtypes.h:500
int MMG2D_anatri(MMG5_pMesh mesh, MMG5_pSol met, int8_t typchk)
Definition: mmg2d1.c:39
MMG5_pTria tria
Definition: libmmgtypes.h:595
int MMG2D_movedgpt(MMG5_pMesh, MMG5_pSol, int, int *, int8_t)
Definition: movpt_2d.c:52
int MMG2D_swpmsh(MMG5_pMesh mesh, MMG5_pSol met, int typchk)
Definition: mmg2d1.c:508
int mark
Definition: libmmgtypes.h:566
MMG5_pMesh * mesh
Definition: API_functionsf_2d.c:63
#define MMG5_ADD_MEM(mesh, size, message, law)
Definition: mmgcommon.h:290
#define MG_GEO
Definition: mmgcommon.h:141
void MMG5_gradation_info(MMG5_pMesh mesh)
Definition: isosiz.c:96
uint8_t noinsert
Definition: libmmgtypes.h:500
int(* MMG2D_gradsizreq)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:7
void MMG2D_delPt(MMG5_pMesh mesh, int ip)
Definition: zaldy_2d.c:57
int ref
Definition: libmmgtypes.h:304
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:241
int MMG2D_chkswp(MMG5_pMesh, MMG5_pSol, int, int8_t, int8_t)
Definition: swapar_2d.c:128
int MMG2D_split2(MMG5_pMesh, MMG5_pSol, int, int vx[3])
Definition: split_2d.c:500
int MMG2D_rmc(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: mmg2d6.c:545
int MMG2D_mmg2d1n(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmg2d1.c:807
int8_t ddebug
Definition: libmmgtypes.h:487
int b
Definition: libmmgtypes.h:275
int MMG5_hashNew(MMG5_pMesh mesh, MMG5_Hash *hash, int hsiz, int hmax)
Definition: hash.c:394
double * m
Definition: libmmgtypes.h:618
void MMG5_delEdge(MMG5_pMesh mesh, int iel)
Definition: zaldy_2d.c:70
double delta
Definition: libmmgtypes.h:477
double(* MMG2D_lencurv)(MMG5_pMesh, MMG5_pSol, int, int)
Definition: mmg2dexterns.c:6
#define MMG2D_POINT_REALLOC(mesh, sol, ip, wantedGap, law, o, tag)
Definition: mmg2d.h:136
int MMG2D_delone(MMG5_pMesh mesh, MMG5_pSol sol, int ip, int *list, int ilist)
Definition: delone_2d.c:247
int MMG2D_chkedg(MMG5_pMesh mesh, int k)
Definition: bezier_2d.c:28
double ls
Definition: libmmgtypes.h:477
int MMG2D_singul(MMG5_pMesh mesh, int ref)
Definition: analys_2d.c:267
static int MMG2D_coleltlag(MMG5_pMesh mesh, MMG5_pSol met, int itdeg)
Definition: mmg2d9.c:378
#define MG_MIN(a, b)
Definition: mmgcommon.h:136
#define MMG5_INCREASE_MEM_MESSAGE()
Definition: mmgcommon.h:390
int na
Definition: libmmgtypes.h:559
MMG5_Tria * MMG5_pTria
Definition: libmmgtypes.h:314
int(* MMG2D_defsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:4
double hgrad
Definition: libmmgtypes.h:476
#define MMG5_EPS
Definition: eigenv.h:32
int16_t tag
Definition: libmmgtypes.h:253
Definition: libmmgtypes.h:301
#define MMG2D_TRIA_REALLOC(mesh, jel, wantedGap, law)
Definition: mmg2d.h:167
int MMG2D_colver2(MMG5_pMesh mesh, int *list)
Definition: colver_2d.c:418
int MMG2D_split1b(MMG5_pMesh, int, int8_t, int)
Definition: split_2d.c:239
int nquad
Definition: libmmgtypes.h:560
#define MG_NUL
Definition: mmgcommon.h:151
MMG5_pMat mat
Definition: libmmgtypes.h:502
int MMG2D_cuttri_ls(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met)
Definition: mmg2d6.c:789
int base
Definition: libmmgtypes.h:305
int MMG2D_swapar(MMG5_pMesh, int, int8_t)
Definition: swapar_2d.c:221
int nsd
Definition: libmmgtypes.h:485
int(* MMG5_chkmsh)(MMG5_pMesh, int, int)
Definition: mmgexterns.c:27
int MMG2D_resetRef(MMG5_pMesh mesh)
Definition: mmg2d6.c:191
int MMG2D_assignEdge(MMG5_pMesh mesh)
Definition: hash_2d.c:333
#define MMG2D_EPSD
Definition: mmg2d.h:51
int MMG2D_snapval(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: mmg2d6.c:310
MMG5_Sol * MMG5_pSol
Definition: libmmgtypes.h:623
int MMG2D_movtri(MMG5_pMesh mesh, MMG5_pSol met, int maxit, int8_t improve)
Definition: mmg2d1.c:746
int MMG5_isSplit(MMG5_pMesh mesh, int ref, int *refint, int *refext)
Definition: mmg2.c:48
#define MMG5_EPSD2
Definition: mmgcommon.h:89
int MMG2D_mmg2d9(MMG5_pMesh mesh, MMG5_pSol disp, MMG5_pSol met, int **invalidTrias)
Definition: mmg2d9.c:571
int8_t fem
Definition: libmmgtypes.h:493
int MMG2D_bezierCurv(MMG5_pMesh mesh, int k, int8_t i, double s, double *o, double *no)
Definition: bezier_2d.c:117
#define MG_SMSGN(a, b)
Definition: mmgcommon.h:60
int MMG2D_dichoto(MMG5_pMesh mesh, MMG5_pSol met, int k, int *vx)
Definition: mmg2d1.c:358
MMG5_Mesh * MMG5_pMesh
Definition: libmmgtypes.h:604
int MMG2D_adpcol(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmg2d1.c:689
int MMG2D_colver3(MMG5_pMesh mesh, int *list)
Definition: colver_2d.c:356
int dim
Definition: libmmgtypes.h:612
int MMG2D_split3_sim(MMG5_pMesh, MMG5_pSol, int, int vx[3])
Definition: split_2d.c:587
int nt
Definition: libmmgtypes.h:559
double(* MMG2D_lencurv)(MMG5_pMesh, MMG5_pSol, int, int)
Definition: mmg2dexterns.c:6
MMG5_hedge * item
Definition: libmmgtypes.h:544
int MMG5_getIniRef(MMG5_pMesh mesh, int ref)
Definition: mmg2.c:82
#define MG_SET(flag, bit)
Definition: mmgcommon.h:168
MMG mesh structure.
Definition: libmmgtypes.h:552
int MMG2D_delElt(MMG5_pMesh mesh, int iel)
Definition: zaldy_2d.c:105
int MMG2D_swpmshlag(MMG5_pMesh mesh, MMG5_pSol met, double crit, int itdeg)
Definition: mmg2d9.c:440
int MMG2D_movtrilag(MMG5_pMesh mesh, MMG5_pSol met, int itdeg)
Definition: mmg2d9.c:508
int flag
Definition: libmmgtypes.h:310
#define MMG2D_NULKAL
Definition: mmg2d.h:60
#define MMG2D_LOPTS
Definition: mmg2d.h:69
#define MMG2D_SHORTMAX
Definition: mmg2d.h:62
double hmax
Definition: libmmgtypes.h:476
int(* MMG2D_gradsizreq)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:7
MMG5_Info info
Definition: libmmgtypes.h:599
int MMG2D_markSD(MMG5_pMesh mesh)
Definition: mmg2d2.c:309
int flag
Definition: libmmgtypes.h:251
int a
Definition: libmmgtypes.h:275
int npmax
Definition: libmmgtypes.h:559
int(* MMG2D_intmet)(MMG5_pMesh, MMG5_pSol, int, int8_t, int, double)
Definition: mmg2dexterns.c:5
#define MG_CLR(flag, bit)
Definition: mmgcommon.h:169
int MMG2D_bdryenforcement(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: enforcement_2d.c:34
#define MG_ISO
Definition: libmmgtypes.h:65
int MMG2D_findTria(MMG5_pMesh mesh, int ip)
Definition: locate_2d.c:215
tmp[*strlen0]
Definition: API_functionsf_2d.c:771
int MMG2D_dispmesh(MMG5_pMesh mesh, MMG5_pSol disp, short t, int itdeg)
Definition: mmg2d9.c:216
int(* MMG2D_defsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:4
int(* MMG2D_gradsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:9
int MMG2D_colelt(MMG5_pMesh mesh, MMG5_pSol met, int typchk)
Definition: mmg2d1.c:434
int MMG2D_chkcol(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i, int *list, int8_t typchk)
Definition: colver_2d.c:41
int(* MMG2D_gradsiz)(MMG5_pMesh, MMG5_pSol)
Definition: mmg2dexterns.c:9
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:304
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:281
MMG5_pEdge edge
Definition: libmmgtypes.h:597
int ier
Definition: API_functionsf_2d.c:730
double(* MMG2D_caltri)(MMG5_pMesh, MMG5_pSol, MMG5_pTria)
Definition: mmg2dexterns.c:8
short MMG2D_dikomv(MMG5_pMesh mesh, MMG5_pSol disp, short *lastt)
Definition: mmg2d9.c:163
int8_t lag
Definition: libmmgtypes.h:494
#define MMG2D_LLONG
Definition: mmg2d.h:66
int MMG2D_adpspl(MMG5_pMesh mesh, MMG5_pSol met)
Definition: mmg2d1.c:633
double min[3]
Definition: libmmgtypes.h:477
double gap
Definition: libmmgtypes.h:555
int MMG2D_indPt(MMG5_pMesh mesh, int kp)
Definition: tools_2d.c:69
#define MMG5_DISPREF
Definition: mmgcommon.h:78
int MMG2D_movintpt(MMG5_pMesh, MMG5_pSol, int, int *, int8_t)
Definition: movpt_2d.c:212
#define MMG2D_LSHRT
Definition: mmg2d.h:67
int MMG2D_newElt(MMG5_pMesh mesh)
Definition: zaldy_2d.c:85
double MMG2D_estavglen(MMG5_pMesh mesh)
Definition: mmg2d9.c:41
double(* MMG2D_lencurv)(MMG5_pMesh, MMG5_pSol, int, int)
Definition: mmg2dexterns.c:6
if(!ier) exit(EXIT_FAILURE)
int tmp
Definition: libmmgtypes.h:249
int MMG2D_mmg2d6(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met)
Definition: mmg2d6.c:1001
int MMG2D_anaelt(MMG5_pMesh mesh, MMG5_pSol met, int typchk)
Definition: mmg2d1.c:109
#define MMG2D_LOPTL
Definition: mmg2d.h:68
int MMG2D_settagtriangles(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: mmg2d2.c:99
int MMG2D_movintpt_ani(MMG5_pMesh mesh, MMG5_pSol met, int ilist, int *list, int8_t improve)
Definition: anisomovpt_2d.c:37
int MMG2D_insertpointdelone(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: mmg2d2.c:165
int MMG2D_norver(MMG5_pMesh mesh, int ref)
Definition: analys_2d.c:400
double n[3]
Definition: libmmgtypes.h:243