gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
discreteRegion.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 DISCRETE_REGION_H
7 #define DISCRETE_REGION_H
8 
9 #include "GModel.h"
10 #include "GRegion.h"
11 #include "MFace.h"
12 
13 class discreteRegion : public GRegion {
14 private:
15  bool _geometry;
16 
17 public:
18  discreteRegion(GModel *model, int num);
20  virtual ~discreteRegion() {}
21  virtual GeomType geomType() const { return DiscreteVolume; }
22  virtual bool haveParametrization() { return _geometry; }
23  int createGeometry();
24 };
25 
26 #endif
discreteRegion::geomType
virtual GeomType geomType() const
Definition: discreteRegion.h:21
discreteRegion::_geometry
bool _geometry
Definition: discreteRegion.h:15
GEntity::model
GModel * model() const
Definition: GEntity.h:277
discreteRegion
Definition: discreteRegion.h:13
GRegion.h
MFace.h
GEntity::DiscreteVolume
@ DiscreteVolume
Definition: GEntity.h:120
discreteRegion::discreteRegion
discreteRegion(GModel *model, int num)
Definition: discreteRegion.cpp:10
GModel
Definition: GModel.h:44
discreteRegion::createGeometry
int createGeometry()
Definition: discreteRegion.cpp:22
GRegion
Definition: GRegion.h:28
GEntity::GeomType
GeomType
Definition: GEntity.h:88
discreteRegion::~discreteRegion
virtual ~discreteRegion()
Definition: discreteRegion.h:20
GModel.h
discreteRegion::haveParametrization
virtual bool haveParametrization()
Definition: discreteRegion.h:22