gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
29 bool _transform(
int mode,
const std::vector<std::pair<int, int> > &dimTags,
30 double x,
double y,
double z,
double dx,
double dy,
double dz,
31 double a,
double b,
double c,
double d);
32 bool _extrude(
int mode,
const std::vector<std::pair<int, int> > &inDimTags,
33 double x,
double y,
double z,
double dx,
double dy,
double dz,
34 double ax,
double ay,
double az,
double angle,
35 std::vector<std::pair<int, int> > &outDimTags,
38 int numPoints,
bool bspline);
58 bool addVertex(
int &tag,
double x,
double y,
double z,
double lc);
60 bool addLine(
int &tag,
int startTag,
int endTag);
61 bool addLine(
int &tag,
const std::vector<int> &pointTags);
62 bool addCircleArc(
int &tag,
int startTag,
int centerTag,
int endTag,
63 double nx = 0.,
double ny = 0.,
double nz = 0.);
64 bool addEllipseArc(
int &tag,
int startTag,
int centerTag,
int majorTag,
65 int endTag,
double nx = 0.,
double ny = 0.,
67 bool addSpline(
int &tag,
const std::vector<int> &pointTags);
68 bool addBezier(
int &tag,
const std::vector<int> &pointTags);
69 bool addBSpline(
int &tag,
const std::vector<int> &pointTags,
70 const std::vector<double> &seqknots = std::vector<double>());
75 bool addCurveLoop(
int &tag,
const std::vector<int> &curveTags,
76 bool reorient =
false);
78 std::vector<int> &curveLoopTags);
82 int sphereCenterTag = -1);
83 bool addSurfaceLoop(
int &tag,
const std::vector<int> &surfaceTags);
84 bool addVolume(
int &tag,
const std::vector<int> &shellTags);
87 bool extrude(
const std::vector<std::pair<int, int> > &inDimTags,
double dx,
89 std::vector<std::pair<int, int> > &outDimTags,
91 bool revolve(
const std::vector<std::pair<int, int> > &inDimTags,
double x,
92 double y,
double z,
double ax,
double ay,
double az,
93 double angle, std::vector<std::pair<int, int> > &outDimTags,
95 bool twist(
const std::vector<std::pair<int, int> > &inDimTags,
double x,
96 double y,
double z,
double dx,
double dy,
double dz,
double ax,
97 double ay,
double az,
double angle,
98 std::vector<std::pair<int, int> > &outDimTags,
100 bool boundaryLayer(
const std::vector<std::pair<int, int> > &inDimTags,
101 std::vector<std::pair<int, int> > &outDimTags,
105 bool translate(
const std::vector<std::pair<int, int> > &dimTags,
double dx,
106 double dy,
double dz);
107 bool rotate(
const std::vector<std::pair<int, int> > &dimTags,
double x,
108 double y,
double z,
double ax,
double ay,
double az,
110 bool dilate(
const std::vector<std::pair<int, int> > &dimTags,
double x,
111 double y,
double z,
double a,
double b,
double c);
112 bool symmetry(
const std::vector<std::pair<int, int> > &dimTags,
double a,
113 double b,
double c,
double d);
116 bool splitCurve(
int tag,
const std::vector<int> &pointTags,
117 std::vector<int> &curveTags);
119 int surfaceTag, std::vector<int> &pointTags);
122 bool copy(
const std::vector<std::pair<int, int> > &inDimTags,
123 std::vector<std::pair<int, int> > &outDimTags);
124 bool remove(
int dim,
int tag,
bool recursive =
false);
125 bool remove(
const std::vector<std::pair<int, int> > &dimTags,
126 bool recursive =
false);
131 const std::vector<int> &
tags);
145 const std::vector<int> &cornerTags);
158 bool getVertex(
int tag,
double &x,
double &y,
double &
z);
void removeAllDuplicates()
static std::map< SPoint2, unsigned int > tags
bool addBSpline(int &tag, const std::vector< int > &pointTags, const std::vector< double > &seqknots=std::vector< double >())
int getMaxTag(int dim) const
bool boundaryLayer(const std::vector< std::pair< int, int > > &inDimTags, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0)
bool extrude(const std::vector< std::pair< int, int > > &inDimTags, double dx, double dy, double dz, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0)
bool rotate(const std::vector< std::pair< int, int > > &dimTags, double x, double y, double z, double ax, double ay, double az, double angle)
void setMaxTag(int dim, int val)
double angle(const SVector3 &a, const SVector3 &b)
void setTransfiniteVolumeQuadTri(int tag)
void setTransfiniteLine(int tag, int nPoints, int type, double coef)
void setMeshSizeFromBoundary(int dim, int tag, int val)
bool modifyPhysicalGroup(int dim, int tag, int op, const std::vector< int > &tags)
void setTransfiniteSurface(int tag, int arrangement, const std::vector< int > &cornerTags)
static double c(int i, int j, fullMatrix< double > &CA, const std::vector< SPoint3 > &P, const std::vector< SPoint3 > &Q)
bool addCompoundBSpline(int &tag, const std::vector< int > &curveTags, int numPoints)
void setRecombine(int dim, int tag, double angle)
List_T * DelPhysicalGroups
bool addSurfaceFilling(int &tag, const std::vector< int > &wireTags, int sphereCenterTag=-1)
void setMaxPhysicalTag(int val)
bool addEllipseArc(int &tag, int startTag, int centerTag, int majorTag, int endTag, double nx=0., double ny=0., double nz=0.)
bool addLine(int &tag, int startTag, int endTag)
bool addVolume(int &tag, const std::vector< int > &shellTags)
bool addSpline(int &tag, const std::vector< int > &pointTags)
bool addDiscreteSurface(int &tag)
bool _transform(int mode, const std::vector< std::pair< int, int > > &dimTags, double x, double y, double z, double dx, double dy, double dz, double a, double b, double c, double d)
bool symmetry(const std::vector< std::pair< int, int > > &dimTags, double a, double b, double c, double d)
bool splitCurve(int tag, const std::vector< int > &pointTags, std::vector< int > &curveTags)
void setCompoundMesh(int dim, const std::vector< int > &tags)
void setDegenerated(int dim, int tag)
void setMeshAlgorithm(int dim, int tag, int val)
bool getVertex(int tag, double &x, double &y, double &z)
int getMaxPhysicalTag() const
bool addVertex(int &tag, double x, double y, double z, double lc)
bool dilate(const std::vector< std::pair< int, int > > &dimTags, double x, double y, double z, double a, double b, double c)
gmshSurface * newGeometrySphere(int tag, int centerTag, int pointTag)
bool addCurveLoops(const std::vector< int > &curveTags, std::vector< int > &curveLoopTags)
bool _addCompoundSpline(int &tag, const std::vector< int > &curveTags, int numPoints, bool bspline)
bool translate(const std::vector< std::pair< int, int > > &dimTags, double dx, double dy, double dz)
bool addCircleArc(int &tag, int startTag, int centerTag, int endTag, double nx=0., double ny=0., double nz=0.)
bool intersectCurvesWithSurface(const std::vector< int > &curveTags, int surfaceTag, std::vector< int > &pointTags)
bool mergeVertices(const std::vector< int > &tags)
void setReverseMesh(int dim, int tag, bool val=1)
bool revolve(const std::vector< std::pair< int, int > > &inDimTags, double x, double y, double z, double ax, double ay, double az, double angle, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0)
bool copy(const std::vector< std::pair< int, int > > &inDimTags, std::vector< std::pair< int, int > > &outDimTags)
bool twist(const std::vector< std::pair< int, int > > &inDimTags, double x, double y, double z, double dx, double dy, double dz, double ax, double ay, double az, double angle, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0)
bool addCompoundSpline(int &tag, const std::vector< int > &curveTags, int numPoints)
bool addPlaneSurface(int &tag, const std::vector< int > &wireTags)
bool remove(int dim, int tag, bool recursive=false)
void setSmoothing(int tag, int val)
bool addSurfaceLoop(int &tag, const std::vector< int > &surfaceTags)
void setMeshSize(int dim, int tag, double size)
bool _extrude(int mode, const std::vector< std::pair< int, int > > &inDimTags, double x, double y, double z, double dx, double dy, double dz, double ax, double ay, double az, double angle, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0)
void resetPhysicalGroups()
void synchronize(GModel *model, bool resetMeshAttributes=true)
void setTransfiniteVolume(int tag, const std::vector< int > &cornerTags)
gmshSurface * newGeometryPolarSphere(int tag, int centerTag, int pointTag)
bool addCurveLoop(int &tag, const std::vector< int > &curveTags, bool reorient=false)
std::multimap< int, std::vector< int > > _meshCompounds
bool addBezier(int &tag, const std::vector< int > &pointTags)