mmg3d
chrono.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 
24 #ifndef CHRONO_H
25 #define CHRONO_H
26 
27 #include <time.h>
28 #include "mmgcommon.h"
29 
30 #ifndef MMG_POSIX
31 #include <windows.h>
32 #else
33 #include <sys/time.h>
34 #include <sys/resource.h>
35 #endif
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 #ifndef ON
42 #define RESET 0
43 #define ON 1
44 #define OFF 2
45 #endif
46 
47 #define BIG 1e6
48 #define BIG1 1e-6
49 #define TIMEMAX 12
50 
58 typedef struct mytime {
60 #ifdef MMG_POSIX
61  struct timeval rutim;
62  struct rusage ru;
63 #else
64  HANDLE thisProcess;
65  FILETIME ftIni, ftEnd, ftSys, ftUser;
66  SYSTEMTIME stSys, stUser;
67  LARGE_INTEGER frequency;
68  LARGE_INTEGER rutim;
69 #endif
70  int call;
71 } mytime;
72 
73 
74 /* prototypes */
75 void chrono(int cmode,mytime *ptt);
76 void tminit(mytime *t,int maxtim);
77 void printim(double ,char *);
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif
MMG5_Mesh::nprism
int nprism
Definition: libmmgtypes.h:560
MMG5_buildridmet
int MMG5_buildridmet(MMG5_pMesh mesh, MMG5_pSol met, int np0, double ux, double uy, double uz, double mr[6], double r[3][3])
Definition: mettools.c:127
MMG3D_Chk_meshData
int MMG3D_Chk_meshData(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions_3d.c:1875
MMG5_defsiz_startingMessage
int MMG5_defsiz_startingMessage(MMG5_pMesh mesh, MMG5_pSol met, const char *funcname)
Definition: isosiz.c:77
MMG5_Edge
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:274
MMG5_Vector
@ MMG5_Vector
Definition: libmmgtypes.h:203
MMG3D_Set_iparameter
int MMG3D_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, int val)
Definition: API_functions_3d.c:2104
MMG3D_IPARAM_noinsert
@ MMG3D_IPARAM_noinsert
Definition: libmmg3d.h:79
MMG5_NONSET_HSIZ
#define MMG5_NONSET_HSIZ
Definition: mmgcommon.h:115
MMG5_Par::hmax
double hmax
Definition: libmmgtypes.h:230
MMG3D_Set_requiredTetrahedron
int MMG3D_Set_requiredTetrahedron(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1240
MMG5_FEM
#define MMG5_FEM
Definition: mmgcommon.h:131
MMG5_Mesh::prism
MMG5_pPrism prism
Definition: libmmgtypes.h:593
MMG5_lenedgCoor_ani
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
MMG5_Info::nmat
int nmat
Definition: libmmgtypes.h:483
MMG5_Info::npar
int npar
Definition: libmmgtypes.h:478
MG_BDY
#define MG_BDY
Definition: mmgcommon.h:144
MMG3D_IPARAM_optimLES
@ MMG3D_IPARAM_optimLES
Definition: libmmg3d.h:78
MMG5_HGRAD
#define MMG5_HGRAD
Definition: mmgcommon.h:118
MMG5_singul
int MMG5_singul(MMG5_pMesh mesh)
Definition: analys_3d.c:425
MMG3D_Unset_corner
int MMG3D_Unset_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1221
MMG3D_switch_metricStorage
int MMG3D_switch_metricStorage(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d_tools.c:1364
MMG5_Sol::np
int np
Definition: libmmgtypes.h:613
MMG5_Point::c
double c[3]
Definition: libmmgtypes.h:242
MMG5_lenedg
double(* MMG5_lenedg)(MMG5_pMesh, MMG5_pSol, int, MMG5_pTetra)
Definition: mmg3dexterns.c:5
MMG3D_analys
int MMG3D_analys(MMG5_pMesh mesh)
Definition: analys_3d.c:761
MMG3D_IPARAM_mem
@ MMG3D_IPARAM_mem
Definition: libmmg3d.h:70
MMG3D_Free_all_var
int MMG3D_Free_all_var(va_list argptr)
Definition: variadic_3d.c:271
MMG5_Mesh::namax
int namax
Definition: libmmgtypes.h:559
MG_EDG
#define MG_EDG(tag)
Definition: mmgcommon.h:163
MMG5_HAUSD
#define MMG5_HAUSD
Definition: mmgcommon.h:117
MMG3D_Init_mesh_var
int MMG3D_Init_mesh_var(va_list argptr)
Definition: variadic_3d.c:177
srcface
int srcface(MMG5_pMesh mesh, int n0, int n1, int n2)
Definition: chkmsh_3d.c:492
MMG3D_Set_multiMat
int MMG3D_Set_multiMat(MMG5_pMesh mesh, MMG5_pSol sol, int ref, int split, int rin, int rout)
Definition: API_functions_3d.c:2477
MMG5_moymet
int MMG5_moymet(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, double *m1)
Definition: anisosiz_3d.c:70
MMG5_movintpt_ani
int MMG5_movintpt_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int *list, int ilist, int improve)
Definition: anisomovpt_3d.c:55
MMG3D_Set_ridge
int MMG3D_Set_ridge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1348
MG_MAX
#define MG_MAX(a, b)
Definition: mmgcommon.h:135
MMG5_orvol
double MMG5_orvol(MMG5_pPoint point, int *v)
Definition: tools.c:838
MMG5_FMT_GmshASCII
@ MMG5_FMT_GmshASCII
Definition: mmgcommon.h:534
MMG5_Info::hmin
double hmin
Definition: libmmgtypes.h:476
MMG5_OFF
#define MMG5_OFF
Definition: mmgcommon.h:125
MMG5_bezierCP
int(* MMG5_bezierCP)(MMG5_pMesh, MMG5_Tria *, MMG5_pBezier, int8_t)
Definition: mmgexterns.c:28
MMG3D_Get_triangle
int MMG3D_Get_triangle(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *ref, int *isRequired)
Definition: API_functions_3d.c:888
MMG5_Tria::v
int v[3]
Definition: libmmgtypes.h:303
MMG5_PROCTREE
#define MMG5_PROCTREE
Definition: mmgcommon.h:124
MMG5_defmetrid
static int MMG5_defmetrid(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:315
MMG5_Tetra
Definition: libmmgtypes.h:370
info
MMG5_Info info
MMG3D_gradsiz_ani
int MMG3D_gradsiz_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:1886
MMG5_chkvol
void MMG5_chkvol(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:47
MMG5_Bezier::t
double t[6][3]
Definition: mmgcommon.h:560
MMG3D_Unset_requiredTriangles
int MMG3D_Unset_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1299
MMG3D_Get_quadrilateral
int MMG3D_Get_quadrilateral(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_3d.c:1001
MMG5_Sol
Definition: libmmgtypes.h:610
MMG5_gradsiz_ani
int MMG5_gradsiz_ani(MMG5_pMesh mesh, MMG5_pSol met, int *it)
Definition: anisosiz.c:1739
MMG5_boulernm
int MMG5_boulernm(MMG5_pMesh mesh, MMG5_Hash *hash, int start, int ip, int *ng, int *nr)
Definition: boulep_3d.c:451
MMG5_KA
#define MMG5_KA
Definition: mmgcommon.h:172
MMG3D_Unset_parallelTriangle
int MMG3D_Unset_parallelTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1318
MG_SIN
#define MG_SIN(tag)
Definition: mmgcommon.h:164
MMG5_boulenmInt
int MMG5_boulenmInt(MMG5_pMesh mesh, int start, int ip, double t[3])
Definition: boulep_3d.c:316
MMG5_intmetsavedir
int MMG5_intmetsavedir(MMG5_pMesh mesh, double *m, double *n, double *mr)
Definition: mettools.c:86
MMG5_Mesh::memCur
size_t memCur
Definition: libmmgtypes.h:554
MMG5_Mesh::nc1
int nc1
Definition: libmmgtypes.h:562
MMG5_defUninitSize
void MMG5_defUninitSize(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: anisosiz.c:225
MMG3D_Set_parallelTriangles
int MMG3D_Set_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar)
Definition: API_functions_3d.c:1326
MMG5_FMT_MeditASCII
@ MMG5_FMT_MeditASCII
Definition: mmgcommon.h:532
MMG5_Point::s
int s
Definition: libmmgtypes.h:252
MMG3D_Set_prisms
int MMG3D_Set_prisms(MMG5_pMesh mesh, int *prisms, int *refs)
Definition: API_functions_3d.c:795
MMG5_SAFE_MALLOC
MMG5_SAFE_MALLOC(tmp, *strlen0+1, char, return)
MMG3D_hashTetra
int MMG3D_hashTetra(MMG5_pMesh mesh, int pack)
Definition: hash_3d.c:180
MMG5_Edge::ref
int ref
Definition: libmmgtypes.h:276
MMG5_NULKAL
#define MMG5_NULKAL
Definition: mmgcommon.h:92
MMG3D_lenedgCoor
double(* MMG3D_lenedgCoor)(double *ca, double *cb, double *sa, double *sb)
Definition: mmg3dexterns.c:4
MMG3D_Unset_ridge
int MMG3D_Unset_ridge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1354
MMG5_lenedg_ani
static double MMG5_lenedg_ani(MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
Definition: inlined_functions_3d.h:200
mmg3d_loadmesh
mmg3d_loadmesh
Definition: API_functionsf_3d.c:1014
MMG3D_Add_tetrahedron
int MMG3D_Add_tetrahedron(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref)
Definition: API_functions_3d.c:1999
MMG5_freeXTets
void MMG5_freeXTets(MMG5_pMesh mesh)
Definition: zaldy_3d.c:327
MMG5_Triangle
@ MMG5_Triangle
Definition: libmmgtypes.h:215
MMG3D_setMeshSize_initData
int MMG3D_setMeshSize_initData(MMG5_pMesh mesh, int np, int ne, int nprism, int nt, int nquad, int na)
Definition: API_functions_3d.c:214
MMG3D_newElt
int MMG3D_newElt(MMG5_pMesh mesh)
Definition: zaldy_3d.c:98
MMG5_FMT_MeditBinary
@ MMG5_FMT_MeditBinary
Definition: mmgcommon.h:533
MG_REF
#define MG_REF
Definition: mmgcommon.h:140
strlen0
MMG5_pMesh char int * strlen0
Definition: API_functionsf_3d.c:1015
MMG3D_Set_meshSize
int MMG3D_Set_meshSize(MMG5_pMesh mesh, int np, int ne, int nprism, int nt, int nquad, int na)
Definition: API_functions_3d.c:258
MG_EOK
#define MG_EOK(pt)
Definition: mmgcommon.h:161
MMG3D_GetByIdx_vertex
int MMG3D_GetByIdx_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, int *ref, int *isCorner, int *isRequired, int idx)
Definition: API_functions_3d.c:419
MMG5_BITWIZE_MB_TO_B
#define MMG5_BITWIZE_MB_TO_B
Definition: mmgcommon.h:67
MMG5_Mat::rex
int rex
Definition: libmmgtypes.h:466
MMG5_deltag
int MMG5_deltag(MMG5_pMesh mesh, int start, int ia, int16_t tag)
Definition: boulep_3d.c:1266
MMG5_boulenm
int MMG5_boulenm(MMG5_pMesh mesh, int start, int ip, int iface, double n[3], double t[3])
Definition: boulep_3d.c:155
mytime::sdif
double sdif
Definition: chrono.h:59
MG_NOM
#define MG_NOM
Definition: mmgcommon.h:143
MMG3D_Get_tensorSol
int MMG3D_Get_tensorSol(MMG5_pSol met, double *m11, double *m12, double *m13, double *m22, double *m23, double *m33)
Definition: API_functions_3d.c:1665
MMG5_bdryUpdate
int MMG5_bdryUpdate(MMG5_pMesh mesh)
Definition: hash_3d.c:2042
MMG5_Mesh::xt
int xt
Definition: libmmgtypes.h:568
MMG5_sys33sym
int MMG5_sys33sym(double a[6], double b[3], double r[3])
Definition: tools.c:464
MMG5_Sol::namein
char * namein
Definition: libmmgtypes.h:620
mytime
struct mytime mytime
MMG5_mmg3dChkmsh
int MMG5_mmg3dChkmsh(MMG5_pMesh mesh, int severe, int base)
Definition: chkmsh_3d.c:111
MMG3D_skipIso
static int MMG3D_skipIso(MMG5_pMesh mesh)
Definition: API_functions_3d.c:1921
MMG5_settag
int MMG5_settag(MMG5_pMesh mesh, int start, int ia, int16_t tag, int edg)
Definition: boulep_3d.c:1148
MMG5_hedge::nxt
int nxt
Definition: libmmgtypes.h:532
MMG5_Mesh::xp
int xp
Definition: libmmgtypes.h:568
MMG5_grad2metreq_ani
int(* MMG5_grad2metreq_ani)(MMG5_pMesh, MMG5_pSol, MMG5_pTria, int, int)
Definition: mmgexterns.c:33
MMG5_Sol::size
int size
Definition: libmmgtypes.h:616
MMG5_Mesh::xpmax
int xpmax
Definition: libmmgtypes.h:559
MMG3D_IPARAM_numberOfLocalParam
@ MMG3D_IPARAM_numberOfLocalParam
Definition: libmmg3d.h:84
MMG5_invmat33
int MMG5_invmat33(double m[3][3], double mi[3][3])
Definition: tools.c:370
MMG5_Mat::rin
int rin
Definition: libmmgtypes.h:466
MMG5_Info::imprim
int imprim
Definition: libmmgtypes.h:484
MMG3D_saveAllSols
int MMG3D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2304
MMG5_hedge::b
int b
Definition: libmmgtypes.h:532
MMG5_Set_multiMat
int MMG5_Set_multiMat(MMG5_pMesh mesh, MMG5_pSol sol, int ref, int split, int rin, int rex)
Definition: API_functions.c:652
MMG5_cenrad_iso
int MMG5_cenrad_iso(MMG5_pMesh mesh, double *ct, double *c, double *rad)
Definition: cenrad_3d.c:45
MMG5_Hash
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Definition: libmmgtypes.h:542
MMG3D_mark_pointsOnReqEdge_fromTetra
void MMG3D_mark_pointsOnReqEdge_fromTetra(MMG5_pMesh mesh)
Definition: isosiz_3d.c:1024
MMG5_Noentity
@ MMG5_Noentity
Definition: libmmgtypes.h:212
MMG5_xTetra::tag
int16_t tag[6]
Definition: libmmgtypes.h:394
MMG3D_defsiz_ani
int MMG3D_defsiz_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:1254
MMG3D_loadMesh
int MMG3D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1187
MMG5_Info::optimLES
uint8_t optimLES
Definition: libmmgtypes.h:500
MMG5_boulesurfvolp
int MMG5_boulesurfvolp(MMG5_pMesh mesh, int start, int ip, int iface, int *listv, int *ilistv, int *lists, int *ilists, int isnm)
Definition: boulep_3d.c:594
MMG5_Bezier::n
double n[6][3]
Definition: mmgcommon.h:559
MMG5_simred
int MMG5_simred(MMG5_pMesh mesh, double *m, double *n, double dm[2], double dn[2], double vp[2][2])
Definition: anisosiz.c:1262
MMG5_grad2metVolreq
static int MMG5_grad2metVolreq(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, int npmaster, int npslave)
Definition: anisosiz_3d.c:1742
MMG3D_Get_solSize
int MMG3D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int *typEntity, int *np, int *typSol)
Definition: API_functions_3d.c:284
MMG3D_IPARAM_nreg
@ MMG3D_IPARAM_nreg
Definition: libmmg3d.h:83
MMG5_defmetsin
static int MMG5_defmetsin(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:117
MMG5_Init_parameters
void MMG5_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions.c:51
MMG5_Par::hmin
double hmin
Definition: libmmgtypes.h:229
MMG5_Info::nomove
uint8_t nomove
Definition: libmmgtypes.h:500
MMG5_iprv2
static const uint8_t MMG5_iprv2[3]
Definition: mmgcommon.h:548
MMG5_grad2metSurf
int MMG5_grad2metSurf(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int np1, int np2)
Definition: anisosiz.c:910
MMG5_ridSizeInTangentDir
double MMG5_ridSizeInTangentDir(MMG5_pMesh mesh, MMG5_pPoint p0, int idp, int *iprid, double isqhmin, double isqhmax)
Definition: anisosiz.c:723
MMG5_Mesh::point
MMG5_pPoint point
Definition: libmmgtypes.h:589
info
MMG5_Info info
MMG5_xTetra::ftag
int16_t ftag[4]
Definition: libmmgtypes.h:392
MMG5_arpt
static const uint8_t MMG5_arpt[4][3]
arpt[i]: edges passing through vertex i
Definition: mmg3d.h:162
MG_GET
#define MG_GET(flag, bit)
Definition: mmgcommon.h:170
MMG5_Tria::edg
int edg[3]
Definition: libmmgtypes.h:308
MMG3D_Get_tetrahedron
int MMG3D_Get_tetrahedron(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_3d.c:586
MMG5_HMAXCOE
#define MMG5_HMAXCOE
Definition: mmgcommon.h:129
MMG5_Tria::tag
int16_t tag[3]
Definition: libmmgtypes.h:311
MMG5_Bezier::b
double b[10][3]
Definition: mmgcommon.h:558
MMG5_surftri33_ani
double MMG5_surftri33_ani(MMG5_pMesh mesh, MMG5_pTria ptt, double ma[6], double mb[6], double mc[6])
Definition: anisosiz.c:169
MMG5_Info::opnbdy
int opnbdy
Definition: libmmgtypes.h:480
MMG3D_Get_prisms
int MMG3D_Get_prisms(MMG5_pMesh mesh, int *prisms, int *refs, int *areRequired)
Definition: API_functions_3d.c:825
MMG3D_bezierInt
int MMG3D_bezierInt(MMG5_pBezier pb, double uv[2], double o[3], double no[3], double to[3])
Definition: bezier_3d.c:571
MMG3D_DPARAM_angleDetection
@ MMG3D_DPARAM_angleDetection
Definition: libmmg3d.h:92
MMG5_entities
MMG5_entities
Type of mesh entities.
Definition: libmmgtypes.h:211
MMG3D_simred
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:1608
ddb
int8_t ddb
Definition: mmg3d1_delone.c:41
MMG5_Mesh::memMax
size_t memMax
Definition: libmmgtypes.h:553
MMG5_coquilface
int MMG5_coquilface(MMG5_pMesh mesh, int start, int8_t iface, int ia, int *list, int *it1, int *it2, int silent)
Definition: boulep_3d.c:1783
MMG5_Info::sethmax
int8_t sethmax
Definition: libmmgtypes.h:499
MMG3D_Get_prism
int MMG3D_Get_prism(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *v4, int *v5, int *ref, int *isRequired)
Definition: API_functions_3d.c:749
MG_PARBDY
#define MG_PARBDY
Definition: mmgcommon.h:150
BIG
#define BIG
Definition: chrono.h:47
MMG3D_Get_quadrilaterals
int MMG3D_Get_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs, int *areRequired)
Definition: API_functions_3d.c:1064
A64TH
#define A64TH
Definition: mmgcommon.h:101
MMG5_Info::hgradreq
double hgradreq
Definition: libmmgtypes.h:476
MMG5_Mesh::base
int base
Definition: libmmgtypes.h:564
MMG3D_ALPHAD
#define MMG3D_ALPHAD
Definition: mmg3d.h:119
mytime::gdif
double gdif
Definition: chrono.h:59
mmg3d_free_structures
mmg3d_free_structures
Definition: API_functionsf_3d.c:976
chrono
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
MMG3D_normalAdjaTri
int MMG3D_normalAdjaTri(MMG5_pMesh, int, int8_t, int, double n[3])
Definition: split_3d.c:463
MMG3D_Set_triangle
int MMG3D_Set_triangle(MMG5_pMesh mesh, int v0, int v1, int v2, int ref, int pos)
Definition: API_functions_3d.c:854
MG_VOK
#define MG_VOK(ppt)
Definition: mmgcommon.h:160
MMG3D_loadVtkMesh
int MMG3D_loadVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_inxt2
static const uint8_t MMG5_inxt2[6]
Definition: mmgcommon.h:547
MMG5_det4pt
double MMG5_det4pt(double c0[3], double c1[3], double c2[3], double c3[3])
Definition: tools.c:819
MMG5_fillDefmetregSys
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:287
inlined_functions_3d.h
inlined Functions
MMG5_Mesh::np
int np
Definition: libmmgtypes.h:559
MMG5_Mesh::nsols
int nsols
Definition: libmmgtypes.h:561
MMG5_MMAT_Split
#define MMG5_MMAT_Split
Definition: libmmgtypes.h:194
MMG5_Hash::nxt
int nxt
Definition: libmmgtypes.h:543
MMG5_idirinv
static const int8_t MMG5_idirinv[4][4]
Definition: mmg3d.h:150
MMG5_Info::rmc
double rmc
Definition: libmmgtypes.h:477
MMG3D_movePROctree
int MMG3D_movePROctree(MMG5_pMesh, MMG3D_pPROctree, int, double *, double *)
Definition: PRoctree_3d.c:223
MMG5_MEMMAX
#define MMG5_MEMMAX
Definition: mmgcommon.h:66
MMG3D_IPARAM_optim
@ MMG3D_IPARAM_optim
Definition: libmmg3d.h:77
MMG5_iarf
static const int8_t MMG5_iarf[4][3]
iarf[i]: edges of face opposite to vertex i
Definition: mmg3d.h:152
MMG3D_saveVtkMesh_and_allData
int MMG3D_saveVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG3D_Set_handGivenMesh
void MMG3D_Set_handGivenMesh(MMG5_pMesh mesh)
Definition: API_functions_3d.c:1859
MMG5_Point::ref
int ref
Definition: libmmgtypes.h:247
MMG5_updatemetreq_ani
int MMG5_updatemetreq_ani(double *n, double dn[2], double vp[2][2])
Definition: anisosiz.c:1411
MMG5_xPoint::nnor
int8_t nnor
Definition: libmmgtypes.h:266
mytime::thisProcess
HANDLE thisProcess
Definition: chrono.h:64
MMG3D_Free_allSols
int MMG3D_Free_allSols(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: API_functions_3d.c:2481
MMG5_Par::ref
int ref
Definition: libmmgtypes.h:232
MMG3D_indPt
int MMG3D_indPt(MMG5_pMesh mesh, int kp)
Definition: tools_3d.c:884
mytime::uend
double uend
Definition: chrono.h:59
MMG5_Mesh::xtetra
MMG5_pxTetra xtetra
Definition: libmmgtypes.h:592
MMG5_Mat
To store user-defined references in the mesh (useful in LS mode)
Definition: libmmgtypes.h:464
MMG5_devangle
int MMG5_devangle(double *n1, double *n2, double crit)
Definition: tools.c:50
MMG5_MEMPERCENT
#define MMG5_MEMPERCENT
Definition: mmgcommon.h:68
MMG3D_loadVtuMesh_and_allData
int MMG3D_loadVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG3D_Set_parallelTriangle
int MMG3D_Set_parallelTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1310
MMG5_HGRADREQ
#define MMG5_HGRADREQ
Definition: mmgcommon.h:119
MMG5_grad2met_ani
int(* MMG5_grad2met_ani)(MMG5_pMesh, MMG5_pSol, MMG5_pTria, int, int)
Definition: mmgexterns.c:32
MMG3D_Set_requiredTetrahedra
int MMG3D_Set_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1252
MMG3D_IPARAM_nosurf
@ MMG3D_IPARAM_nosurf
Definition: libmmg3d.h:82
MMG3D_update_xtetra
int MMG3D_update_xtetra(MMG5_pMesh mesh)
Definition: mmg3d2.c:1296
MMG3D_loadVtkMesh_and_allData
int MMG3D_loadVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG3D_Set_quadrilateral
int MMG3D_Set_quadrilateral(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_3d.c:973
MMG5_Tetrahedron
@ MMG5_Tetrahedron
Definition: libmmgtypes.h:216
mytime::stUser
SYSTEMTIME stUser
Definition: chrono.h:66
MMG3D_loadVtuMesh
int MMG3D_loadVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG3D_Set_inputSolName
int MMG3D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_3d.c:68
MMG5_orcal
static double MMG5_orcal(MMG5_pMesh mesh, MMG5_pSol met, int iel)
Definition: inlined_functions_3d.h:262
MMG3D_Unset_requiredVertex
int MMG3D_Unset_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1234
MMG5_EPSOK
#define MMG5_EPSOK
Definition: mmgcommon.h:91
MMG5_Mesh::ne
int ne
Definition: libmmgtypes.h:559
MMG3D_Set_ithSols_inSolsAtVertices
int MMG3D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_3d.c:1803
MMG3D_saveSol
int MMG3D_saveSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:2268
MMG5_Mesh::adja
int * adja
Definition: libmmgtypes.h:572
MMG5_Mesh::nai
int nai
Definition: libmmgtypes.h:559
IEDG
#define IEDG(a, b)
Definition: chkmsh_3d.c:39
MMG3D_saveVtuMesh
int MMG3D_saveVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_Info::noswap
uint8_t noswap
Definition: libmmgtypes.h:500
MMG5_BezierNom
int MMG5_BezierNom(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to)
Definition: tools_3d.c:535
MMG5_Info::hausd
double hausd
Definition: libmmgtypes.h:476
MMG5_Prism::v
int v[6]
Definition: libmmgtypes.h:432
MMG5_Mesh::tria
MMG5_pTria tria
Definition: libmmgtypes.h:595
MMG5_Hash::max
int max
Definition: libmmgtypes.h:543
MMG5_setdhd
int MMG5_setdhd(MMG5_pMesh mesh)
Definition: analys_3d.c:288
MMG5_BezierGeod
double MMG5_BezierGeod(double c1[3], double c2[3], double t1[3], double t2[3])
Definition: bezier_3d.c:111
MMG5_movbdynompt_ani
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
MMG3D_Get_scalarSol
int MMG3D_Get_scalarSol(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1460
MG_CRN
#define MG_CRN
Definition: mmgcommon.h:145
MMG5_Tetra::qual
double qual
Definition: libmmgtypes.h:371
argptr
const int va_list argptr
Definition: API_functionsf_3d.c:977
MMG3D_Set_prism
int MMG3D_Set_prism(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int v4, int v5, int ref, int pos)
Definition: API_functions_3d.c:709
MMG5_hedge::a
int a
Definition: libmmgtypes.h:532
MG_REQ
#define MG_REQ
Definition: mmgcommon.h:142
MMG5_NONSET
#define MMG5_NONSET
Definition: mmgcommon.h:116
MMG5_Init_fileNames
void MMG5_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:126
MMG5_mmgFree_names
void MMG5_mmgFree_names(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions.c:502
MMG3D_IPARAM_numsubdomain
@ MMG3D_IPARAM_numsubdomain
Definition: libmmg3d.h:87
MMG5_Mesh::mark
int mark
Definition: libmmgtypes.h:566
mesh
MMG5_pMesh * mesh
Definition: API_functionsf_3d.c:65
MMG5_BezierEdge
int MMG5_BezierEdge(MMG5_pMesh mesh, int ip0, int ip1, double b0[3], double b1[3], int8_t ised, double v[3])
Definition: bezier_3d.c:152
MMG5_ADD_MEM
#define MMG5_ADD_MEM(mesh, size, message, law)
Definition: mmgcommon.h:290
MMG5_MMAT_NoSplit
#define MMG5_MMAT_NoSplit
Definition: libmmgtypes.h:186
MMG3D_Get_iparameter
int MMG3D_Get_iparameter(MMG5_pMesh mesh, int iparam)
Definition: API_functions_3d.c:2277
MMG5_Mesh::quadra
MMG5_pQuad quadra
Definition: libmmgtypes.h:596
MMG5_norver
int MMG5_norver(MMG5_pMesh mesh)
Definition: analys_3d.c:499
MG_GEO
#define MG_GEO
Definition: mmgcommon.h:141
MMG5_eigenv
int MMG5_eigenv(int symmat, double *mat, double lambda[3], double v[3][3])
Find eigenvalues and vectors of a 3x3 matrix.
Definition: eigenv.c:384
MMG5_bouler
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:277
chrono
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
MMG5_SAFE_RECALLOC
#define MMG5_SAFE_RECALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:341
MMG3D_Get_tetrahedra
int MMG3D_Get_tetrahedra(MMG5_pMesh mesh, int *tetra, int *refs, int *areRequired)
Definition: API_functions_3d.c:685
MMG5_Tetra::flag
int flag
Definition: libmmgtypes.h:378
MMG5_Mesh::npi
int npi
Definition: libmmgtypes.h:559
MMG5_FMT_VtkVtu
@ MMG5_FMT_VtkVtu
Definition: mmgcommon.h:538
MMG5_Info::noinsert
uint8_t noinsert
Definition: libmmgtypes.h:500
MMG3D_Set_tetrahedra
int MMG3D_Set_tetrahedra(MMG5_pMesh mesh, int *tetra, int *refs)
Definition: API_functions_3d.c:628
MMG3D_DPARAM_hmin
@ MMG3D_DPARAM_hmin
Definition: libmmg3d.h:93
MMG5_surftri_ani
double MMG5_surftri_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: anisosiz.c:122
MMG3D_DPARAM_hgradreq
@ MMG3D_DPARAM_hgradreq
Definition: libmmg3d.h:98
MMG5_defmetvol
static int MMG5_defmetvol(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: anisosiz_3d.c:1019
MMG3D_Unset_requiredTriangle
int MMG3D_Unset_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1280
MMG3D_PROctree
Definition: mmg3d.h:207
MMG5_ANGLIM
#define MMG5_ANGLIM
Definition: mmgcommon.h:85
MMG3D_DPARAM_hgrad
@ MMG3D_DPARAM_hgrad
Definition: libmmg3d.h:97
MMG5_Mesh::htab
MMG5_HGeom htab
Definition: libmmgtypes.h:598
MMG5_Set_outputMeshName
int MMG5_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions.c:231
MMG5_Tria::ref
int ref
Definition: libmmgtypes.h:304
chrono.h
MMG3D_IPARAM_numberOfLSBaseReferences
@ MMG3D_IPARAM_numberOfLSBaseReferences
Definition: libmmg3d.h:85
MMG3D_Set_edges
int MMG3D_Set_edges(MMG5_pMesh mesh, int *edges, int *refs)
Definition: API_functions_3d.c:1168
MMG5_Get_entitiesName
const char * MMG5_Get_entitiesName(enum MMG5_entities ent)
Definition: API_functions.c:608
MMG5_Point
Structure to store points of a MMG mesh.
Definition: libmmgtypes.h:241
MMG5_Prism::tag
int8_t tag
Definition: libmmgtypes.h:438
MMG5_NONSET_HMAX
#define MMG5_NONSET_HMAX
Definition: mmgcommon.h:114
MMG5_bdryPerm
int MMG5_bdryPerm(MMG5_pMesh mesh)
Definition: hash_3d.c:2132
MMG5_interpreg_ani
int MMG5_interpreg_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int8_t i, double s, double mr[6])
Definition: intmet.c:498
MMG5_nortri
int MMG5_nortri(MMG5_pMesh mesh, MMG5_pTria pt, double *n)
Definition: tools.c:156
MMG5_Sol::nameout
char * nameout
Definition: libmmgtypes.h:621
MMG3D_updatemetreq_ani
int MMG3D_updatemetreq_ani(double *n, double dn[3], double vp[3][3])
Definition: anisosiz_3d.c:1706
MMG5_FMT_VtkVtp
@ MMG5_FMT_VtkVtp
Definition: mmgcommon.h:539
MMG5_mn
void MMG5_mn(double m[6], double n[6], double mn[9])
Definition: tools.c:171
MMG5_chkBdryTria
int MMG5_chkBdryTria(MMG5_pMesh mesh)
Definition: hash_3d.c:1452
MMG5_caltri_ani
double MMG5_caltri_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: quality.c:115
MMG5_Info::ddebug
int8_t ddebug
Definition: libmmgtypes.h:487
mytime
Chrono object.
Definition: chrono.h:58
MMG5_Edge::b
int b
Definition: libmmgtypes.h:275
MMG5_tet2tri
void MMG5_tet2tri(MMG5_pMesh mesh, int k, int8_t ie, MMG5_Tria *ptt)
Definition: mmg3d1.c:52
mytime::udif
double udif
Definition: chrono.h:59
MMG5_Sol::m
double * m
Definition: libmmgtypes.h:618
MMG3D_DPARAM_rmc
@ MMG3D_DPARAM_rmc
Definition: libmmg3d.h:100
MMG5_mmg3dBezierCP
int MMG5_mmg3dBezierCP(MMG5_pMesh mesh, MMG5_Tria *pt, MMG5_pBezier pb, int8_t ori)
Definition: bezier_3d.c:327
MMG5_boulen
int MMG5_boulen(MMG5_pMesh mesh, int *adjt, int start, int ip, double *nn)
Definition: boulep.c:113
MMG3D_saveMesh
int MMG3D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:1324
mytime::gini
double gini
Definition: chrono.h:59
MMG5_LAG
#define MMG5_LAG
Definition: mmgcommon.h:121
MMG3D_Get_scalarSols
int MMG3D_Get_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1507
MMG3D_Set_tensorSols
int MMG3D_Set_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1701
MMG5_rotmatrix
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:233
MMG5_freeXPrisms
void MMG5_freeXPrisms(MMG5_pMesh mesh)
Definition: zaldy_3d.c:346
MMG5_xTetra::ori
int8_t ori
Definition: libmmgtypes.h:396
MMG3D_Get_edges
int MMG3D_Get_edges(MMG5_pMesh mesh, int *edges, int *refs, int *areRidges, int *areRequired)
Definition: API_functions_3d.c:1185
MMG5_mark_pointsOnReqEdge_fromTria
void MMG5_mark_pointsOnReqEdge_fromTria(MMG5_pMesh mesh)
Definition: isosiz.c:242
MMG5_caltet_ani
static double MMG5_caltet_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: inlined_functions_3d.h:417
MMG5_lenSurfEdg_ani
static double MMG5_lenSurfEdg_ani(MMG5_pMesh mesh, MMG5_pSol met, int np0, int np1, int8_t isedg)
Definition: inlined_functions.h:198
FORTRAN_NAME
FORTRAN_NAME(MMG5_INIT_FILENAMES, mmg5_init_filenames,(MMG5_pMesh *mesh, MMG5_pSol *sol),(mesh, sol))
Definition: API_functionsf.c:47
MMG5_bouletrid
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:935
MMG3D_IPARAM_numberOfMat
@ MMG3D_IPARAM_numberOfMat
Definition: libmmg3d.h:86
MMG5_Compute_constantSize
int MMG5_Compute_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double *hsiz)
Definition: API_functions.c:555
MMG3D_memOption
int MMG3D_memOption(MMG5_pMesh mesh)
Definition: zaldy_3d.c:239
MMG5_HGeom::geom
MMG5_hgeom * geom
Definition: libmmgtypes.h:522
MMG5_iare
static const uint8_t MMG5_iare[6][2]
vertices of extremities of the edges of the tetra
Definition: mmg3d.h:156
MMG5_Quad::v
int v[4]
Definition: libmmgtypes.h:336
MMG5_Get_filenameExt
char * MMG5_Get_filenameExt(char *filename)
Definition: mmg.c:375
MMG5_Info::ls
double ls
Definition: libmmgtypes.h:477
MMG3D_Set_vertex
int MMG3D_Set_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, int ref, int pos)
Definition: API_functions_3d.c:356
MMG5_invmat
int MMG5_invmat(double *m, double *mi)
Definition: tools.c:279
MG_MIN
#define MG_MIN(a, b)
Definition: mmgcommon.h:136
MMG5_Info::npari
int npari
Definition: libmmgtypes.h:478
MMG5_INCREASE_MEM_MESSAGE
#define MMG5_INCREASE_MEM_MESSAGE()
Definition: mmgcommon.h:390
MMG5_compute_meanMetricAtMarkedPoints_ani
int MMG5_compute_meanMetricAtMarkedPoints_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:1685
ddb
int8_t ddb
Definition: mmg3d1_delone.c:41
MMG5_Mesh::na
int na
Definition: libmmgtypes.h:559
MMG3D_Set_requiredTriangles
int MMG3D_Set_requiredTriangles(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1288
MMG3D_DPARAM_hmax
@ MMG3D_DPARAM_hmax
Definition: libmmg3d.h:94
MMG5_boulec
int MMG5_boulec(MMG5_pMesh mesh, int *adjt, int start, int ip, double *tt)
Definition: boulep.c:189
MMG3D_Get_normalAtVertex
int MMG3D_Get_normalAtVertex(MMG5_pMesh mesh, int k, double *n0, double *n1, double *n2)
Definition: API_functions_3d.c:1384
mytime::sini
double sini
Definition: chrono.h:59
FORTRAN_NAME
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
MMG5_FMT_Unknown
@ MMG5_FMT_Unknown
Definition: mmgcommon.h:542
MMG5_Info::hgrad
double hgrad
Definition: libmmgtypes.h:476
MMG3D_Set_localParameter
int MMG3D_Set_localParameter(MMG5_pMesh mesh, MMG5_pSol sol, int typ, int ref, double hmin, double hmax, double hausd)
Definition: API_functions_3d.c:2404
MMG5_Edge::tag
int16_t tag
Definition: libmmgtypes.h:279
MMG5_EPS
#define MMG5_EPS
Definition: eigenv.h:32
MMG5_solveDefmetrefSys
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:536
MMG5_Point::tag
int16_t tag
Definition: libmmgtypes.h:253
MMG5_boulep
int MMG5_boulep(MMG5_pMesh mesh, int start, int ip, int *adja, int *list)
Definition: boulep.c:51
MMG5_xPoint::n1
double n1[3]
Definition: libmmgtypes.h:264
mytime::rutim
LARGE_INTEGER rutim
Definition: chrono.h:68
MMG3D_Get_edge
int MMG3D_Get_edge(MMG5_pMesh mesh, int *e0, int *e1, int *ref, int *isRidge, int *isRequired)
Definition: API_functions_3d.c:1122
MMG5_Get_typeName
const char * MMG5_Get_typeName(enum MMG5_type typ)
Definition: API_functions.c:631
MMG5_Tria
Definition: libmmgtypes.h:301
MMG3D_chk4ridVertices
int MMG3D_chk4ridVertices(MMG5_pMesh mesh, MMG5_pTetra pt)
Definition: anisosiz_3d.c:39
MMG5_NONSET_MEM
#define MMG5_NONSET_MEM
Definition: mmgcommon.h:112
MMG3D_Get_tensorSols
int MMG3D_Get_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1727
MG_NOSURF
#define MG_NOSURF
Definition: mmgcommon.h:146
MMG5_cntbdypt
int MMG5_cntbdypt(MMG5_pMesh mesh, int nump)
Definition: chkmsh_3d.c:363
MMG5_Bezier
Definition: mmgcommon.h:557
MMG5_hedge
Used to hash edges (memory economy compared to MMG5_hgeom).
Definition: libmmgtypes.h:531
MMG5_movbdyridpt_ani
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
MG_Tria
#define MG_Tria
Definition: mmgcommon.h:155
MMG5_eigensym
int MMG5_eigensym(double m[3], double lambda[2], double vp[2][2])
Definition: eigenv.c:797
MMG3D_saveVtkMesh
int MMG3D_saveVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_defmetreg
static int MMG5_defmetreg(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:795
MMG5_BezierRidge
int MMG5_BezierRidge(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no1, double *no2, double *to)
Definition: tools_3d.c:160
MMG5_Mat::dospl
int8_t dospl
Definition: libmmgtypes.h:465
MMG5_Sol::ver
int ver
Definition: libmmgtypes.h:611
MMG5_Mesh::nquad
int nquad
Definition: libmmgtypes.h:560
MMG3D_loadMshMesh_and_allData
int MMG3D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:1257
MMG5_Info::nosurf
uint8_t nosurf
Definition: libmmgtypes.h:500
MG_NUL
#define MG_NUL
Definition: mmgcommon.h:151
MMG5_Quad::ref
int ref
Definition: libmmgtypes.h:337
MMG5_Info::mat
MMG5_pMat mat
Definition: libmmgtypes.h:502
MMG5_Info::mem
int mem
Definition: libmmgtypes.h:478
MMG5_Sol::type
int type
Definition: libmmgtypes.h:617
MMG5_memSize
size_t MMG5_memSize(void)
Definition: tools.c:547
MMG5_Tria::base
int base
Definition: libmmgtypes.h:305
MMG3D_IPARAM_octree
@ MMG3D_IPARAM_octree
Definition: libmmg3d.h:90
mytime::uini
double uini
Definition: chrono.h:59
MMG5_Notype
@ MMG5_Notype
Definition: libmmgtypes.h:201
MMG5_grad2metSurfreq
int MMG5_grad2metSurfreq(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int npmaster, int npslave)
Definition: anisosiz.c:1448
MMG5_solveDefmetregSys
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:433
MMG5_Info::nsd
int nsd
Definition: libmmgtypes.h:485
MMG5_Set_inputMeshName
int MMG5_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions.c:147
MMG3D_saveMshMesh
int MMG3D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:2094
MMG5_movbdyrefpt_ani
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_Mesh::xpoint
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:590
MMG5_lenSurfEdg
double(* MMG5_lenSurfEdg)(MMG5_pMesh mesh, MMG5_pSol sol, int, int, int8_t)
Definition: mmgexterns.c:29
MMG5_Info::nmati
int nmati
Definition: libmmgtypes.h:483
MMG5_grad2metVol
static int MMG5_grad2metVol(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt, int np1, int np2)
Definition: anisosiz_3d.c:1377
MMG5_det3pt1vec
double MMG5_det3pt1vec(double c0[3], double c1[3], double c2[3], double v[3])
Definition: tools.c:807
MMG3D_Get_meshSize
int MMG3D_Get_meshSize(MMG5_pMesh mesh, int *np, int *ne, int *nprism, int *nt, int *nquad, int *na)
Definition: API_functions_3d.c:337
MMG5_ATHIRD
#define MMG5_ATHIRD
Definition: mmgcommon.h:86
MMG5_mmgIntextmet
int MMG5_mmgIntextmet(MMG5_pMesh mesh, MMG5_pSol met, int np, double me[6], double n[3])
Definition: mettools.c:443
MMG5_srcbdy
int MMG5_srcbdy(MMG5_pMesh mesh, int start, int ia)
Definition: boulep_3d.c:1500
MMG5_Mesh::npnil
int npnil
Definition: libmmgtypes.h:569
tminit
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
printim
void printim(double elps, char *stim)
Print real time.
Definition: chrono.c:149
MMG5_chkfemtopo
int MMG5_chkfemtopo(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:411
MMG5_cenrad_ani
int MMG5_cenrad_ani(MMG5_pMesh mesh, double *ct, double *m, double *c, double *rad)
Definition: cenrad_3d.c:142
MMG3D_Set_edge
int MMG3D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref, int pos)
Definition: API_functions_3d.c:1090
MMG3D_Set_quadrilaterals
int MMG3D_Set_quadrilaterals(MMG5_pMesh mesh, int *quads, int *refs)
Definition: API_functions_3d.c:1046
MMG3D_Set_vectorSols
int MMG3D_Set_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1585
MMG3D_indElt
int MMG3D_indElt(MMG5_pMesh mesh, int kel)
Definition: tools_3d.c:868
MMG5_Point::xp
int xp
Definition: libmmgtypes.h:248
MMG3D_Init_mesh
int MMG3D_Init_mesh(const int starter,...)
Definition: API_functions_3d.c:44
MMG3D_Set_outputSolName
int MMG3D_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions_3d.c:77
MMG5_Mesh::tetra
MMG5_pTetra tetra
Definition: libmmgtypes.h:591
MMG3D_Set_requiredTriangle
int MMG3D_Set_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1272
MMG5_xTetra
Structure to store the surface tetrahedra of a MMG mesh.
Definition: libmmgtypes.h:387
MMG5_EPSD2
#define MMG5_EPSD2
Definition: mmgcommon.h:89
MMG5_Tensor
@ MMG5_Tensor
Definition: libmmgtypes.h:204
MMG3D_Free_names
int MMG3D_Free_names(const int starter,...)
Definition: API_functions_3d.c:2514
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
MMG3D_Get_triangles
int MMG3D_Get_triangles(MMG5_pMesh mesh, int *tria, int *refs, int *areRequired)
Definition: API_functions_3d.c:948
MMG3D_coquilFaceFirstLoop
int MMG3D_coquilFaceFirstLoop(MMG5_pMesh mesh, int start, int na, int nb, int8_t iface, int8_t ia, int *list, int *ilist, int *it1, int *it2, int *piv, int *adj, int8_t *hasadja, int *nbdy, int silent)
Definition: boulep_3d.c:1632
MMG5_FMT_VtkVtk
@ MMG5_FMT_VtkVtk
Definition: mmgcommon.h:540
MMG5_ridSizeInNormalDir
double MMG5_ridSizeInNormalDir(MMG5_pMesh mesh, int i0, double *bcu, MMG5_Bezier *b, double isqhmin, double isqhmax)
Definition: anisosiz.c:781
mmgcommon.h
MMG5_Set_constantSize
void MMG5_Set_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double hsiz)
Definition: API_functions.c:393
MMG5_inxt3
static const uint8_t MMG5_inxt3[7]
next vertex of tetra: {1,2,3,0,1,2,3}
Definition: mmg3d.h:144
MMG5_Mat::ref
int ref
Definition: libmmgtypes.h:466
MMG5_Info::renum
int renum
Definition: libmmgtypes.h:481
MMG5_SAFE_REALLOC
#define MMG5_SAFE_REALLOC(ptr, prevSize, newSize, type, message, law)
Definition: mmgcommon.h:325
MMG5_Info::dhd
double dhd
Definition: libmmgtypes.h:476
BIG1
#define BIG1
Definition: chrono.h:48
MMG3D_Set_vectorSol
int MMG3D_Set_vectorSol(MMG5_pSol met, double vx, double vy, double vz, int pos)
Definition: API_functions_3d.c:1516
MMG5_Set_inputSolName
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:183
A32TH
#define A32TH
Definition: mmgcommon.h:103
MMG3D_Set_scalarSol
int MMG3D_Set_scalarSol(MMG5_pSol met, double s, int pos)
Definition: API_functions_3d.c:1426
MMG5_setadj
int MMG5_setadj(MMG5_pMesh mesh)
Definition: analys_3d.c:96
tminit
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
MMG3D_Add_vertex
int MMG3D_Add_vertex(MMG5_pMesh mesh, double c0, double c1, double c2, int ref)
Definition: API_functions_3d.c:2072
MMG5_Free_allSols
int MMG5_Free_allSols(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: API_functions.c:438
MMG5_Sol::dim
int dim
Definition: libmmgtypes.h:612
MMG5_Quad::tag
int16_t tag[4]
Definition: libmmgtypes.h:341
A16TH
#define A16TH
Definition: mmgcommon.h:102
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_KB
#define MMG5_KB
Definition: mmgcommon.h:173
MMG5_Info::optim
uint8_t optim
Definition: libmmgtypes.h:500
MMG3D_Free_structures
int MMG3D_Free_structures(const int starter,...)
Definition: API_functions_3d.c:2500
MMG5_Quad
Definition: libmmgtypes.h:335
MG_RID
#define MG_RID(tag)
Definition: mmgcommon.h:165
MMG5_bdrySet
int MMG5_bdrySet(MMG5_pMesh mesh)
Definition: hash_3d.c:1757
MMG5_BezierTgt
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
MMG5_ifar
static const uint8_t MMG5_ifar[6][2]
ifar[i][]: faces sharing the ith edge of the tetra
Definition: mmg3d.h:158
MMG5_caltri
double(* MMG5_caltri)(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: mmg3dexterns.c:8
MMG5_Mesh::nt
int nt
Definition: libmmgtypes.h:559
MG_Tetra
#define MG_Tetra
Definition: mmgcommon.h:156
MMG5_LS
#define MMG5_LS
Definition: mmgcommon.h:123
MMG5_Hash::item
MMG5_hedge * item
Definition: libmmgtypes.h:544
MMG3D_Set_solSize
int MMG3D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_3d.c:110
MMG5_boulesurfvolpNom
int MMG5_boulesurfvolpNom(MMG5_pMesh mesh, int start, int ip, int iface, int *listv, int *ilistv, int *lists, int *ilists, int *refmin, int *refplus, int isnm)
Definition: boulep_3d.c:755
MMG3D_VOLFRAC
#define MMG3D_VOLFRAC
Definition: mmg3d.h:141
MMG3D_saveMshMesh_and_allData
int MMG3D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2099
MG_OPNBDY
#define MG_OPNBDY
Definition: mmgcommon.h:147
MMG5_Par::hausd
double hausd
Definition: libmmgtypes.h:231
MMG5_Mesh
MMG mesh structure.
Definition: libmmgtypes.h:552
MMG5_Hash::siz
int siz
Definition: libmmgtypes.h:543
MMG5_Get_format
int MMG5_Get_format(char *ptr, int fmt)
Definition: mmg.c:508
mmg3d_init_parameters
mmg3d_init_parameters
Definition: API_functionsf_3d.c:65
MMG3D_newPt
int MMG3D_newPt(MMG5_pMesh mesh, double c[3], int16_t tag, int src)
Definition: zaldy_3d.c:39
MMG5_bezierEdge
void MMG5_bezierEdge(MMG5_pMesh mesh, int i0, int i1, double b0[3], double b1[3], int8_t isrid, double v[3])
Definition: bezier.c:51
MMG3D_hashPrism
int MMG3D_hashPrism(MMG5_pMesh mesh)
Definition: hash_3d.c:297
MMG5_HMINCOE
#define MMG5_HMINCOE
Definition: mmgcommon.h:128
MMG5_Info::par
MMG5_pPar par
Definition: libmmgtypes.h:475
MMG5_idir
static const uint8_t MMG5_idir[4][3]
idir[i]: vertices of face opposite to vertex i
Definition: mmg3d.h:148
MMG3D_IPARAM_debug
@ MMG3D_IPARAM_debug
Definition: libmmg3d.h:71
MMG3D_caltetLES_iso
static double MMG3D_caltetLES_iso(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: inlined_functions_3d.h:283
MMG5_xPoint::n2
double n2[3]
Definition: libmmgtypes.h:264
MMG5_Info::nosizreq
uint8_t nosizreq
Definition: libmmgtypes.h:500
va_start
va_start(argptr, starter)
MMG5_elementWeight
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
MMG5_xPoint
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:263
MMG3D_Unset_requiredEdge
int MMG3D_Unset_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1366
MMG5_Sol::npmax
int npmax
Definition: libmmgtypes.h:614
MMG5_Edg
@ MMG5_Edg
Definition: libmmgtypes.h:214
MMG5_hGeom
int MMG5_hGeom(MMG5_pMesh mesh)
Definition: hash_3d.c:1047
MMG5_regnor
int MMG5_regnor(MMG5_pMesh mesh)
Definition: analys.c:46
MMG5_Tria::flag
int flag
Definition: libmmgtypes.h:310
MMG5_LMAX
#define MMG5_LMAX
Definition: mmgcommon.h:107
MMG5_Mesh::ver
int ver
Definition: libmmgtypes.h:556
MMG5_caltet33_ani
double MMG5_caltet33_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: quality_3d.c:95
MMG5_Info::iso
int8_t iso
Definition: libmmgtypes.h:489
mytime::stSys
SYSTEMTIME stSys
Definition: chrono.h:66
MMG5_Info::hmax
double hmax
Definition: libmmgtypes.h:476
MMG5_Prism::ref
int ref
Definition: libmmgtypes.h:433
MMG5_Par
Definition: libmmgtypes.h:228
MMG5_Mesh::namein
char * namein
Definition: libmmgtypes.h:600
MMG5_Mesh::nei
int nei
Definition: libmmgtypes.h:559
MMG3D_loadSol
int MMG3D_loadSol(MMG5_pMesh mesh, MMG5_pSol met, const char *filename)
Definition: inout_3d.c:2104
MMG5_Info::sethmin
int8_t sethmin
Definition: libmmgtypes.h:498
MMG5_Info::PROctree
int PROctree
Definition: libmmgtypes.h:482
MMG3D_IPARAM_iso
@ MMG3D_IPARAM_iso
Definition: libmmg3d.h:73
MMG5_Mesh::info
MMG5_Info info
Definition: libmmgtypes.h:599
MMG5_defmetref
static int MMG5_defmetref(MMG5_pMesh mesh, MMG5_pSol met, int kel, int iface, int ip)
Definition: anisosiz_3d.c:529
MMG3D_IPARAM_nomove
@ MMG3D_IPARAM_nomove
Definition: libmmg3d.h:81
MMG5_BezierRef
int MMG5_BezierRef(MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to)
Definition: tools_3d.c:362
MMG3D_DPARAM_hausd
@ MMG3D_DPARAM_hausd
Definition: libmmg3d.h:96
MMG5_gradsizreq_ani
int MMG5_gradsizreq_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:1801
MMG3D_Unset_parallelTriangles
int MMG3D_Unset_parallelTriangles(MMG5_pMesh mesh, int *parIdx, int npar)
Definition: API_functions_3d.c:1337
MMG5_Point::flag
int flag
Definition: libmmgtypes.h:251
MMG5_Mesh::adjapr
int * adjapr
Definition: libmmgtypes.h:580
MMG5_Edge::a
int a
Definition: libmmgtypes.h:275
MMG3D_Free_all
int MMG3D_Free_all(const int starter,...)
Definition: API_functions_3d.c:2486
MMG5_Par::elt
int8_t elt
Definition: libmmgtypes.h:233
MMG3D_Set_scalarSols
int MMG3D_Set_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_3d.c:1490
MMG5_Mesh::npmax
int npmax
Definition: libmmgtypes.h:559
MMG3D_Set_ithSol_inSolsAtVertices
int MMG3D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_3d.c:1746
MMG3D_DPARAM_hsiz
@ MMG3D_DPARAM_hsiz
Definition: libmmg3d.h:95
MMG3D_set_reqBoundaries
void MMG3D_set_reqBoundaries(MMG5_pMesh mesh)
Definition: analys_3d.c:45
mmg3dexterns.h
mytime::call
int call
Definition: chrono.h:70
MMG3D_set_metricAtPointsOnReqEdges
int MMG3D_set_metricAtPointsOnReqEdges(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: isosiz_3d.c:544
MMG5_chkVertexConnectedDomains
int MMG5_chkVertexConnectedDomains(MMG5_pMesh mesh)
Definition: analys_3d.c:355
MMG5_rmtr
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:199
MMG3D_Get_vertices
int MMG3D_Get_vertices(MMG5_pMesh mesh, double *vertices, int *refs, int *areCorners, int *areRequired)
Definition: API_functions_3d.c:479
MMG5_openCoquilTravel
int16_t MMG5_openCoquilTravel(MMG5_pMesh mesh, int na, int nb, int *adj, int *piv, int8_t *iface, int8_t *i)
Definition: boulep_3d.c:1944
MMG5_surf
static double MMG5_surf(MMG5_pMesh mesh, double m[3][6], MMG5_pTria ptt)
Definition: anisosiz.c:48
MMG3D_saveVtuMesh_and_allData
int MMG3D_saveVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG3D_hashTria
int MMG3D_hashTria(MMG5_pMesh mesh, MMG5_Hash *hash)
Definition: hash_3d.c:779
MG_ISO
#define MG_ISO
Definition: libmmgtypes.h:65
MMG5_Tetra::ref
int ref
Definition: libmmgtypes.h:373
retval
MMG5_pMesh char int int * retval
Definition: API_functionsf_3d.c:1015
MMG3D_IPARAM_verbose
@ MMG3D_IPARAM_verbose
Definition: libmmg3d.h:69
MMG3D_nmgeom
int MMG3D_nmgeom(MMG5_pMesh mesh)
Definition: analys_3d.c:671
MMG5_Mesh::nti
int nti
Definition: libmmgtypes.h:559
tmp
tmp[*strlen0]
Definition: API_functionsf_3d.c:1021
MMG3D_Set_corner
int MMG3D_Set_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1215
MMG5_Info
Store input parameters of the run.
Definition: libmmgtypes.h:474
MMG3D_IPARAM_anisosize
@ MMG3D_IPARAM_anisosize
Definition: libmmg3d.h:89
MMG5_Tetra::tag
int16_t tag
Definition: libmmgtypes.h:379
MMG3D_Get_vectorSol
int MMG3D_Get_vectorSol(MMG5_pSol met, double *vx, double *vy, double *vz)
Definition: API_functions_3d.c:1553
MMG3D_IPARAM_noswap
@ MMG3D_IPARAM_noswap
Definition: libmmg3d.h:80
MMG3D_Set_solsAtVerticesSize
int MMG3D_Set_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int nsols, int nentities, int *typSol)
Definition: API_functions_3d.c:155
MMG5_chkptonbdy
int MMG5_chkptonbdy(MMG5_pMesh mesh, int np)
Definition: chkmsh_3d.c:301
MMG5_coquilTravel
int16_t MMG5_coquilTravel(MMG5_pMesh mesh, int na, int nb, int *adj, int *piv, int8_t *iface, int8_t *i)
Definition: boulep_3d.c:1892
MMG5_coquilFaceErrorMessage
void MMG5_coquilFaceErrorMessage(MMG5_pMesh mesh, int k1, int k2)
Definition: boulep_3d.c:1559
MMG5_Mesh::nameout
char * nameout
Definition: libmmgtypes.h:601
MMG5_intridmet
int MMG5_intridmet(MMG5_pMesh mesh, MMG5_pSol met, int ip1, int ip2, double s, double v[3], double mr[6])
Definition: intmet.c:162
mmg3d.h
MMG5_xTetra::edg
int edg[6]
Definition: libmmgtypes.h:390
MMG5_Bezier::p
MMG5_pPoint p[3]
Definition: mmgcommon.h:561
MMG3D_Set_triangles
int MMG3D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs)
Definition: API_functions_3d.c:930
mytime::gend
double gend
Definition: chrono.h:59
MMG5_SAFE_CALLOC
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:304
MMG5_norpts
int MMG5_norpts(MMG5_pMesh, int, int, int, double *)
Definition: tools.c:130
MMG5_boulevolp
int MMG5_boulevolp(MMG5_pMesh mesh, int start, int ip, int *list)
Definition: boulep_3d.c:53
MMG5_NONSET_HMIN
#define MMG5_NONSET_HMIN
Definition: mmgcommon.h:113
MMG5_Info::nreg
int8_t nreg
Definition: libmmgtypes.h:486
MMG3D_Get_vertex
int MMG3D_Get_vertex(MMG5_pMesh mesh, double *c0, double *c1, double *c2, int *ref, int *isCorner, int *isRequired)
Definition: API_functions_3d.c:392
MMG5_Scalar
@ MMG5_Scalar
Definition: libmmgtypes.h:202
MMG5_TAB_RECALLOC
#define MMG5_TAB_RECALLOC(mesh, ptr, initSize, wantedGap, type, message, law)
Definition: mmgcommon.h:364
MMG3D_Free_structures_var
int MMG3D_Free_structures_var(va_list argptr)
Definition: variadic_3d.c:459
FORTRAN_VARIADIC
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
MMG5_DEL_MEM
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:281
MMG3D_gradsizreq_ani
int MMG3D_gradsizreq_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_3d.c:2025
MMG3D_Set_dparameter
int MMG3D_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val)
Definition: API_functions_3d.c:2341
MMG3D_loadMshMesh
int MMG3D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_3d.c:1201
MMG5_Mesh::edge
MMG5_pEdge edge
Definition: libmmgtypes.h:597
MMG3D_setMeshSize_alloc
int MMG3D_setMeshSize_alloc(MMG5_pMesh)
Definition: zaldy_3d.c:256
ier
int ier
Definition: API_functionsf_3d.c:979
MMG3D_Unset_requiredTetrahedron
int MMG3D_Unset_requiredTetrahedron(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1246
strncpy
strncpy(tmp, filename, *strlen0)
MMG5_gradEigenvreq
void MMG5_gradEigenvreq(double *dm, double *dn, double difsiz, int8_t dir, int8_t *ier)
Definition: anisosiz.c:1380
MMG5_caltet_iso
static double MMG5_caltet_iso(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: inlined_functions_3d.h:387
mytime::ftIni
FILETIME ftIni
Definition: chrono.h:65
MMG3D_Set_requiredVertex
int MMG3D_Set_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1227
MMG5_ANGEDG
#define MMG5_ANGEDG
Definition: mmgcommon.h:84
MMG3D_Set_requiredEdge
int MMG3D_Set_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_3d.c:1360
MMG3D_IPARAM_lag
@ MMG3D_IPARAM_lag
Definition: libmmg3d.h:76
MMG5_chkmshsurf
int MMG5_chkmshsurf(MMG5_pMesh mesh)
Definition: chkmsh_3d.c:75
MMG5_Info::lag
int8_t lag
Definition: libmmgtypes.h:494
MMG5_GAP
#define MMG5_GAP
Definition: mmgcommon.h:127
MMG3D_Get_ithSol_inSolsAtVertices
int MMG3D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_3d.c:1773
MMG3D_IPARAM_nosizreq
@ MMG3D_IPARAM_nosizreq
Definition: libmmg3d.h:91
MMG5_buildridmetfic
int MMG5_buildridmetfic(MMG5_pMesh mesh, double t[3], double n[3], double dtan, double dv, double dn, double m[6])
Definition: mettools.c:52
MMG5_Mesh::gap
double gap
Definition: libmmgtypes.h:555
MMG5_Prism
Definition: libmmgtypes.h:431
MMG3D_Get_tetrahedronQuality
double MMG3D_Get_tetrahedronQuality(MMG5_pMesh mesh, MMG5_pSol met, int k)
Definition: API_functions_3d.c:1394
MMG5_FMT_GmshBinary
@ MMG5_FMT_GmshBinary
Definition: mmgcommon.h:535
MMG5_type
MMG5_type
Type of solutions.
Definition: libmmgtypes.h:200
MMG5_caltet
double(* MMG5_caltet)(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
Definition: mmg3dexterns.c:7
MMG5_Info::setfem
int8_t setfem
Definition: libmmgtypes.h:490
MMG5_xTetra::ref
int ref[4]
Definition: libmmgtypes.h:388
MMG3D_intextmet
static int MMG3D_intextmet(MMG5_pMesh mesh, MMG5_pSol met, int np, double me[6])
Definition: anisosiz_3d.c:1217
mytime::ftEnd
FILETIME ftEnd
Definition: chrono.h:65
MMG3D_Set_vertices
int MMG3D_Set_vertices(MMG5_pMesh mesh, double *vertices, int *refs)
Definition: API_functions_3d.c:452
MMG3D_IPARAM_opnbdy
@ MMG3D_IPARAM_opnbdy
Definition: libmmg3d.h:75
MMG5_Mesh::adjt
int * adjt
Definition: libmmgtypes.h:576
MMG5_Info::nbr
int nbr
Definition: libmmgtypes.h:479
MMG5_Set_outputSolName
int MMG5_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions.c:346
MMG5_Free_structures
void MMG5_Free_structures(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:460
MMG5_coquil
int MMG5_coquil(MMG5_pMesh mesh, int start, int ia, int *list)
Definition: boulep_3d.c:1362
MMG3D_coquilFaceSecondLoopInit
void MMG3D_coquilFaceSecondLoopInit(MMG5_pMesh mesh, int piv, int8_t *iface, int8_t *ia, int *list, int *ilist, int *it1, int *pradj, int *adj)
Definition: boulep_3d.c:1727
MMG3D_IPARAM_angle
@ MMG3D_IPARAM_angle
Definition: libmmg3d.h:72
mytime::frequency
LARGE_INTEGER frequency
Definition: chrono.h:67
MMG5_Info::hsiz
double hsiz
Definition: libmmgtypes.h:476
MMG3D_Init_parameters
void MMG3D_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions_3d.c:81
if
if(!ier) exit(EXIT_FAILURE)
MMG3D_Get_solsAtVerticesSize
int MMG3D_Get_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int *nsols, int *np, int *typSol)
Definition: API_functions_3d.c:308
MMG3D_Free_names_var
int MMG3D_Free_names_var(va_list argptr)
Definition: variadic_3d.c:557
MMG5_Mesh::ntmax
int ntmax
Definition: libmmgtypes.h:559
MMG5_Point::tmp
int tmp
Definition: libmmgtypes.h:249
mytime::ftSys
FILETIME ftSys
Definition: chrono.h:65
MMG3D_Set_tensorSol
int MMG3D_Set_tensorSol(MMG5_pSol met, double m11, double m12, double m13, double m22, double m23, double m33, int pos)
Definition: API_functions_3d.c:1623
MMG5_setNmTag
int MMG5_setNmTag(MMG5_pMesh mesh, MMG5_Hash *hash)
Definition: hash_3d.c:757
filename
MMG5_pMesh char * filename
Definition: API_functionsf_3d.c:1015
MMG5_norface
int MMG5_norface(MMG5_pMesh mesh, int k, int iface, double v[3])
Definition: tools_3d.c:69
MMG3D_saveTetgenMesh
int MMG3D_saveTetgenMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_3d.c:2568
MMG3D_Set_inputMeshName
int MMG3D_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions_3d.c:63
MMG5_Info::br
int * br
Definition: libmmgtypes.h:479
MMG3D_TETRA_REALLOC
#define MMG3D_TETRA_REALLOC(mesh, jel, wantedGap, law)
Definition: mmg3d.h:93
MMG3D_IPARAM_nofem
@ MMG3D_IPARAM_nofem
Definition: libmmg3d.h:74
va_end
va_end(argptr)
MMG3D_Set_tetrahedron
int MMG3D_Set_tetrahedron(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_3d.c:515
MMG5_Mesh::nemax
int nemax
Definition: libmmgtypes.h:559
starter
const int starter
Definition: API_functionsf_3d.c:977
MMG5_ON
#define MMG5_ON
Definition: mmgcommon.h:126
MMG5_EPSD
#define MMG5_EPSD
Definition: eigenv.h:31
MMG5_Info::metRidTyp
uint8_t metRidTyp
Definition: libmmgtypes.h:501
MMG5_Mesh::dim
int dim
Definition: libmmgtypes.h:557
MMG5_Tetra::xt
int xt
Definition: libmmgtypes.h:376
MMG5_Set_defaultTruncatureSizes
int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh, int8_t sethmin, int8_t sethmax)
Definition: API_functions.c:526
MMG5_Vertex
@ MMG5_Vertex
Definition: libmmgtypes.h:213
MMG3D_DPARAM_ls
@ MMG3D_DPARAM_ls
Definition: libmmg3d.h:99
MMG3D_Set_outputMeshName
int MMG3D_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions_3d.c:72
MMG5_SAFE_FREE
MMG5_SAFE_FREE(tmp)
MMG5_movbdyregpt_ani
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
MMG3D_Get_vectorSols
int MMG3D_Get_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_3d.c:1608
MMG3D_Set_normalAtVertex
int MMG3D_Set_normalAtVertex(MMG5_pMesh mesh, int k, double n0, double n1, double n2)
Definition: API_functions_3d.c:1372
mytime::send
double send
Definition: chrono.h:59
printim
void printim(double, char *)
Print real time.
Definition: chrono.c:149
MMG5_Sol::npi
int npi
Definition: libmmgtypes.h:615
MMG3D_loadAllSols
int MMG3D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_3d.c:2170
MMG3D_findEdge
int MMG3D_findEdge(MMG5_pMesh mesh, MMG5_pTetra pt, int k, int na, int nb, int error, int8_t *mmgWarn, int8_t *ia)
Definition: boulep_3d.c:110
MMG3D_Get_ithSols_inSolsAtVertices
int MMG3D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_3d.c:1831
MMG3D_LMAX
#define MMG3D_LMAX
Definition: libmmg3d.h:57
MMG3D_IPARAM_renum
@ MMG3D_IPARAM_renum
Definition: libmmg3d.h:88
mytime::ftUser
FILETIME ftUser
Definition: chrono.h:65
MMG5_Tetra::v
int v[4]
Definition: libmmgtypes.h:372
MMG5_Info::parTyp
int8_t parTyp
Definition: libmmgtypes.h:495
MMG5_Point::n
double n[3]
Definition: libmmgtypes.h:243
MMG3D_Init_fileNames
void MMG3D_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions_3d.c:56
MMG3D_Unset_requiredTetrahedra
int MMG3D_Unset_requiredTetrahedra(MMG5_pMesh mesh, int *reqIdx, int nreq)
Definition: API_functions_3d.c:1262