gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
BackgroundMeshTools.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 BACKGROUND_MESH_TOOLS_H
7 #define BACKGROUND_MESH_TOOLS_H
8 
9 #include "STensor3.h"
10 
11 class GFace;
12 class GVertex;
13 class GEdge;
14 class GEntity;
15 
16 SMetric3 buildMetricTangentToCurve(SVector3 &t, double l_t, double l_n);
18  double l_t2, double l_n);
19 double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y,
20  double Z);
21 double BGM_MeshSizeWithoutScaling(GEntity *ge, double U, double V, double X,
22  double Y, double Z);
23 SMetric3 BGM_MeshMetric(GEntity *ge, double U, double V, double X, double Y,
24  double Z);
28 SMetric3 max_edge_curvature_metric(const GEdge *ge, double u, double &l);
29 SMetric3 metric_based_on_surface_curvature(const GFace *gf, double u, double v,
30  bool surface_isotropic = false,
31  double d_normal = 1.e12,
32  double d_tangent_max = 1.e12);
33 
34 #endif
buildMetricTangentToCurve
SMetric3 buildMetricTangentToCurve(SVector3 &t, double l_t, double l_n)
Definition: BackgroundMeshTools.cpp:169
SMetric3
Definition: STensor3.h:17
GFace
Definition: GFace.h:33
Extend1dMeshIn2dSurfaces
bool Extend1dMeshIn2dSurfaces(GFace *gf)
Definition: BackgroundMeshTools.cpp:339
SVector3
Definition: SVector3.h:16
GEntity
Definition: GEntity.h:31
Extend2dMeshIn3dVolumes
bool Extend2dMeshIn3dVolumes()
Definition: BackgroundMeshTools.cpp:345
GVertex
Definition: GVertex.h:23
BGM_MeshMetric
SMetric3 BGM_MeshMetric(GEntity *ge, double U, double V, double X, double Y, double Z)
Definition: BackgroundMeshTools.cpp:284
metric_based_on_surface_curvature
SMetric3 metric_based_on_surface_curvature(const GFace *gf, double u, double v, bool surface_isotropic=false, double d_normal=1.e12, double d_tangent_max=1.e12)
Definition: BackgroundMeshTools.cpp:383
buildMetricTangentToSurface
SMetric3 buildMetricTangentToSurface(SVector3 &t1, SVector3 &t2, double l_t1, double l_t2, double l_n)
Definition: BackgroundMeshTools.cpp:194
max_edge_curvature_metric
SMetric3 max_edge_curvature_metric(const GVertex *gv)
Definition: BackgroundMeshTools.cpp:351
STensor3.h
GEdge
Definition: GEdge.h:26
BGM_MeshSize
double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double Z)
Definition: BackgroundMeshTools.cpp:255
BGM_MeshSizeWithoutScaling
double BGM_MeshSizeWithoutScaling(GEntity *ge, double U, double V, double X, double Y, double Z)
Definition: BackgroundMeshTools.cpp:211