gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
69 else if(orientation < 0)
86 virtual int dim()
const {
return 1; }
92 virtual std::vector<GVertex *>
vertices()
const;
98 virtual void setColor(
unsigned int val,
bool recursive =
false);
110 virtual std::list<GRegion *>
regions()
const;
142 virtual double curvature(
double par)
const;
160 virtual void writePY(FILE *fp);
167 virtual bool is3D()
const {
return true; }
172 double length(
const double &u0,
const double &u1,
const int nbQuadPoints = 4);
180 const std::vector<double> lc);
188 Msg::Debug(
"Degenerated mesh on curve %d: %d mesh nodes",
tag(),
213 const std::size_t index)
const;
240 double relax,
double tol,
double &err)
const;
243 virtual bool XYZToU(
const double X,
const double Y,
const double Z,
double &U,
244 const double relax = 1,
bool first =
true)
const;
271 virtual void discretize(
double tol, std::vector<SPoint3> &dpts,
272 std::vector<double> &ts);
274 virtual void mesh(
bool verbose);
276 virtual bool reorder(
const int elementType,
277 const std::vector<std::size_t> &ordering);
virtual int minimumMeshSegments() const
MElement *const * getStartElementType(int type) const
void setMeshMaster(GEdge *master, const std::vector< double > &)
virtual bool periodic(int dim) const
void setLength(const double l)
virtual void setVisibility(char val, bool recursive=false)
virtual std::list< GRegion * > regions() const
MElement * getMeshElement(std::size_t index) const
virtual SPoint2 reparamOnFace(const GFace *face, double epar, int dir) const
void setMeshSizeParametric(const std::vector< double > u, const std::vector< double > lc)
virtual void resetMeshAttributes()
std::vector< MLine * > lines
virtual int minimumDrawSegments() const
static void Debug(const char *fmt,...)
std::vector< GFace * > _faces
static double c(int i, int j, fullMatrix< double > &CA, const std::vector< SPoint3 > &P, const std::vector< SPoint3 > &Q)
void setEndVertex(GVertex *gv)
void f(int n, double u, double *val)
virtual bool XYZToU(const double X, const double Y, const double Z, double &U, const double relax=1, bool first=true) const
virtual void writeGEO(FILE *fp)
virtual std::size_t numFaces() const
void setVertex(GVertex *const f, const int orientation)
void addLine(MLine *line)
double prescribedMeshSizeAtParam(double u)
virtual void discretize(double tol, std::vector< SPoint3 > &dpts, std::vector< double > &ts)
std::size_t getNumMeshParentElements()
double prescribedMeshSizeAtVertex() const
virtual void getElementTypes(std::vector< int > &types) const
double getLowerBound() const
void setTooSmall(bool const b)
virtual std::string getAdditionalInfoString(bool multline=false)
std::size_t getNumMeshElementsByType(const int familyType) const
virtual void delFace(GFace *f)
virtual SVector3 firstDer(double par) const =0
virtual SOrientedBoundingBox getOBB()
std::vector< MVertex * > mesh_vertices
virtual GVertex * getBeginVertex() const
SPoint3 closestPointWithTol(SPoint3 &p, double tolerance)
struct GEdge::@16 meshAttributes
virtual bool refineProjection(const SVector3 &Q, double &u, int MaxIter, double relax, double tol, double &err) const
virtual bool is3D() const
virtual bool isSeam(const GFace *face) const
virtual double tolerance() const
virtual SVector3 position(double p) const
virtual Range< double > parBoundsOnFace(GFace *face=nullptr) const
virtual void writePY(FILE *fp)
std::vector< SPoint3 > stl_vertices_xyz
virtual std::vector< GVertex * > vertices() const
virtual std::vector< GFace * > faces() const
virtual double curvature(double par) const
std::vector< double > _u_lc
virtual bool containsPoint(const SPoint3 &pt) const
GEntity::MeshGenerationStatus status
virtual SBoundingBox3d bounds(bool fast=false)
struct GEdge::@17 meshStatistics
virtual GPoint closestPoint(const SPoint3 &queryPoint, double ¶m) const
virtual bool reorder(const int elementType, const std::vector< std::size_t > &ordering)
virtual Range< double > parBounds(int i) const =0
virtual bool isMeshDegenerated() const
virtual bool containsParam(double pt) const
virtual GPoint point(double p) const =0
virtual void deleteMesh()
void relocateMeshVertices()
void setBeginVertex(GVertex *gv)
void removeElement(int type, MElement *e)
virtual GEntity * getParentEntity()
virtual void setColor(unsigned int val, bool recursive=false)
std::size_t getNumMeshElements() const
MElement * getMeshElementByType(const int familyType, const std::size_t index) const
virtual GVertex * getEndVertex() const
std::vector< double > _lc
virtual SVector3 secondDer(double par) const
void addElement(int type, MElement *e)
double getUpperBound() const
GEdge(GModel *model, int tag, GVertex *v0, GVertex *v1)
virtual double parFromPoint(const SPoint3 &P) const
virtual void mesh(bool verbose)
void removeElements(int type)