gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <GVertex.h>
Public Member Functions | |
GVertex (GModel *m, int tag, double ms=MAX_LC) | |
virtual | ~GVertex () |
virtual void | deleteMesh () |
virtual void | resetMeshAttributes () |
virtual GPoint | point () const =0 |
virtual double | x () const =0 |
virtual double | y () const =0 |
virtual double | z () const =0 |
virtual SPoint3 | xyz () const |
virtual void | setPosition (GPoint &p) |
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 GEntity * | getParentEntity () |
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 |
MElement * | getMeshElement (std::size_t index) const |
MElement * | getMeshElementByType (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 |
GModel * | model () const |
int | tag () const |
void | setTag (int tag) |
virtual void | addPhysicalEntity (int physicalTag) |
virtual std::vector< int > | getPhysicalEntities () |
GEntity * | getMeshMaster () 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 () |
MVertex * | getMeshVertex (std::size_t index) |
void | addMeshVertex (MVertex *v) |
void | removeMeshVertex (MVertex *v) |
GVertex * | cast2Vertex () |
GEdge * | cast2Edge () |
GFace * | cast2Face () |
GRegion * | cast2Region () |
Public Attributes | |
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 |
VertexArray * | va_lines |
VertexArray * | va_triangles |
std::set< MElement * > | curvedBLElements |
std::vector< double > | affineTransform |
std::map< MVertex *, MVertex * > | correspondingVertices |
std::map< MVertex *, MVertex * > | correspondingHighOrderVertices |
Protected Attributes | |
std::vector< GEdge * > | l_edges |
double | meshSize |
Protected Attributes inherited from GEntity | |
SOrientedBoundingBox * | _obb |
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 } |
Definition at line 14 of file GVertex.cpp.
|
virtual |
void GVertex::addEdge | ( | GEdge * | e | ) |
Definition at line 37 of file GVertex.cpp.
Referenced by createTopologyFromMesh1D(), GEdge::GEdge(), gmshEdge::resetNativePtr(), GEdge::setBeginVertex(), and GEdge::setEndVertex().
|
virtual |
Reimplemented from GEntity.
Definition at line 196 of file GVertex.cpp.
|
inline |
Definition at line 122 of file GVertex.h.
Referenced by addElement().
|
inlinevirtual |
void GVertex::delEdge | ( | GEdge * | e | ) |
Definition at line 43 of file GVertex.cpp.
Referenced by GModel::remove(), and GEdge::~GEdge().
|
virtual |
Reimplemented from GEntity.
Definition at line 20 of file GVertex.cpp.
Referenced by copy_vertices(), and ~GVertex().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from GEntity.
Definition at line 54 of file GVertex.h.
Referenced by getAllParameters(), isOrphan(), max_edge_curvature(), max_edge_curvature_metric(), MElementOctree::MElementOctree(), meshGEdge::operator()(), reparamMeshVertexOnFace(), skipVertex(), and transferSeamGEdgesVerticesToGFace().
|
virtual |
Reimplemented from GEntity.
Definition at line 147 of file GVertex.cpp.
Referenced by isOrphan(), and regions().
|
inlinevirtual |
Reimplemented from GEntity.
Reimplemented in partitionVertex, and gmshVertex.
Definition at line 72 of file GVertex.h.
Referenced by Mesh2DWithBoundaryLayers(), and drawGVertex::operator()().
|
virtual |
Reimplemented from GEntity.
Definition at line 54 of file GVertex.cpp.
|
inlinevirtual |
|
virtual |
Reimplemented from GEntity.
Definition at line 124 of file GVertex.cpp.
Referenced by GModel::_readMSH4().
|
virtual |
Reimplemented from GEntity.
Definition at line 130 of file GVertex.cpp.
|
inlinevirtual |
Reimplemented from GEntity.
Definition at line 104 of file GVertex.h.
Referenced by GModel::_readMSH4().
|
virtual |
Reimplemented from GEntity.
Definition at line 119 of file GVertex.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 112 of file GVertex.cpp.
|
inlinevirtual |
Reimplemented from GEntity.
Reimplemented in partitionVertex.
bool GVertex::isOnSeam | ( | const GFace * | gf | ) | const |
|
virtual |
Reimplemented from GEntity.
Definition at line 175 of file GVertex.cpp.
Referenced by drawGVertex::operator()().
|
inlinevirtual |
Definition at line 57 of file GVertex.h.
Referenced by drawGVertex::operator()().
|
pure virtual |
Implemented in discreteVertex, and gmshVertex.
Referenced by GEdge::getAdditionalInfoString(), and Mesh2DWithBoundaryLayers().
|
inlinevirtual |
Definition at line 75 of file GVertex.h.
Referenced by DuplicateVertex(), getAdditionalInfoString(), LC_MVertex_PNTS(), writeGEO(), gmshVertex::writePY(), and writePY().
|
virtual |
Reimplemented from GEntity.
Definition at line 162 of file GVertex.cpp.
Referenced by isOrphan().
|
virtual |
Reimplemented from GEntity.
Definition at line 186 of file GVertex.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 205 of file GVertex.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 218 of file GVertex.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 227 of file GVertex.cpp.
Reimplemented in gmshVertex.
Definition at line 49 of file GVertex.cpp.
Referenced by getAllParameters(), reparamMeshVertexOnFace(), gmshVertex::reparamOnFace(), and transferSeamGEdgesVerticesToGFace().
|
virtual |
Reimplemented from GEntity.
Reimplemented in gmshVertex.
Definition at line 30 of file GVertex.cpp.
Referenced by GEO_Internals::synchronize().
|
virtual |
Reimplemented in discreteVertex, and gmshVertex.
Definition at line 32 of file GVertex.cpp.
Referenced by Mesh2DWithBoundaryLayers().
|
inlinevirtual |
Reimplemented in gmshVertex.
|
virtual |
Reimplemented in gmshVertex.
Definition at line 86 of file GVertex.cpp.
|
virtual |
Reimplemented in gmshVertex.
Definition at line 98 of file GVertex.cpp.
|
pure virtual |
Implemented in discreteVertex, and gmshVertex.
Referenced by addBoundaryLayerPoints(), bounds(), BoundaryLayerField::computeFor1dMesh(), GFace::computeMeanPlane(), createPoints(), DuplicateVertex(), getAdditionalInfoString(), getGVertex(), GeomMeshMatcher::matchVertices(), Mesh0D(), drawGVertex::operator()(), BoundaryLayerField::operator()(), relocateMeshVertices(), reparamOnFace(), GFace::setMeshMaster(), DistanceField::update(), writeGEO(), writePY(), and xyz().
|
inlinevirtual |
Definition at line 43 of file GVertex.h.
Referenced by discreteEdge::createGeometry(), GEdge::discretize(), getCandidateExtrudeInfo(), meshGEdgeProcessing(), and GEdge::setMeshMaster().
|
pure virtual |
Implemented in discreteVertex, and gmshVertex.
Referenced by addBoundaryLayerPoints(), bounds(), BoundaryLayerField::computeFor1dMesh(), GFace::computeMeanPlane(), createPoints(), DuplicateVertex(), getAdditionalInfoString(), getGVertex(), GeomMeshMatcher::matchVertices(), Mesh0D(), drawGVertex::operator()(), BoundaryLayerField::operator()(), relocateMeshVertices(), reparamOnFace(), GFace::setMeshMaster(), DistanceField::update(), writeGEO(), writePY(), and xyz().
|
pure virtual |
Implemented in discreteVertex, and gmshVertex.
Referenced by addBoundaryLayerPoints(), bounds(), BoundaryLayerField::computeFor1dMesh(), GFace::computeMeanPlane(), DuplicateVertex(), getAdditionalInfoString(), getGVertex(), GeomMeshMatcher::matchVertices(), Mesh0D(), drawGVertex::operator()(), BoundaryLayerField::operator()(), relocateMeshVertices(), reparamOnFace(), GFace::setMeshMaster(), DistanceField::update(), writeGEO(), writePY(), and xyz().
|
protected |
Definition at line 25 of file GVertex.h.
Referenced by addEdge(), delEdge(), edges(), faces(), getAdditionalInfoString(), isOnSeam(), numEdges(), and gmshVertex::reparamOnFace().
|
protected |
Definition at line 26 of file GVertex.h.
Referenced by prescribedMeshSizeAtVertex(), gmshVertex::resetMeshAttributes(), resetMeshAttributes(), gmshVertex::setPrescribedMeshSizeAtVertex(), and setPrescribedMeshSizeAtVertex().
std::vector<MPoint *> GVertex::points |
Definition at line 120 of file GVertex.h.
Referenced by _getEntitiesForElementTypes(), GModel::_storeElementsInEntities(), addPoint(), classifyFaces(), copy_elements(), createTopologyFromMesh1D(), deleteMesh(), GMSH_MeshSubEntitiesPlugin::execute(), GeomMeshMatcher::forceTomatch(), getMeshElement(), getMeshElementByType(), getNumMeshElements(), getNumMeshElementsByType(), Mesh0D(), removeElement(), removeElements(), and reorder().