gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
135 const char *name[] = {
138 "Boundary layer point",
150 "Boundary layer curve",
159 "Parametric surface",
162 "Surface of Revolution",
163 "Boundary layer surface",
165 "Discrete surface (parametrizable, isomorphic to a disk)",
175 unsigned int type = (
unsigned int)
geomType();
176 if(type >=
sizeof(name) /
sizeof(name[0]))
187 virtual void mesh(
bool verbose) {}
196 virtual int dim()
const {
return -1; }
204 return std::list<GRegion *>();
208 virtual std::vector<GFace *>
faces()
const {
return std::vector<GFace *>(); }
211 virtual std::vector<GEdge *>
const &
edges()
const
213 static std::vector<GEdge *> i;
220 return std::vector<GVertex *>();
230 std::list<GRegion *> r =
regions();
231 return std::vector<GRegion *>(r.begin(), r.end());
319 virtual void setColor(
unsigned color,
bool recursive =
false)
329 bool multiline =
false);
366 const std::size_t index)
const
413 const std::vector<std::size_t> &ordering)
424 return ent1->
tag() < ent2->
tag();
431 if(ent1->
dim() != ent2->
dim())
return ent1->
dim() < ent2->
dim();
432 return ent1->
tag() < ent2->
tag();
439 return (ent1->
dim() == ent2->
dim()) && (ent1->
tag() == ent2->
tag());
446 return 10 * ent->
tag() + ent->
dim();
size_t operator()(GEntity const *const ent) const
virtual MElement * getMeshElementByType(const int familyType, const std::size_t index) const
std::vector< double > affineTransform
virtual bool continuous(int dim) const
virtual unsigned int getColor()
void setAllElementsVisible(bool val)
std::map< MVertex *, MVertex * > correspondingHighOrderVertices
std::vector< GVertex * > bindingsGetVertices()
virtual void removeElements(int type)
MVertex * getMeshVertex(std::size_t index)
virtual bool degenerate(int dim) const
virtual double getMeshSize() const
static double c(int i, int j, fullMatrix< double > &CA, const std::vector< SPoint3 > &P, const std::vector< SPoint3 > &Q)
SOrientedBoundingBox * _obb
virtual GEntity * getParentEntity()
VertexArray * va_triangles
std::vector< int > physicals
virtual void deleteMesh()
virtual ModelType getNativeType() const
virtual std::vector< GEdge * > const & edges() const
std::vector< GFace * > bindingsGetFaces()
virtual void addPhysicalEntity(int physicalTag)
virtual char getSelection()
virtual bool containsPoint(const SPoint3 &pt) const
std::vector< GEdge * > bindingsGetEdges() const
std::size_t getNumMeshVertices()
GEntity * getMeshMaster() const
virtual void setColor(unsigned color, bool recursive=false)
void removeMeshVertex(MVertex *v)
virtual void setVisibility(char val, bool recursive=false)
virtual double period(int dim) const
virtual void * getNativePtr() const
virtual bool periodic(int dim) const
virtual std::list< GRegion * > regions() const
virtual std::vector< GVertex * > vertices() const
std::vector< MVertex * > mesh_vertices
virtual std::size_t getNumMeshElements() const
virtual std::string getTypeString()
void copyMasterCoordinates()
bool operator()(const GEntity *ent1, const GEntity *ent2) const
virtual void alignElementsWithMaster()
virtual GeomType geomType() const
std::vector< GEntity * > compound
GEntity(GModel *m, int t)
virtual double tolerance() const
bool operator()(const GEntity *ent1, const GEntity *ent2) const
virtual void getElementTypes(std::vector< int > &types) const
void addVerticesInSet(std::set< MVertex * > &, bool closure) const
virtual Range< double > parBounds(int i) const
virtual void setSelection(char val)
virtual int getNativeInt() const
virtual void addElement(int type, MElement *e)
virtual bool reorder(const int elementType, const std::vector< std::size_t > &ordering)
virtual std::size_t getNumMeshParentElements()
bool getAllElementsVisible()
virtual void getNumMeshElements(unsigned *const c) const
std::set< MElement * > curvedBLElements
virtual MElement * getMeshElement(std::size_t index) const
virtual std::string getAdditionalInfoString(bool multline=false)
std::vector< GRegion * > bindingsGetRegions()
virtual std::size_t getNumMeshElementsByType(const int familyType) const
bool operator()(const GEntity *ent1, const GEntity *ent2) const
virtual double getMeshSizeFactor() const
virtual MElement *const * getStartElementType(int type) const
void setMeshMaster(GEntity *)
virtual std::vector< int > getPhysicalEntities()
std::map< GVertex *, GVertex * > vertexCounterparts
virtual bool isFullyDiscrete()
virtual void removeElement(int type, MElement *e)
virtual SBoundingBox3d bounds(bool fast=false)
virtual char getVisibility()
void updateCorrespondingVertices()
std::map< MVertex *, MVertex * > correspondingVertices
virtual std::vector< GFace * > faces() const
virtual void mesh(bool verbose)
void deleteVertexArrays()
virtual void relocateMeshVertices()
virtual void resetMeshAttributes()
virtual std::string getInfoString(bool additional=true, bool multiline=false)
virtual bool haveParametrization()
void addMeshVertex(MVertex *v)
virtual SOrientedBoundingBox getOBB()