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

#include <BackgroundMesh.h>

Collaboration diagram for GlobalBackgroundMesh:

Public Member Functions

 GlobalBackgroundMesh (const std::string &_name)
 
 GlobalBackgroundMesh (GlobalBackgroundMesh const &)=delete
 
GlobalBackgroundMeshoperator= (GlobalBackgroundMesh const &)=delete
 
 ~GlobalBackgroundMesh ()
 
int importGModelMeshes (GModel *gm, bool overwriteExisting=true)
 Fill the entityMesh map by copying the meshes in the GModel. New MVertex, MLine and MTriangle instances are created, the background meshes are totally independant from the ones in the GModel after this function call. Quadrangles in GFace are split into two triangles. More...
 

Public Attributes

const std::string & name
 
GModelgm
 
std::unordered_map< GEdge *, BackgroundMeshGEdgeedgeBackgroundMeshes
 
std::unordered_map< GFace *, BackgroundMeshGFacefaceBackgroundMeshes
 
std::vector< MVertex * > mesh_vertices
 

Detailed Description

Definition at line 144 of file BackgroundMesh.h.

Constructor & Destructor Documentation

◆ GlobalBackgroundMesh() [1/2]

GlobalBackgroundMesh::GlobalBackgroundMesh ( const std::string &  _name)
inline

Definition at line 153 of file BackgroundMesh.h.

◆ GlobalBackgroundMesh() [2/2]

GlobalBackgroundMesh::GlobalBackgroundMesh ( GlobalBackgroundMesh const &  )
delete

◆ ~GlobalBackgroundMesh()

GlobalBackgroundMesh::~GlobalBackgroundMesh ( )

Definition at line 751 of file BackgroundMesh.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ importGModelMeshes()

int GlobalBackgroundMesh::importGModelMeshes ( GModel gm,
bool  overwriteExisting = true 
)

Fill the entityMesh map by copying the meshes in the GModel. New MVertex, MLine and MTriangle instances are created, the background meshes are totally independant from the ones in the GModel after this function call. Quadrangles in GFace are split into two triangles.

Parameters
gmthe GModel containing the GEntity whose meshes are imported
overwriteExistingDelete existing background meshes before importing new ones
Warning
Only import GVertex, GEdge, GFace for the moment, not GRegion
Returns
0 if successful import

Definition at line 764 of file BackgroundMesh.cpp.

Here is the call graph for this function:

◆ operator=()

GlobalBackgroundMesh& GlobalBackgroundMesh::operator= ( GlobalBackgroundMesh const &  )
delete

Member Data Documentation

◆ edgeBackgroundMeshes

std::unordered_map<GEdge *, BackgroundMeshGEdge> GlobalBackgroundMesh::edgeBackgroundMeshes

Definition at line 148 of file BackgroundMesh.h.

Referenced by importGModelMeshes(), and ~GlobalBackgroundMesh().

◆ faceBackgroundMeshes

std::unordered_map<GFace *, BackgroundMeshGFace> GlobalBackgroundMesh::faceBackgroundMeshes

Definition at line 149 of file BackgroundMesh.h.

Referenced by importGModelMeshes(), and ~GlobalBackgroundMesh().

◆ gm

GModel* GlobalBackgroundMesh::gm

Definition at line 147 of file BackgroundMesh.h.

Referenced by importGModelMeshes().

◆ mesh_vertices

std::vector<MVertex *> GlobalBackgroundMesh::mesh_vertices

Definition at line 150 of file BackgroundMesh.h.

Referenced by importGModelMeshes(), and ~GlobalBackgroundMesh().

◆ name

const std::string& GlobalBackgroundMesh::name

Definition at line 146 of file BackgroundMesh.h.


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