gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
gmshRegion.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_REGION_H
7 #define GMSH_REGION_H
8 
9 #include "GRegion.h"
10 
11 class Volume;
12 
13 class gmshRegion : public GRegion {
14 private:
16 
17 public:
18  gmshRegion(GModel *m, ::Volume *v);
19  virtual ~gmshRegion() {}
20  virtual GeomType geomType() const;
21  ModelType getNativeType() const { return GmshModel; }
22  void *getNativePtr() const { return _v; }
23  virtual void resetMeshAttributes();
24  void resetNativePtr(::Volume *v);
25 };
26 
27 #endif
Volume
Definition: Geo.h:140
GEntity::ModelType
ModelType
Definition: GEntity.h:79
gmshRegion::geomType
virtual GeomType geomType() const
Definition: gmshRegion.cpp:71
gmshRegion::_v
::Volume * _v
Definition: gmshRegion.h:15
gmshRegion::getNativeType
ModelType getNativeType() const
Definition: gmshRegion.h:21
gmshRegion::~gmshRegion
virtual ~gmshRegion()
Definition: gmshRegion.h:19
gmshRegion
Definition: gmshRegion.h:13
GEntity::GmshModel
@ GmshModel
Definition: GEntity.h:81
gmshRegion::resetNativePtr
void resetNativePtr(::Volume *v)
Definition: gmshRegion.cpp:18
GRegion.h
GModel
Definition: GModel.h:44
gmshRegion::gmshRegion
gmshRegion(GModel *m, ::Volume *v)
Definition: gmshRegion.cpp:12
gmshRegion::getNativePtr
void * getNativePtr() const
Definition: gmshRegion.h:22
gmshRegion::resetMeshAttributes
virtual void resetMeshAttributes()
Definition: gmshRegion.cpp:51
GRegion
Definition: GRegion.h:28
GEntity::GeomType
GeomType
Definition: GEntity.h:88