mmg2d
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_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
MMG5_defsiz_startingMessage
int MMG5_defsiz_startingMessage(MMG5_pMesh mesh, MMG5_pSol met, const char *funcname)
Definition: isosiz.c:77
MMG2D_hashTria
int MMG2D_hashTria(MMG5_pMesh mesh)
Definition: hash_2d.c:35
MMG5_Edge
Structure to store edges of a MMG mesh.
Definition: libmmgtypes.h:274
MMG5_Vector
@ MMG5_Vector
Definition: libmmgtypes.h:203
MMG5_NONSET_HSIZ
#define MMG5_NONSET_HSIZ
Definition: mmgcommon.h:115
MMG2D_Unset_corner
int MMG2D_Unset_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:644
MMG5_Par::hmax
double hmax
Definition: libmmgtypes.h:230
MMG2D_IPARAM_angle
@ MMG2D_IPARAM_angle
Definition: libmmg2d.h:61
MMG2D_Get_edges
int MMG2D_Get_edges(MMG5_pMesh mesh, int *edges, int *refs, int *areRidges, int *areRequired)
Definition: API_functions_2d.c:1298
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
MMG5_intersecmet22
int MMG5_intersecmet22(MMG5_pMesh mesh, double *m, double *n, double *mr)
Definition: mettools.c:254
MMG2D_Set_triangles
int MMG2D_Set_triangles(MMG5_pMesh mesh, int *tria, int *refs)
Definition: API_functions_2d.c:931
MMG5_HGRAD
#define MMG5_HGRAD
Definition: mmgcommon.h:118
MMG2D_IPARAM_debug
@ MMG2D_IPARAM_debug
Definition: libmmg2d.h:60
MMG5_Sol::np
int np
Definition: libmmgtypes.h:613
MMG5_Point::c
double c[3]
Definition: libmmgtypes.h:242
MG_Edge
#define MG_Edge
Definition: mmgcommon.h:157
MMG2D_loadVtpMesh
int MMG2D_loadVtpMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
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
MMG2D_Set_scalarSols
int MMG2D_Set_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_2d.c:1413
MMG2D_indElt
int MMG2D_indElt(MMG5_pMesh mesh, int kel)
Definition: tools_2d.c:45
MG_MAX
#define MG_MAX(a, b)
Definition: mmgcommon.h:135
MMG2D_hashQuad
int MMG2D_hashQuad(MMG5_pMesh mesh)
Definition: hash_2d.c:151
MMG2D_memOption
int MMG2D_memOption(MMG5_pMesh mesh)
Definition: zaldy_2d.c:218
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
MMG5_Tria::v
int v[3]
Definition: libmmgtypes.h:303
MMG2D_Free_names_var
int MMG2D_Free_names_var(va_list argptr)
Definition: variadic_2d.c:492
MMG2D_Get_triangleQuality
double MMG2D_Get_triangleQuality(MMG5_pMesh mesh, MMG5_pSol met, int k)
Definition: API_functions_2d.c:1328
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
MG_SIN
#define MG_SIN(tag)
Definition: mmgcommon.h:164
MMG2D_chkmsh
int MMG2D_chkmsh(MMG5_pMesh mesh)
Definition: chkmsh_2d.c:204
MMG2D_Set_outputSolName
int MMG2D_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions_2d.c:77
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_defUninitSize
void MMG5_defUninitSize(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: anisosiz.c:225
MMG5_FMT_MeditASCII
@ MMG5_FMT_MeditASCII
Definition: mmgcommon.h:532
MMG5_Point::s
int s
Definition: libmmgtypes.h:252
MMG5_SAFE_MALLOC
MMG5_SAFE_MALLOC(tmp, *strlen0+1, char, return)
MMG2D_saveAllSols
int MMG2D_saveAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:1538
MMG5_Edge::ref
int ref
Definition: libmmgtypes.h:276
MMG2D_regnor
int MMG2D_regnor(MMG5_pMesh mesh)
Definition: analys_2d.c:505
MMG5_Triangle
@ MMG5_Triangle
Definition: libmmgtypes.h:215
MMG5_Tria::cc
int cc
Definition: libmmgtypes.h:306
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_2d.c:765
MMG2D_Set_vectorSol
int MMG2D_Set_vectorSol(MMG5_pSol met, double vx, double vy, int pos)
Definition: API_functions_2d.c:1439
MG_EOK
#define MG_EOK(pt)
Definition: mmgcommon.h:161
MMG2D_Get_vectorSols
int MMG2D_Get_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1533
MMG5_BITWIZE_MB_TO_B
#define MMG5_BITWIZE_MB_TO_B
Definition: mmgcommon.h:67
MMG5_Mat::rex
int rex
Definition: libmmgtypes.h:466
MMG2D_IPARAM_nosizreq
@ MMG2D_IPARAM_nosizreq
Definition: libmmg2d.h:76
mytime::sdif
double sdif
Definition: chrono.h:59
mmg2dexterns.h
MMG2D_IPARAM_opnbdy
@ MMG2D_IPARAM_opnbdy
Definition: libmmg2d.h:63
MG_NOM
#define MG_NOM
Definition: mmgcommon.h:143
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
MMG2D_set_metricAtPointsOnReqEdges
int MMG2D_set_metricAtPointsOnReqEdges(MMG5_pMesh mesh, MMG5_pSol met, int8_t ismet)
Definition: isosiz_2d.c:75
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
MMG2D_updatemet_ani
static int MMG2D_updatemet_ani(double *m, double *n, double dm[2], double dn[2], double vp[2][2], int8_t ier)
Definition: anisosiz_2d.c:531
MMG2D_defsiz_ani
int MMG2D_defsiz_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz_2d.c:360
MMG2D_loadVtkMesh
int MMG2D_loadVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_Mat::rin
int rin
Definition: libmmgtypes.h:466
MMG5_Info::imprim
int imprim
Definition: libmmgtypes.h:484
MMG2D_Unset_requiredTriangle
int MMG2D_Unset_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:873
inxt
static uint8_t inxt[3]
Definition: boulep_2d.c:26
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
MMG2D_Set_scalarSol
int MMG2D_Set_scalarSol(MMG5_pSol met, double s, int pos)
Definition: API_functions_2d.c:1352
MMG2D_Free_structures
int MMG2D_Free_structures(const int starter,...)
Definition: API_functions_2d.c:1834
MMG2D_LONMAX
#define MMG2D_LONMAX
Definition: mmg2d.h:58
MMG2D_Set_ithSols_inSolsAtVertices
int MMG2D_Set_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_2d.c:1656
MMG2D_Get_vertices
int MMG2D_Get_vertices(MMG5_pMesh mesh, double *vertices, int *refs, int *areCorners, int *areRequired)
Definition: API_functions_2d.c:750
MMG5_Noentity
@ MMG5_Noentity
Definition: libmmgtypes.h:212
MMG2D_IPARAM_numberOfLocalParam
@ MMG2D_IPARAM_numberOfLocalParam
Definition: libmmg2d.h:73
MMG5_UNSET
#define MMG5_UNSET
Definition: mmgcommon.h:75
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
MMG2D_setMeshSize_alloc
int MMG2D_setMeshSize_alloc(MMG5_pMesh)
Definition: zaldy_2d.c:237
MMG2D_loadMshMesh_and_allData
int MMG2D_loadMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:685
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
MMG2D_Init_fileNames
void MMG2D_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions_2d.c:56
MMG5_iprv2
static const uint8_t MMG5_iprv2[3]
Definition: mmgcommon.h:548
MMG2D_LMAX
#define MMG2D_LMAX
Definition: libmmg2d.h:46
MMG5_grad2metSurf
int MMG5_grad2metSurf(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int np1, int np2)
Definition: anisosiz.c:910
ddb
int8_t ddb
MMG5_ridSizeInTangentDir
double MMG5_ridSizeInTangentDir(MMG5_pMesh mesh, MMG5_pPoint p0, int idp, int *iprid, double isqhmin, double isqhmax)
Definition: anisosiz.c:723
MMG2D_Set_tensorSol
int MMG2D_Set_tensorSol(MMG5_pSol met, double m11, double m12, double m22, int pos)
Definition: API_functions_2d.c:1549
MMG5_Mesh::point
MMG5_pPoint point
Definition: libmmgtypes.h:589
MMG2D_IPARAM_numsubdomain
@ MMG2D_IPARAM_numsubdomain
Definition: libmmg2d.h:72
MMG2D_Get_quadrilaterals
int MMG2D_Get_quadrilaterals(MMG5_pMesh mesh, int *quadra, int *refs, int *areRequired)
Definition: API_functions_2d.c:1119
info
MMG5_Info info
MMG2D_IPARAM_3dMedit
@ MMG2D_IPARAM_3dMedit
Definition: libmmg2d.h:65
MMG5_Tria::edg
int edg[3]
Definition: libmmgtypes.h:308
MMG5_HMAXCOE
#define MMG5_HMAXCOE
Definition: mmgcommon.h:129
MMG5_Quad::edg
int edg[4]
Definition: libmmgtypes.h:339
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
MMG5_entities
MMG5_entities
Type of mesh entities.
Definition: libmmgtypes.h:211
MMG2D_Set_quadrilateral
int MMG2D_Set_quadrilateral(MMG5_pMesh mesh, int v0, int v1, int v2, int v3, int ref, int pos)
Definition: API_functions_2d.c:1014
mmg2d.h
MMG2D_Set_edge
int MMG2D_Set_edge(MMG5_pMesh mesh, int v0, int v1, int ref, int pos)
Definition: API_functions_2d.c:1149
MMG5_Mesh::memMax
size_t memMax
Definition: libmmgtypes.h:553
MMG5_Info::sethmax
int8_t sethmax
Definition: libmmgtypes.h:499
MG_PARBDY
#define MG_PARBDY
Definition: mmgcommon.h:150
BIG
#define BIG
Definition: chrono.h:47
MMG2D_setadj
int MMG2D_setadj(MMG5_pMesh mesh)
Definition: analys_2d.c:48
MMG2D_IPARAM_iso
@ MMG2D_IPARAM_iso
Definition: libmmg2d.h:62
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
MMG2D_IPARAM_nreg
@ MMG2D_IPARAM_nreg
Definition: libmmg2d.h:71
MMG2D_Get_tensorSol
int MMG2D_Get_tensorSol(MMG5_pSol met, double *m11, double *m12, double *m22)
Definition: API_functions_2d.c:1583
MMG2D_loadVtuMesh_and_allData
int MMG2D_loadVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
mytime::gdif
double gdif
Definition: chrono.h:59
MMG2D_boulet
int MMG2D_boulet(MMG5_pMesh mesh, int start, int8_t ip, int *list)
Definition: boulep_2d.c:229
sol
MMG5_pMesh MMG5_pSol * sol
Definition: API_functionsf_2d.c:63
chrono
void chrono(int cmode, mytime *ptt)
Function to measure time.
Definition: chrono.c:49
MMG2D_saveMshMesh_and_allData
int MMG2D_saveMshMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:1440
MG_VOK
#define MG_VOK(ppt)
Definition: mmgcommon.h:160
MMG5_inxt2
static const uint8_t MMG5_inxt2[6]
Definition: mmgcommon.h:547
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
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
MMG2D_Get_quadrilateral
int MMG2D_Get_quadrilateral(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *v3, int *ref, int *isRequired)
Definition: API_functions_2d.c:1048
MMG2D_Unset_requiredVertex
int MMG2D_Unset_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:657
MMG2D_IPARAM_noinsert
@ MMG2D_IPARAM_noinsert
Definition: libmmg2d.h:67
MMG2D_Get_vertex
int MMG2D_Get_vertex(MMG5_pMesh mesh, double *c0, double *c1, int *ref, int *isCorner, int *isRequired)
Definition: API_functions_2d.c:663
mmg2d_init_filenames
mmg2d_init_filenames
Definition: API_functionsf_2d.c:63
MMG5_Info::rmc
double rmc
Definition: libmmgtypes.h:477
MMG5_MEMMAX
#define MMG5_MEMMAX
Definition: mmgcommon.h:66
MMG2D_caltri_iso
double MMG2D_caltri_iso(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pTria)
Definition: quality_2d.c:59
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
MMG2D_DPARAM_hmin
@ MMG2D_DPARAM_hmin
Definition: libmmg2d.h:78
mytime::thisProcess
HANDLE thisProcess
Definition: chrono.h:64
MMG5_Par::ref
int ref
Definition: libmmgtypes.h:232
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
MMG2D_saveVtpMesh
int MMG2D_saveVtpMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_MEMPERCENT
#define MMG5_MEMPERCENT
Definition: mmgcommon.h:68
strncpy
strncpy(tmp, meshin, *strlen0)
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
MMG2D_saveVtpMesh_and_allData
int MMG2D_saveVtpMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
meshin
MMG5_pMesh char * meshin
Definition: API_functionsf_2d.c:765
MMG5_Tetrahedron
@ MMG5_Tetrahedron
Definition: libmmgtypes.h:216
mytime::stUser
SYSTEMTIME stUser
Definition: chrono.h:66
MMG2D_IPARAM_nosurf
@ MMG2D_IPARAM_nosurf
Definition: libmmg2d.h:70
MMG5_EPSOK
#define MMG5_EPSOK
Definition: mmgcommon.h:91
MMG5_Mesh::adja
int * adja
Definition: libmmgtypes.h:572
MMG5_Mesh::nai
int nai
Definition: libmmgtypes.h:559
MMG5_Info::noswap
uint8_t noswap
Definition: libmmgtypes.h:500
MMG5_NR
#define MMG5_NR
Definition: mmgcommon.h:122
MMG5_Info::hausd
double hausd
Definition: libmmgtypes.h:476
MMG5_Mesh::tria
MMG5_pTria tria
Definition: libmmgtypes.h:595
MG_CRN
#define MG_CRN
Definition: mmgcommon.h:145
argptr
const int va_list argptr
Definition: API_functionsf_2d.c:728
MG_REQ
#define MG_REQ
Definition: mmgcommon.h:142
MMG2D_Init_mesh
int MMG2D_Init_mesh(const int starter,...)
Definition: API_functions_2d.c:43
MMG5_NONSET
#define MMG5_NONSET
Definition: mmgcommon.h:116
MMG5_mmg2dChkmsh
int MMG5_mmg2dChkmsh(MMG5_pMesh mesh, int severe, int base)
Definition: chkmsh_2d.c:34
MMG2D_VOLFRAC
#define MMG2D_VOLFRAC
Definition: mmg2d.h:64
MMG2D_Init_parameters
void MMG2D_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions_2d.c:80
MMG2D_IPARAM_verbose
@ MMG2D_IPARAM_verbose
Definition: libmmg2d.h:58
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
MMG2D_IPARAM_nomove
@ MMG2D_IPARAM_nomove
Definition: libmmg2d.h:69
mesh
MMG5_pMesh * mesh
Definition: API_functionsf_2d.c:63
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
MMG5_Mesh::quadra
MMG5_pQuad quadra
Definition: libmmgtypes.h:596
MMG2D_GetByIdx_vertex
int MMG2D_GetByIdx_vertex(MMG5_pMesh mesh, double *c0, double *c1, int *ref, int *isCorner, int *isRequired, int idx)
Definition: API_functions_2d.c:690
MMG2D_Chk_meshData
int MMG2D_Chk_meshData(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions_2d.c:1769
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
MMG2D_Get_scalarSols
int MMG2D_Get_scalarSols(MMG5_pSol met, double *s)
Definition: API_functions_2d.c:1430
MMG2D_Get_vectorSol
int MMG2D_Get_vectorSol(MMG5_pSol met, double *vx, double *vy)
Definition: API_functions_2d.c:1480
MMG2D_saveVtuMesh
int MMG2D_saveVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_Mesh::npi
int npi
Definition: libmmgtypes.h:559
MMG5_FMT_VtkVtu
@ MMG5_FMT_VtkVtu
Definition: mmgcommon.h:538
MMG2D_Set_vertex
int MMG2D_Set_vertex(MMG5_pMesh mesh, double c0, double c1, int ref, int pos)
Definition: API_functions_2d.c:598
MMG5_Info::noinsert
uint8_t noinsert
Definition: libmmgtypes.h:500
MMG5_surftri_ani
double MMG5_surftri_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt)
Definition: anisosiz.c:122
MMG2D_Get_tensorSols
int MMG2D_Get_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1640
MMG2D_DPARAM_ls
@ MMG2D_DPARAM_ls
Definition: libmmg2d.h:84
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
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_NONSET_HMAX
#define MMG5_NONSET_HMAX
Definition: mmgcommon.h:114
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
MMG2D_chkor
int MMG2D_chkor(MMG5_pMesh mesh)
Definition: chkmsh_2d.c:404
MMG2D_Set_vectorSols
int MMG2D_Set_vectorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1511
MMG2D_Set_meshSize
int MMG2D_Set_meshSize(MMG5_pMesh mesh, int np, int nt, int nquad, int na)
Definition: API_functions_2d.c:389
MMG5_FMT_VtkVtp
@ MMG5_FMT_VtkVtp
Definition: mmgcommon.h:539
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
mytime::udif
double udif
Definition: chrono.h:59
MMG5_Sol::m
double * m
Definition: libmmgtypes.h:618
MMG5_boulen
int MMG5_boulen(MMG5_pMesh mesh, int *adjt, int start, int ip, double *nn)
Definition: boulep.c:113
MG_NOTAG
#define MG_NOTAG
Definition: mmgcommon.h:139
mytime::gini
double gini
Definition: chrono.h:59
MMG5_LAG
#define MMG5_LAG
Definition: mmgcommon.h:121
MMG5_rotmatrix
int MMG5_rotmatrix(double n[3], double r[3][3])
Definition: tools.c:233
MMG2D_DPARAM_angleDetection
@ MMG2D_DPARAM_angleDetection
Definition: libmmg2d.h:77
MMG5_mark_pointsOnReqEdge_fromTria
void MMG5_mark_pointsOnReqEdge_fromTria(MMG5_pMesh mesh)
Definition: isosiz.c:242
FORTRAN_NAME
FORTRAN_NAME(MMG5_INIT_FILENAMES, mmg5_init_filenames,(MMG5_pMesh *mesh, MMG5_pSol *sol),(mesh, sol))
Definition: API_functionsf.c:47
MMG2D_Unset_requiredEdge
int MMG2D_Unset_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:1192
MMG5_Compute_constantSize
int MMG5_Compute_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double *hsiz)
Definition: API_functions.c:555
MMG5_HGeom::geom
MMG5_hgeom * geom
Definition: libmmgtypes.h:522
MMG2D_ALPHAD
#define MMG2D_ALPHAD
Definition: mmg2d.h:57
MMG2D_chkedg
int MMG2D_chkedg(MMG5_pMesh mesh, int k)
Definition: bezier_2d.c:28
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
MMG2D_singul
int MMG2D_singul(MMG5_pMesh mesh, int ref)
Definition: analys_2d.c:267
MG_MIN
#define MG_MIN(a, b)
Definition: mmgcommon.h:136
MMG2D_boulep
int MMG2D_boulep(MMG5_pMesh mesh, int ifirst, int iploc, int *list)
Definition: boulep_2d.c:34
MMG5_Info::npari
int npari
Definition: libmmgtypes.h:478
MMG5_INCREASE_MEM_MESSAGE
#define MMG5_INCREASE_MEM_MESSAGE()
Definition: mmgcommon.h:390
MMG2D_loadVtuMesh
int MMG2D_loadVtuMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG5_compute_meanMetricAtMarkedPoints_ani
int MMG5_compute_meanMetricAtMarkedPoints_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:1685
MMG2D_Set_tensorSols
int MMG2D_Set_tensorSols(MMG5_pSol met, double *sols)
Definition: API_functions_2d.c:1617
MMG2D_IPARAM_noswap
@ MMG2D_IPARAM_noswap
Definition: libmmg2d.h:68
MMG5_Mesh::na
int na
Definition: libmmgtypes.h:559
MMG5_boulec
int MMG5_boulec(MMG5_pMesh mesh, int *adjt, int start, int ip, double *tt)
Definition: boulep.c:189
mytime::sini
double sini
Definition: chrono.h:59
MMG2D_Free_names
int MMG2D_Free_names(const int starter,...)
Definition: API_functions_2d.c:1849
MMG2D_gradEigenv
static void MMG2D_gradEigenv(double dm[2], double dn[2], double difsiz, int8_t dir, int8_t *ier)
Definition: anisosiz_2d.c:497
MMG2D_loadAllSols
int MMG2D_loadAllSols(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
Definition: inout_2d.c:901
MMG5_FMT_Unknown
@ MMG5_FMT_Unknown
Definition: mmgcommon.h:542
MMG5_Info::hgrad
double hgrad
Definition: libmmgtypes.h:476
MMG5_Edge::tag
int16_t tag
Definition: libmmgtypes.h:279
MMG5_EPS
#define MMG5_EPS
Definition: eigenv.h:32
MMG2D_Set_triangle
int MMG2D_Set_triangle(MMG5_pMesh mesh, int v0, int v1, int v2, int ref, int pos)
Definition: API_functions_2d.c:785
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
MMG5_Get_typeName
const char * MMG5_Get_typeName(enum MMG5_type typ)
Definition: API_functions.c:631
MMG5_Tria
Definition: libmmgtypes.h:301
MMG5_NONSET_MEM
#define MMG5_NONSET_MEM
Definition: mmgcommon.h:112
MG_NOSURF
#define MG_NOSURF
Definition: mmgcommon.h:146
MMG5_Bezier
Definition: mmgcommon.h:557
MMG2D_bouleendp
int MMG2D_bouleendp(MMG5_pMesh mesh, int start, int8_t ip, int *ip1, int *ip2)
Definition: boulep_2d.c:282
MMG2D_saveVtkMesh_and_allData
int MMG2D_saveVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
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
MMG5_Mat::dospl
int8_t dospl
Definition: libmmgtypes.h:465
MMG5_Sol::ver
int ver
Definition: libmmgtypes.h:611
MMG2D_quickarea
double MMG2D_quickarea(double a[2], double b[2], double c[2])
Definition: tools.c:858
MMG2D_grad2metreq_ani
int MMG2D_grad2metreq_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int npmaster, int npslave)
Definition: anisosiz_2d.c:637
MMG5_Mesh::nquad
int nquad
Definition: libmmgtypes.h:560
MMG5_Info::nosurf
uint8_t nosurf
Definition: libmmgtypes.h:500
MMG5_HMINMAXGAP
#define MMG5_HMINMAXGAP
Definition: mmgcommon.h:130
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
MMG2D_Init_mesh_var
int MMG2D_Init_mesh_var(va_list argptr)
Definition: variadic_2d.c:175
MMG5_Sol::type
int type
Definition: libmmgtypes.h:617
MMG5_memSize
size_t MMG5_memSize(void)
Definition: tools.c:547
MMG2D_DPARAM_hmax
@ MMG2D_DPARAM_hmax
Definition: libmmg2d.h:79
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
MMG2D_caltri_ani
double MMG2D_caltri_ani(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pTria)
Definition: quality_2d.c:95
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
MMG2D_assignEdge
int MMG2D_assignEdge(MMG5_pMesh mesh)
Definition: hash_2d.c:333
MMG2D_Get_triangle
int MMG2D_Get_triangle(MMG5_pMesh mesh, int *v0, int *v1, int *v2, int *ref, int *isRequired)
Definition: API_functions_2d.c:886
MMG2D_IPARAM_numberOfMat
@ MMG2D_IPARAM_numberOfMat
Definition: libmmg2d.h:74
FORTRAN_NAME
FORTRAN_NAME(MMG2D_INIT_PARAMETERS, mmg2d_init_parameters,(MMG5_pMesh *mesh),(mesh))
Definition: API_functionsf_2d.c:71
MMG5_Mesh::xpoint
MMG5_pxPoint xpoint
Definition: libmmgtypes.h:590
MMG5_Info::nmati
int nmati
Definition: libmmgtypes.h:483
MMG5_ATHIRD
#define MMG5_ATHIRD
Definition: mmgcommon.h:86
MMG2D_Free_all_var
int MMG2D_Free_all_var(va_list argptr)
Definition: variadic_2d.c:268
MMG2D_loadVtkMesh_and_allData
int MMG2D_loadVtkMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
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
iprev
static uint8_t iprev[3]
Definition: boulep_2d.c:27
MMG2D_saveSol
int MMG2D_saveSol(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:1479
MMG5_Point::xp
int xp
Definition: libmmgtypes.h:248
FORTRAN_VARIADIC
FORTRAN_VARIADIC(MMG2D_INIT_MESH, mmg2d_init_mesh,(const int starter,...), va_list argptr;int ier;va_start(argptr, starter);ier=MMG2D_Init_mesh_var(argptr);va_end(argptr);if(!ier) exit(EXIT_FAILURE);return;) FORTRAN_NAME(MMG2D_INIT_FILENAMES
MMG5_EPSD2
#define MMG5_EPSD2
Definition: mmgcommon.h:89
MMG5_Tensor
@ MMG5_Tensor
Definition: libmmgtypes.h:204
MMG2D_analys
int MMG2D_analys(MMG5_pMesh mesh)
Definition: analys_2d.c:761
MMG5_FMT_VtkVtk
@ MMG5_FMT_VtkVtk
Definition: mmgcommon.h:540
MMG2D_IPARAM_anisosize
@ MMG2D_IPARAM_anisosize
Definition: libmmg2d.h:75
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_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
MMG2D_bezierCurv
int MMG2D_bezierCurv(MMG5_pMesh mesh, int k, int8_t i, double s, double *o, double *no)
Definition: bezier_2d.c:117
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
tminit
void tminit(mytime *t, int maxtim)
Initialize mytime object.
Definition: chrono.c:120
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
MMG2D_Free_all
int MMG2D_Free_all(const int starter,...)
Definition: API_functions_2d.c:1820
MMG5_Quad::tag
int16_t tag[4]
Definition: libmmgtypes.h:341
MMG2D_Get_meshSize
int MMG2D_Get_meshSize(MMG5_pMesh mesh, int *np, int *nt, int *nquad, int *na)
Definition: API_functions_2d.c:574
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
MMG2D_loadMesh
int MMG2D_loadMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_2d.c:26
MMG5_Info::optim
uint8_t optim
Definition: libmmgtypes.h:500
MMG5_Quad
Definition: libmmgtypes.h:335
MG_RID
#define MG_RID(tag)
Definition: mmgcommon.h:165
MMG2D_savemesh_db
int MMG2D_savemesh_db(MMG5_pMesh mesh, char *filename, int8_t pack)
Definition: inout_2d.c:1591
MMG2D_Get_solSize
int MMG2D_Get_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int *typEntity, int *np, int *typSol)
Definition: API_functions_2d.c:520
MMG5_Mesh::nt
int nt
Definition: libmmgtypes.h:559
mmg2d_loadmesh
mmg2d_loadmesh
Definition: API_functionsf_2d.c:765
MMG5_LS
#define MMG5_LS
Definition: mmgcommon.h:123
MMG2D_Set_edges
int MMG2D_Set_edges(MMG5_pMesh mesh, int *edges, int *refs)
Definition: API_functions_2d.c:1278
MMG2D_idir_q
static const uint8_t MMG2D_idir_q[4][2]
idir[i]: vertices of edge i for a quad
Definition: mmg2d.h:76
MG_SET
#define MG_SET(flag, bit)
Definition: mmgcommon.h:168
MMG5_Par::hausd
double hausd
Definition: libmmgtypes.h:231
MMG5_Mesh
MMG mesh structure.
Definition: libmmgtypes.h:552
MMG5_Get_format
int MMG5_Get_format(char *ptr, int fmt)
Definition: mmg.c:508
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
MMG5_HMINCOE
#define MMG5_HMINCOE
Definition: mmgcommon.h:128
MMG5_Info::par
MMG5_pPar par
Definition: libmmgtypes.h:475
MMG5_xPoint::n2
double n2[3]
Definition: libmmgtypes.h:264
MMG2D_Get_ithSol_inSolsAtVertices
int MMG2D_Get_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_2d.c:1739
MMG5_Info::nosizreq
uint8_t nosizreq
Definition: libmmgtypes.h:500
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
va_start
va_start(argptr, starter)
MMG5_xPoint
Structure to store surface points of a MMG mesh.
Definition: libmmgtypes.h:263
MMG2D_DPARAM_rmc
@ MMG2D_DPARAM_rmc
Definition: libmmg2d.h:85
MMG5_Sol::npmax
int npmax
Definition: libmmgtypes.h:614
MMG5_Edg
@ MMG5_Edg
Definition: libmmgtypes.h:214
MMG5_regnor
int MMG5_regnor(MMG5_pMesh mesh)
Definition: analys.c:46
MMG5_Tria::flag
int flag
Definition: libmmgtypes.h:310
MMG2D_grad2met_ani
int MMG2D_grad2met_ani(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt, int np1, int np2)
Definition: anisosiz_2d.c:574
MMG5_LMAX
#define MMG5_LMAX
Definition: mmgcommon.h:107
MMG5_Mesh::ver
int ver
Definition: libmmgtypes.h:556
MMG2D_Set_outputMeshName
int MMG2D_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions_2d.c:72
MMG2D_NULKAL
#define MMG2D_NULKAL
Definition: mmg2d.h:60
MMG2D_Set_solsAtVerticesSize
int MMG2D_Set_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int nsols, int np, int *typSol)
Definition: API_functions_2d.c:475
MMG2D_Get_solsAtVerticesSize
int MMG2D_Get_solsAtVerticesSize(MMG5_pMesh mesh, MMG5_pSol *sol, int *nsols, int *np, int *typSol)
Definition: API_functions_2d.c:545
MMG5_Info::iso
int8_t iso
Definition: libmmgtypes.h:489
MMG5_Mesh::adjq
int * adjq
Definition: libmmgtypes.h:584
MMG2D_Set_corner
int MMG2D_Set_corner(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:638
mytime::stSys
SYSTEMTIME stSys
Definition: chrono.h:66
MMG5_Mesh::type
int type
Definition: libmmgtypes.h:558
MMG5_Info::hmax
double hmax
Definition: libmmgtypes.h:476
MMG2D_Set_requiredVertex
int MMG2D_Set_requiredVertex(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:650
MMG5_Par
Definition: libmmgtypes.h:228
MMG5_Mesh::namein
char * namein
Definition: libmmgtypes.h:600
MMG5_Info::sethmin
int8_t sethmin
Definition: libmmgtypes.h:498
MMG5_Mesh::info
MMG5_Info info
Definition: libmmgtypes.h:599
MMG2D_DPARAM_hgradreq
@ MMG2D_DPARAM_hgradreq
Definition: libmmg2d.h:83
MMG2D_saveMshMesh
int MMG2D_saveMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:1436
MMG5_gradsizreq_ani
int MMG5_gradsizreq_ani(MMG5_pMesh mesh, MMG5_pSol met)
Definition: anisosiz.c:1801
MMG5_Point::flag
int flag
Definition: libmmgtypes.h:251
MMG5_Edge::a
int a
Definition: libmmgtypes.h:275
MMG5_Par::elt
int8_t elt
Definition: libmmgtypes.h:233
MMG5_Mesh::npmax
int npmax
Definition: libmmgtypes.h:559
MMG2D_Set_vertices
int MMG2D_Set_vertices(MMG5_pMesh mesh, double *vertices, int *refs)
Definition: API_functions_2d.c:722
mytime::call
int call
Definition: chrono.h:70
MMG5_rmtr
int MMG5_rmtr(double r[3][3], double m[6], double mr[6])
Definition: tools.c:199
MMG5_surf
static double MMG5_surf(MMG5_pMesh mesh, double m[3][6], MMG5_pTria ptt)
Definition: anisosiz.c:48
MMG2D_DPARAM_hausd
@ MMG2D_DPARAM_hausd
Definition: libmmg2d.h:81
retval
MMG5_pMesh char int int * retval
Definition: API_functionsf_2d.c:765
MMG2D_cenrad_iso
int MMG2D_cenrad_iso(MMG5_pMesh mesh, double *ct, double *c, double *rad)
Definition: cenrad_2d.c:42
MMG5_Mesh::nti
int nti
Definition: libmmgtypes.h:559
tmp
tmp[*strlen0]
Definition: API_functionsf_2d.c:771
MMG5_Info
Store input parameters of the run.
Definition: libmmgtypes.h:474
MMG2D_saveMesh
int MMG2D_saveMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_2d.c:1005
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
MMG2D_Set_localParameter
int MMG2D_Set_localParameter(MMG5_pMesh mesh, MMG5_pSol sol, int typ, int ref, double hmin, double hmax, double hausd)
Definition: API_functions_2d.c:310
MMG2D_caltri
double(* MMG2D_caltri)(MMG5_pMesh, MMG5_pSol, MMG5_pTria)
Definition: mmg2dexterns.c:8
MMG2D_saveVtkMesh
int MMG2D_saveVtkMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
MMG2D_loadVtpMesh_and_allData
int MMG2D_loadVtpMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG2D_DPARAM_hsiz
@ MMG2D_DPARAM_hsiz
Definition: libmmg2d.h:80
MMG2D_DPARAM_hgrad
@ MMG2D_DPARAM_hgrad
Definition: libmmg2d.h:82
mytime::gend
double gend
Definition: chrono.h:59
MMG5_SAFE_CALLOC
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
Definition: mmgcommon.h:304
MMG5_NONSET_HMIN
#define MMG5_NONSET_HMIN
Definition: mmgcommon.h:113
MMG5_Info::nreg
int8_t nreg
Definition: libmmgtypes.h:486
MMG2D_Set_quadrilaterals
int MMG2D_Set_quadrilaterals(MMG5_pMesh mesh, int *quadra, int *refs)
Definition: API_functions_2d.c:1094
MMG2D_Set_inputMeshName
int MMG2D_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions_2d.c:63
MMG2D_Set_solSize
int MMG2D_Set_solSize(MMG5_pMesh mesh, MMG5_pSol sol, int typEntity, int np, int typSol)
Definition: API_functions_2d.c:431
MMG5_Scalar
@ MMG5_Scalar
Definition: libmmgtypes.h:202
MMG2D_saveVtuMesh_and_allData
int MMG2D_saveVtuMesh_and_allData(MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
MMG5_DEL_MEM
#define MMG5_DEL_MEM(mesh, ptr)
Definition: mmgcommon.h:281
MMG2D_defaultmet_2d
int MMG2D_defaultmet_2d(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i)
Definition: anisosiz_2d.c:50
MMG5_Mesh::edge
MMG5_pEdge edge
Definition: libmmgtypes.h:597
MMG2D_Get_ithSols_inSolsAtVertices
int MMG2D_Get_ithSols_inSolsAtVertices(MMG5_pSol sol, int i, double *s)
Definition: API_functions_2d.c:1684
MMG2D_Set_inputSolName
int MMG2D_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions_2d.c:68
ier
int ier
Definition: API_functionsf_2d.c:730
MMG2D_Set_multiMat
int MMG2D_Set_multiMat(MMG5_pMesh mesh, MMG5_pSol sol, int ref, int split, int rin, int rout)
Definition: API_functions_2d.c:383
MMG5_gradEigenvreq
void MMG5_gradEigenvreq(double *dm, double *dn, double difsiz, int8_t dir, int8_t *ier)
Definition: anisosiz.c:1380
mytime::ftIni
FILETIME ftIni
Definition: chrono.h:65
MMG2D_Set_parallelEdge
int MMG2D_Set_parallelEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:1204
MMG5_ANGEDG
#define MMG5_ANGEDG
Definition: mmgcommon.h:84
MMG2D_IPARAM_lag
@ MMG2D_IPARAM_lag
Definition: libmmg2d.h:64
MMG5_Info::lag
int8_t lag
Definition: libmmgtypes.h:494
mmg2d_free_structures
mmg2d_free_structures
Definition: API_functionsf_2d.c:727
MMG5_GAP
#define MMG5_GAP
Definition: mmgcommon.h:127
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
MMG2D_Set_iparameter
int MMG2D_Set_iparameter(MMG5_pMesh mesh, MMG5_pSol sol, int iparam, int val)
Definition: API_functions_2d.c:102
MMG5_FMT_GmshBinary
@ MMG5_FMT_GmshBinary
Definition: mmgcommon.h:535
MMG5_type
MMG5_type
Type of solutions.
Definition: libmmgtypes.h:200
MMG2D_bdryEdge
int MMG2D_bdryEdge(MMG5_pMesh mesh)
Definition: hash_2d.c:433
MMG2D_indPt
int MMG2D_indPt(MMG5_pMesh mesh, int kp)
Definition: tools_2d.c:69
MMG5_Info::setfem
int8_t setfem
Definition: libmmgtypes.h:490
MMG2D_IPARAM_mem
@ MMG2D_IPARAM_mem
Definition: libmmg2d.h:59
mytime::ftEnd
FILETIME ftEnd
Definition: chrono.h:65
MMG2D_saveTetgenMesh
int MMG2D_saveTetgenMesh(MMG5_pMesh mesh, const char *filename)
Definition: inout_2d.c:2001
MMG2D_Get_triangles
int MMG2D_Get_triangles(MMG5_pMesh mesh, int *tria, int *refs, int *areRequired)
Definition: API_functions_2d.c:988
MMG2D_Free_structures_var
int MMG2D_Free_structures_var(va_list argptr)
Definition: variadic_2d.c:377
MMG5_Mesh::adjt
int * adjt
Definition: libmmgtypes.h:576
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
mytime::frequency
LARGE_INTEGER frequency
Definition: chrono.h:67
MMG5_Info::hsiz
double hsiz
Definition: libmmgtypes.h:476
MMG5_Point::tmp
int tmp
Definition: libmmgtypes.h:249
MMG5_Mesh::ntmax
int ntmax
Definition: libmmgtypes.h:559
mytime::ftSys
FILETIME ftSys
Definition: chrono.h:65
MMG2D_IPARAM_optim
@ MMG2D_IPARAM_optim
Definition: libmmg2d.h:66
MMG2D_defmetbdy_2d
int MMG2D_defmetbdy_2d(MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t i)
Definition: anisosiz_2d.c:85
va_end
va_end(argptr)
starter
const int starter
Definition: API_functionsf_2d.c:728
MMG2D_loadMshMesh
int MMG2D_loadMshMesh(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:624
MMG5_EPSD
#define MMG5_EPSD
Definition: eigenv.h:31
MMG5_Mesh::dim
int dim
Definition: libmmgtypes.h:557
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
MMG2D_Set_requiredEdge
int MMG2D_Set_requiredEdge(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:1180
MMG2D_Set_requiredTriangle
int MMG2D_Set_requiredTriangle(MMG5_pMesh mesh, int k)
Definition: API_functions_2d.c:860
MMG2D_Get_scalarSol
int MMG2D_Get_scalarSol(MMG5_pSol met, double *s)
Definition: API_functions_2d.c:1382
MMG2D_Free_allSols
int MMG2D_Free_allSols(MMG5_pMesh mesh, MMG5_pSol *sol)
Definition: API_functions_2d.c:1814
MMG5_SAFE_FREE
MMG5_SAFE_FREE(tmp)
MMG2D_movintpt_ani
int MMG2D_movintpt_ani(MMG5_pMesh mesh, MMG5_pSol met, int ilist, int *list, int8_t improve)
Definition: anisomovpt_2d.c:37
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
MMG2D_loadSol
int MMG2D_loadSol(MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
Definition: inout_2d.c:817
MMG2D_iare
static const int MMG2D_iare[3][2]
Definition: mmg2d.h:128
MMG5_NOHGRAD
#define MMG5_NOHGRAD
Definition: mmgcommon.h:120
MMG2D_Get_edge
int MMG2D_Get_edge(MMG5_pMesh mesh, int *e0, int *e1, int *ref, int *isRidge, int *isRequired)
Definition: API_functions_2d.c:1222
mytime::ftUser
FILETIME ftUser
Definition: chrono.h:65
MMG2D_norver
int MMG2D_norver(MMG5_pMesh mesh, int ref)
Definition: analys_2d.c:400
MMG2D_boulen
int MMG2D_boulen(MMG5_pMesh mesh, int start, int8_t ip, int *pleft, int *pright, double *nn)
Definition: boulep_2d.c:112
MMG5_Info::parTyp
int8_t parTyp
Definition: libmmgtypes.h:495
MMG2D_Set_ithSol_inSolsAtVertices
int MMG2D_Set_ithSol_inSolsAtVertices(MMG5_pSol sol, int i, double *s, int pos)
Definition: API_functions_2d.c:1712
MMG2D_Set_dparameter
int MMG2D_Set_dparameter(MMG5_pMesh mesh, MMG5_pSol sol, int dparam, double val)
Definition: API_functions_2d.c:242
MMG5_Point::n
double n[3]
Definition: libmmgtypes.h:243