gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
gmshVertex.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef GMSH_VERTEX_H
7 #define GMSH_VERTEX_H
8 
9 #include "GVertex.h"
10 
11 class Vertex;
12 
13 class gmshVertex : public GVertex {
14 private:
16 
17 public:
18  gmshVertex(GModel *m, Vertex *v);
19  virtual ~gmshVertex() {}
20  virtual void resetMeshAttributes();
21  virtual GPoint point() const;
22  virtual double x() const;
23  virtual double y() const;
24  virtual double z() const;
25  virtual void setPosition(GPoint &p);
26  virtual GeomType geomType() const;
27  virtual ModelType getNativeType() const { return GmshModel; }
28  virtual void *getNativePtr() const { return _v; }
29  virtual void setPrescribedMeshSizeAtVertex(double l);
30  virtual SPoint2 reparamOnFace(const GFace *gf, int) const;
31  virtual void writeGEO(FILE *fp, const std::string &meshSizeParameter = "");
32  virtual void writePY(FILE *fp, const std::string &meshSizeParameter = "");
33  void resetNativePtr(Vertex *v);
34 };
35 
36 #endif
gmshVertex::_v
Vertex * _v
Definition: gmshVertex.h:15
GEntity::ModelType
ModelType
Definition: GEntity.h:79
gmshVertex::geomType
virtual GeomType geomType() const
Definition: gmshVertex.cpp:47
gmshVertex::x
virtual double x() const
Definition: gmshVertex.cpp:29
gmshVertex::writePY
virtual void writePY(FILE *fp, const std::string &meshSizeParameter="")
Definition: gmshVertex.cpp:174
GFace
Definition: GFace.h:33
SPoint2
Definition: SPoint2.h:12
gmshVertex::getNativePtr
virtual void * getNativePtr() const
Definition: gmshVertex.h:28
gmshVertex::setPrescribedMeshSizeAtVertex
virtual void setPrescribedMeshSizeAtVertex(double l)
Definition: gmshVertex.cpp:55
Vertex
Definition: Geo.h:29
GEntity::GmshModel
@ GmshModel
Definition: GEntity.h:81
GPoint
Definition: GPoint.h:13
gmshVertex::resetMeshAttributes
virtual void resetMeshAttributes()
Definition: gmshVertex.cpp:22
GVertex
Definition: GVertex.h:23
gmshVertex::setPosition
virtual void setPosition(GPoint &p)
Definition: gmshVertex.cpp:35
GModel
Definition: GModel.h:44
gmshVertex::writeGEO
virtual void writeGEO(FILE *fp, const std::string &meshSizeParameter="")
Definition: gmshVertex.cpp:149
gmshVertex::y
virtual double y() const
Definition: gmshVertex.cpp:31
gmshVertex::gmshVertex
gmshVertex(GModel *m, Vertex *v)
Definition: gmshVertex.cpp:15
gmshVertex::~gmshVertex
virtual ~gmshVertex()
Definition: gmshVertex.h:19
gmshVertex::resetNativePtr
void resetNativePtr(Vertex *v)
Definition: gmshVertex.cpp:20
GEntity::GeomType
GeomType
Definition: GEntity.h:88
GVertex.h
gmshVertex::reparamOnFace
virtual SPoint2 reparamOnFace(const GFace *gf, int) const
Definition: gmshVertex.cpp:61
gmshVertex::point
virtual GPoint point() const
Definition: gmshVertex.cpp:24
gmshVertex::z
virtual double z() const
Definition: gmshVertex.cpp:33
gmshVertex::getNativeType
virtual ModelType getNativeType() const
Definition: gmshVertex.h:27
gmshVertex
Definition: gmshVertex.h:13