gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef MESH_QUAD_QUASI_STRUCTURED_H
7 #define MESH_QUAD_QUASI_STRUCTURED_H
37 std::vector<CppUtils::RestoreValueAtEndOfLife<bool>* >
backups_bool;
38 std::vector<CppUtils::RestoreValueAtEndOfLife<char>* >
backups_char;
39 std::vector<CppUtils::RestoreValueAtEndOfLife<int>* >
backups_int;
57 bool overwriteGModelMesh =
false,
58 bool deleteGModelMeshAfter =
false,
59 bool overwriteField =
false,
123 double minimumQualityRequired = 0.5);
int quadqsCleanup(GModel *gm)
Delete background meshes and fields that have been used by quadqs meshing/remeshing.
int BuildBackgroundMeshAndGuidingField(GModel *gm, bool overwriteGModelMesh=false, bool deleteGModelMeshAfter=false, bool overwriteField=false, int N=4)
std::vector< CppUtils::RestoreValueAtEndOfLife< double > * > backups_double
The QuadQuasiStructured meshing mode requires control over various meshing parameters which are store...
int optimizeTopologyWithCavityRemeshing(GModel *gm)
Look for patches of quads with >=3 irregular vertices which can be remeshed with more regular quad me...
std::vector< CppUtils::RestoreValueAtEndOfLife< char > * > backups_char
std::vector< CppUtils::RestoreValueAtEndOfLife< int > * > backups_int
int optimizeQuadMeshBoundaries(GModel *gm)
Add one extruded quad layer on curves where the boundary quad valences are not ideal.
bool backgroundMeshAndGuidingFieldExists(GModel *gm)
To check if a compatible background mesh and guiding field already exists.
std::vector< CppUtils::RestoreValueAtEndOfLife< bool > * > backups_bool
int RefineMeshWithBackgroundMeshProjection(GModel *gm)
Midpoint subdivision of the surface mesh with projections on the CAD surfaces, using the background m...
int optimize1DMeshAtAcuteCorners(GModel *gm)
Identify face acute corners and set the first curve mesh vertices at same length from corner.
void restoreInitialOption()
int transferSeamGEdgesVerticesToGFace(GModel *gm)
Mesh vertices on seam curves (and isolated corners) are reparametrized on the associated GFace and tr...
int optimizeTopologyWithDiskQuadrangulationRemeshing(GModel *gm)
Look for non-ideal vertex valences in quad mesh and find a better local remeshing by looking into all...
int quadMeshingOfSimpleFacesWithPatterns(GModel *gm, double minimumQualityRequired=0.5)
Look for simple CAD faces (topological disk, a few corners) which can be remeshed with simple quad pa...
int replaceBadQuadDominantMeshes(GModel *gm)
The initial unstructured quad-tri mesh may contain very bad configurations (e.g. valence 50+) due to ...