gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
discreteVertex Class Reference

#include <discreteVertex.h>

Inheritance diagram for discreteVertex:
Collaboration diagram for discreteVertex:

Public Member Functions

 discreteVertex (GModel *m, int num, double x=0., double y=0., double z=0.)
 
 discreteVertex (GModel *m)
 
virtual ~discreteVertex ()
 
virtual GPoint point () const
 
virtual double x () const
 
virtual double y () const
 
virtual double z () const
 
virtual void setPosition (GPoint &p)
 
- Public Member Functions inherited from GVertex
 GVertex (GModel *m, int tag, double ms=MAX_LC)
 
virtual ~GVertex ()
 
virtual void deleteMesh ()
 
virtual void resetMeshAttributes ()
 
virtual SPoint3 xyz () const
 
void addEdge (GEdge *e)
 
void delEdge (GEdge *e)
 
virtual std::list< GRegion * > regions () const
 
virtual std::vector< GEdge * > const & edges () const
 
virtual std::size_t numEdges () const
 
virtual std::vector< GFace * > faces () const
 
virtual int dim () const
 
virtual GEntitygetParentEntity ()
 
virtual bool isOrphan ()
 
virtual GeomType geomType () const
 
virtual double prescribedMeshSizeAtVertex () const
 
virtual void setPrescribedMeshSizeAtVertex (double l)
 
virtual SBoundingBox3d bounds (bool fast=false)
 
virtual SPoint2 reparamOnFace (const GFace *gf, int) const
 
virtual std::string getAdditionalInfoString (bool multline=false)
 
virtual void writeGEO (FILE *fp, const std::string &meshSizeParameter="")
 
virtual void writePY (FILE *fp, const std::string &meshSizeParameter="")
 
virtual void getElementTypes (std::vector< int > &types) const
 
std::size_t getNumMeshElements () const
 
std::size_t getNumMeshElementsByType (const int familyType) const
 
void getNumMeshElements (unsigned *const c) const
 
MElementgetMeshElement (std::size_t index) const
 
MElementgetMeshElementByType (const int familyType, const std::size_t index) const
 
bool isOnSeam (const GFace *gf) const
 
void relocateMeshVertices ()
 
void addPoint (MPoint *p)
 
void addElement (int type, MElement *e)
 
void removeElement (int type, MElement *e)
 
void removeElements (int type)
 
virtual bool reorder (const int elementType, const std::vector< std::size_t > &ordering)
 
- Public Member Functions inherited from GEntity
void addVerticesInSet (std::set< MVertex * > &, bool closure) const
 
virtual std::string getTypeString ()
 
 GEntity (GModel *m, int t)
 
virtual ~GEntity ()
 
virtual void mesh (bool verbose)
 
void deleteVertexArrays ()
 
virtual std::vector< GVertex * > vertices () const
 
std::vector< GRegion * > bindingsGetRegions ()
 
std::vector< GFace * > bindingsGetFaces ()
 
std::vector< GEdge * > bindingsGetEdges () const
 
std::vector< GVertex * > bindingsGetVertices ()
 
virtual bool continuous (int dim) const
 
virtual bool periodic (int dim) const
 
virtual double period (int dim) const
 
virtual bool degenerate (int dim) const
 
virtual bool haveParametrization ()
 
virtual bool isFullyDiscrete ()
 
virtual Range< double > parBounds (int i) const
 
virtual double tolerance () const
 
virtual bool containsPoint (const SPoint3 &pt) const
 
virtual ModelType getNativeType () const
 
virtual void * getNativePtr () const
 
virtual int getNativeInt () const
 
GModelmodel () const
 
int tag () const
 
void setTag (int tag)
 
virtual void addPhysicalEntity (int physicalTag)
 
virtual std::vector< int > getPhysicalEntities ()
 
GEntitygetMeshMaster () const
 
void setMeshMaster (GEntity *)
 
void setMeshMaster (GEntity *, const std::vector< double > &, bool updateCorrespondingVertices=true)
 
void updateCorrespondingVertices ()
 
void copyMasterCoordinates ()
 
virtual void alignElementsWithMaster ()
 
virtual SOrientedBoundingBox getOBB ()
 
virtual char getVisibility ()
 
virtual void setVisibility (char val, bool recursive=false)
 
virtual char getSelection ()
 
virtual void setSelection (char val)
 
virtual unsigned int getColor ()
 
virtual void setColor (unsigned color, bool recursive=false)
 
virtual bool useColor ()
 
virtual std::string getInfoString (bool additional=true, bool multiline=false)
 
virtual double getMeshSize () const
 
virtual double getMeshSizeFactor () const
 
virtual std::size_t getNumMeshParentElements ()
 
virtual MElement *const * getStartElementType (int type) const
 
bool getAllElementsVisible ()
 
void setAllElementsVisible (bool val)
 
std::size_t getNumMeshVertices ()
 
MVertexgetMeshVertex (std::size_t index)
 
void addMeshVertex (MVertex *v)
 
void removeMeshVertex (MVertex *v)
 
GVertexcast2Vertex ()
 
GEdgecast2Edge ()
 
GFacecast2Face ()
 
GRegioncast2Region ()
 

Private Attributes

Vertex_v
 

Additional Inherited Members

- Public Types inherited from GEntity
enum  ModelType {
  UnknownModel, GmshModel, OpenCascadeModel, AcisModel,
  ParasolidModel
}
 
enum  GeomType {
  Unknown, Point, BoundaryLayerPoint, Line,
  Circle, Ellipse, Conic, Parabola,
  Hyperbola, TrimmedCurve, OffsetCurve, BSpline,
  Bezier, ParametricCurve, BoundaryLayerCurve, DiscreteCurve,
  Plane, Nurb, Cylinder, Sphere,
  Cone, Torus, RuledSurface, ParametricSurface,
  BSplineSurface, BezierSurface, SurfaceOfRevolution, BoundaryLayerSurface,
  DiscreteSurface, DiscreteDiskSurface, Volume, DiscreteVolume,
  PartitionPoint, PartitionCurve, PartitionSurface, PartitionVolume,
  GhostCurve, GhostSurface, GhostVolume
}
 
enum  MeshGenerationStatus { PENDING, DONE, FAILED }
 
- Public Attributes inherited from GVertex
std::vector< MPoint * > points
 
- Public Attributes inherited from GEntity
std::vector< MVertex * > mesh_vertices
 
std::vector< GEntity * > compound
 
std::map< GVertex *, GVertex * > vertexCounterparts
 
std::vector< int > physicals
 
VertexArrayva_lines
 
VertexArrayva_triangles
 
std::set< MElement * > curvedBLElements
 
std::vector< double > affineTransform
 
std::map< MVertex *, MVertex * > correspondingVertices
 
std::map< MVertex *, MVertex * > correspondingHighOrderVertices
 
- Protected Attributes inherited from GVertex
std::vector< GEdge * > l_edges
 
double meshSize
 
- Protected Attributes inherited from GEntity
SOrientedBoundingBox_obb
 

Detailed Description

Definition at line 15 of file discreteVertex.h.

Constructor & Destructor Documentation

◆ discreteVertex() [1/2]

discreteVertex::discreteVertex ( GModel m,
int  num,
double  x = 0.,
double  y = 0.,
double  z = 0. 
)

Definition at line 14 of file discreteVertex.cpp.

Here is the call graph for this function:

◆ discreteVertex() [2/2]

discreteVertex::discreteVertex ( GModel m)

Definition at line 21 of file discreteVertex.cpp.

◆ ~discreteVertex()

discreteVertex::~discreteVertex ( )
virtual

Definition at line 27 of file discreteVertex.cpp.

Member Function Documentation

◆ point()

GPoint discreteVertex::point ( ) const
virtual

Implements GVertex.

Definition at line 29 of file discreteVertex.cpp.

Here is the call graph for this function:

◆ setPosition()

void discreteVertex::setPosition ( GPoint p)
virtual

Reimplemented from GVertex.

Definition at line 31 of file discreteVertex.cpp.

Here is the call graph for this function:

◆ x()

double discreteVertex::x ( ) const
virtual

Implements GVertex.

Definition at line 45 of file discreteVertex.cpp.

Referenced by discreteVertex(), GeomMeshMatcher::matchVertices(), and point().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ y()

double discreteVertex::y ( ) const
virtual

Implements GVertex.

Definition at line 53 of file discreteVertex.cpp.

Referenced by discreteVertex(), GeomMeshMatcher::matchVertices(), and point().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ z()

double discreteVertex::z ( ) const
virtual

Implements GVertex.

Definition at line 61 of file discreteVertex.cpp.

Referenced by discreteVertex(), GeomMeshMatcher::matchVertices(), and point().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _v

Vertex* discreteVertex::_v
private

Definition at line 17 of file discreteVertex.h.

Referenced by discreteVertex(), setPosition(), x(), y(), and z().


The documentation for this class was generated from the following files: