gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
meshGRegionLocalMeshMod.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef MESH_GREGION_LOCAL_MESH_MOD_H
7 #define MESH_GREGION_LOCAL_MESH_MOD_H
8 
10 #include "qualityMeasures.h"
11 
12 // Local mesh modification operators. Those operators only apply to
13 // the "bulk" of the mesh and cannot be applied to boundaries.
14 
16 
17 int LaplaceSmoothing(GRegion *gr);
18 
19 bool edgeSwap(std::vector<MTet4 *> &newTets, MTet4 *tet, int iLocalEdge,
20  const qmTetrahedron::Measures &cr,
21  const std::set<MFace, MFaceLessThan> &embeddedFaces);
22 
23 bool faceSwap(std::vector<MTet4 *> &newTets, MTet4 *tet, int iLocalFace,
24  const qmTetrahedron::Measures &cr,
25  const std::set<MFace, MFaceLessThan> &embeddedFaces);
26 
27 bool smoothVertex(MTet4 *t, int iLocalVertex,
28  const qmTetrahedron::Measures &cr);
29 
30 bool smoothVertexOptimize(MTet4 *t, int iVertex,
31  const qmTetrahedron::Measures &cr);
32 
33 bool collapseVertex(std::vector<MTet4 *> &newTets, MTet4 *t, int iVertex,
34  int iTarget, const qmTetrahedron::Measures &cr,
36  double *result = nullptr);
37 
38 bool edgeSplit(std::vector<MTet4 *> &newTets, MTet4 *tet, MVertex *newVertex,
39  int iLocalEdge, const qmTetrahedron::Measures &cr);
40 
41 #endif
qualityMeasures.h
meshGRegionDelaunayInsertion.h
LaplaceSmoothing
int LaplaceSmoothing(GRegion *gr)
Definition: meshGRegionLocalMeshMod.cpp:828
MVertex
Definition: MVertex.h:24
edgeSwap
bool edgeSwap(std::vector< MTet4 * > &newTets, MTet4 *tet, int iLocalEdge, const qmTetrahedron::Measures &cr, const std::set< MFace, MFaceLessThan > &embeddedFaces)
Definition: meshGRegionLocalMeshMod.cpp:237
MTet4
Definition: meshGRegionDelaunayInsertion.h:46
edgeSplit
bool edgeSplit(std::vector< MTet4 * > &newTets, MTet4 *tet, MVertex *newVertex, int iLocalEdge, const qmTetrahedron::Measures &cr)
Definition: meshGRegionLocalMeshMod.cpp:355
faceSwap
bool faceSwap(std::vector< MTet4 * > &newTets, MTet4 *tet, int iLocalFace, const qmTetrahedron::Measures &cr, const std::set< MFace, MFaceLessThan > &embeddedFaces)
Definition: meshGRegionLocalMeshMod.cpp:390
smoothVertexOptimize
bool smoothVertexOptimize(MTet4 *t, int iVertex, const qmTetrahedron::Measures &cr)
Definition: meshGRegionLocalMeshMod.cpp:757
localMeshModAction
localMeshModAction
Definition: meshGRegionLocalMeshMod.h:15
GMSH_EVALONLY
@ GMSH_EVALONLY
Definition: meshGRegionLocalMeshMod.h:15
collapseVertex
bool collapseVertex(std::vector< MTet4 * > &newTets, MTet4 *t, int iVertex, int iTarget, const qmTetrahedron::Measures &cr, const localMeshModAction=GMSH_DOIT, double *result=nullptr)
Definition: meshGRegionLocalMeshMod.cpp:529
GRegion
Definition: GRegion.h:28
GMSH_DOIT
@ GMSH_DOIT
Definition: meshGRegionLocalMeshMod.h:15
smoothVertex
bool smoothVertex(MTet4 *t, int iLocalVertex, const qmTetrahedron::Measures &cr)
Definition: meshGRegionLocalMeshMod.cpp:624
qmTetrahedron::Measures
Measures
Definition: qualityMeasures.h:68