gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
68 (*
l_edges.begin())->getEndVertex()) {
80 if((C[0]->beg ==
_v && C[3]->beg ==
_v) ||
82 (C[0]->beg ==
_v && C[3]->end ==
_v) ||
86 else if((C[0]->beg ==
_v && C[1]->beg ==
_v) ||
88 (C[0]->beg ==
_v && C[1]->end ==
_v) ||
93 else if((C[2]->beg ==
_v && C[1]->beg ==
_v) ||
95 (C[2]->beg ==
_v && C[1]->end ==
_v) ||
100 else if((C[2]->beg ==
_v && C[3]->beg ==
_v) ||
102 (C[2]->beg ==
_v && C[3]->end ==
_v) ||
118 if((C[0]->beg ==
_v && C[2]->beg ==
_v) ||
119 (C[0]->end ==
_v && C[2]->beg ==
_v) ||
120 (C[0]->beg ==
_v && C[2]->end ==
_v) ||
121 (C[0]->end ==
_v && C[2]->end ==
_v)) {
124 else if((C[0]->beg ==
_v && C[1]->beg ==
_v) ||
125 (C[0]->end ==
_v && C[1]->beg ==
_v) ||
126 (C[0]->beg ==
_v && C[1]->end ==
_v) ||
127 (C[0]->end ==
_v && C[1]->end ==
_v)) {
131 else if((C[2]->beg ==
_v && C[1]->beg ==
_v) ||
132 (C[2]->end ==
_v && C[1]->beg ==
_v) ||
133 (C[2]->beg ==
_v && C[1]->end ==
_v) ||
134 (C[2]->end ==
_v && C[1]->end ==
_v)) {
163 if(meshSizeParameter.size())
164 fprintf(fp,
"Point(%d) = {%.16g, %.16g, %.16g, %s};\n",
tag(),
165 xx, yy, zz, meshSizeParameter.c_str());
167 fprintf(fp,
"Point(%d) = {%.16g, %.16g, %.16g, %.16g};\n",
tag(),
170 fprintf(fp,
"Point(%d) = {%.16g, %.16g, %.16g};\n",
tag(),
182 fct =
"gmsh.model.geo.addPointOnGeometry(1, ";
188 fct =
"gmsh.model.geo.addPoint(";
191 if(meshSizeParameter.size())
192 fprintf(fp,
"%s%.16g, %.16g, %.16g, %s, %d)\n",
193 fct, xx, yy, zz, meshSizeParameter.c_str(),
tag());
195 fprintf(fp,
"%s%.16g, %.16g, %.16g, %.16g, %d)\n",
198 fprintf(fp,
"%s%.16g, %.16g, %.16g, tag=%d)\n",
199 fct, xx, yy, zz,
tag());
virtual GeomType geomType() const
virtual void writePY(FILE *fp, const std::string &meshSizeParameter="")
static void Info(const char *fmt,...)
virtual void setPrescribedMeshSizeAtVertex(double l)
virtual void resetMeshAttributes()
virtual void * getNativePtr() const
std::vector< MVertex * > mesh_vertices
virtual double prescribedMeshSizeAtVertex() const
virtual void setPosition(GPoint &p)
virtual void writeGEO(FILE *fp, const std::string &meshSizeParameter="")
gmshVertex(GModel *m, Vertex *v)
std::vector< GEdge * > l_edges
void resetNativePtr(Vertex *v)
virtual Range< double > parBounds(int i) const
#define MSH_POINT_BND_LAYER
virtual SPoint2 reparamOnFace(const GFace *gf, int) const
virtual GPoint point() const
virtual SPoint2 reparamOnFace(const GFace *gf, int) const
void List_Read(List_T *liste, int index, void *data)