gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <stack>
#include <cmath>
#include <stdio.h>
#include "GmshMessage.h"
#include "OS.h"
#include "robustPredicates.h"
#include "Numeric.h"
#include "BDS.h"
#include "GFace.h"
#include "discreteFace.h"
#include "meshGFaceDelaunayInsertion.h"
#include "qualityMeasures.h"
Go to the source code of this file.
Classes | |
struct | is_not_deleted |
Functions | |
static double | _cos_N (BDS_Point *_p1, BDS_Point *_p2, BDS_Point *_p3, GFace *gf) |
double | BDS_Face_Validity (GFace *gf, BDS_Face *f) |
void | outputScalarField (std::vector< BDS_Face * > &t, const char *iii, int param, GFace *gf) |
static void | vector_triangle (BDS_Point *p1, BDS_Point *p2, BDS_Point *p3, double c[3]) |
static double | vector_triangle_parametric (BDS_Point *p1, BDS_Point *p2, BDS_Point *p3) |
void | normal_triangle (BDS_Point *p1, BDS_Point *p2, BDS_Point *p3, double c[3]) |
static double | surface_triangle_param (BDS_Point *p1, BDS_Point *p2, BDS_Point *p3) |
int | Intersect_Edges_2d (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, double x[2]) |
static bool | is_equivalent (BDS_Edge *e1, BDS_Edge *e2, BDS_Edge *e3, BDS_Edge *o1, BDS_Edge *o2, BDS_Edge *o3) |
void | recur_tag (BDS_Face *t, BDS_GeomEntity *g) |
template<class IT > | |
void | DESTROOOY (IT beg, IT end) |
static bool | validityOfCavity (const BDS_Point *p, const std::vector< BDS_Point * > &nbg) |
static bool | getOrderedNeighboringVertices (BDS_Point *p, std::vector< BDS_Point * > &nbg, std::vector< BDS_Face * > &ts, int CHECK) |
static double | getTutteEnergy (const BDS_Point *p, const std::vector< BDS_Point * > &nbg, double &RATIO) |
static void | getCentroidUV (const BDS_Point *p, GFace *gf, const std::vector< SPoint2 > &kernel, const std::vector< double > &lc, double &U, double &V, double &LC) |
static void | getCentroidUV (const std::vector< SPoint2 > &kernel, const std::vector< double > &lc, double &U, double &V, double &LC) |
static void | getIntersection (const SPoint2 &p1, const SPoint2 &p2, const SPoint2 &q1, const SPoint2 &q2, double x[2]) |
static void | computeSomeKindOfKernel (const BDS_Point *p, const std::vector< BDS_Point * > &nbg, std::vector< SPoint2 > &kernel, std::vector< double > &lc, int check) |
static GPoint | _closestPoint (BDS_Point *p, GFace *gf, const std::vector< SPoint2 > &kernel, SPoint3 &target, int N) |
static bool | minimizeTutteEnergyProj (BDS_Point *p, double E_unmoved, double RATIO, const std::vector< BDS_Point * > &nbg, const std::vector< SPoint2 > &kernel, const std::vector< double > &lc, GFace *gf, int check) |
static bool | minimizeTutteEnergyParam (BDS_Point *p, double E_unmoved, double RATIO1, const std::vector< BDS_Point * > &nbg, const std::vector< SPoint2 > &kernel, const std::vector< double > &lc, GFace *gf, int check) |
|
static |
Definition at line 1483 of file BDS.cpp.
Referenced by minimizeTutteEnergyProj().
Definition at line 21 of file BDS.cpp.
Referenced by BDS_Face_Validity(), and BDS_SwapEdgeTestNormals::operator()().
Definition at line 33 of file BDS.cpp.
Referenced by refineMeshBDS().
|
inlinestatic |
Definition at line 1396 of file BDS.cpp.
Referenced by BDS_Mesh::smooth_point_centroid().
void DESTROOOY | ( | IT | beg, |
IT | end | ||
) |
Definition at line 630 of file BDS.cpp.
Referenced by BDS_Mesh::~BDS_Mesh().
|
inlinestatic |
Definition at line 1338 of file BDS.cpp.
Referenced by minimizeTutteEnergyParam(), and minimizeTutteEnergyProj().
|
inlinestatic |
|
inlinestatic |
Definition at line 1383 of file BDS.cpp.
Referenced by computeSomeKindOfKernel().
|
inlinestatic |
Definition at line 1246 of file BDS.cpp.
Referenced by BDS_Mesh::smooth_point_centroid().
|
inlinestatic |
Definition at line 1317 of file BDS.cpp.
Referenced by minimizeTutteEnergyParam(), minimizeTutteEnergyProj(), and BDS_Mesh::smooth_point_centroid().
int Intersect_Edges_2d | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3, | ||
double | x4, | ||
double | y4, | ||
double | x[2] | ||
) |
Definition at line 307 of file BDS.cpp.
Referenced by BDS_Mesh::recover_edge().
|
static |
Definition at line 451 of file BDS.cpp.
Referenced by BDS_Mesh::find_triangle().
|
inlinestatic |
Definition at line 1573 of file BDS.cpp.
Referenced by BDS_Mesh::smooth_point_centroid().
|
inlinestatic |
Definition at line 1514 of file BDS.cpp.
Referenced by BDS_Mesh::smooth_point_centroid().
Definition at line 185 of file BDS.cpp.
Referenced by _cos_N(), and edgeSwapTestAngle().
Definition at line 46 of file BDS.cpp.
Referenced by meshGenerator(), meshGeneratorPeriodic(), BDS_Mesh::recover_edge(), recoverEdge(), and refineMeshBDS().
void recur_tag | ( | BDS_Face * | t, |
BDS_GeomEntity * | g | ||
) |
Definition at line 605 of file BDS.cpp.
Referenced by meshGenerator(), and meshGeneratorPeriodic().
Definition at line 191 of file BDS.cpp.
Referenced by BDS_Mesh::collapse_edge_parametric(), BDS_SwapEdgeTestQuality::operator()(), BDS_SwapEdgeTestNormals::operator()(), and BDS_Mesh::split_edge().
|
inlinestatic |
Definition at line 1224 of file BDS.cpp.
Referenced by minimizeTutteEnergyParam(), and minimizeTutteEnergyProj().
Definition at line 167 of file BDS.cpp.
Referenced by normal_triangle().