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

#include <ShowNeighborElements.h>

Inheritance diagram for GMSH_ShowNeighborElementsPlugin:
Collaboration diagram for GMSH_ShowNeighborElementsPlugin:

Public Member Functions

 GMSH_ShowNeighborElementsPlugin ()
 
std::string getName () const
 
std::string getShortHelp () const
 
std::string getHelp () const
 
std::string getAuthor () const
 
int getNbOptions () const
 
StringXNumbergetOption (int)
 
PViewexecute (PView *)
 
- Public Member Functions inherited from GMSH_PostPlugin
GMSH_PLUGIN_TYPE getType () const
 
virtual int run ()
 
virtual PViewexecuteRemote (PView *)
 
virtual PViewgetView (int index, PView *view)
 
virtual PViewDataListgetDataList (PView *view, bool showError=true)
 
virtual PViewDatagetPossiblyAdaptiveData (PView *view)
 
virtual void assignSpecificVisibility () const
 
virtual bool geometricalFilter (fullMatrix< double > *) const
 
- Public Member Functions inherited from GMSH_Plugin
 GMSH_Plugin ()
 
virtual ~GMSH_Plugin ()
 
virtual std::string getCopyright () const
 
virtual void catchErrorMessage (char *errorMessage) const
 
virtual int getNbOptionsStr () const
 
virtual StringXStringgetOptionStr (int iopt)
 
std::string serialize ()
 

Private Member Functions

void _init (GEntity *)
 
void _showLayers (GEntity *, int nLayer)
 

Private Attributes

int _nLayers
 
std::size_t _nel1
 
std::size_t _nel2
 
std::size_t _nel3
 
std::size_t _nel4
 
std::size_t _nel5
 
std::multimap< MVertex *, MElement * > _vert2elem
 
std::set< MVertex * > _vertices
 

Additional Inherited Members

- Public Types inherited from GMSH_Plugin
enum  GMSH_PLUGIN_TYPE { GMSH_CAD_PLUGIN, GMSH_MESH_PLUGIN, GMSH_POST_PLUGIN, GMSH_SOLVER_PLUGIN }
 
- Static Public Member Functions inherited from GMSH_Plugin
static void setDrawFunction (void(*fct)(void *))
 
- Public Attributes inherited from GMSH_Plugin
PluginDialogBox * dialogBox
 
void * hlib
 
- Static Public Attributes inherited from GMSH_Plugin
static void(* draw )(void *) = nullptr
 

Detailed Description

Definition at line 18 of file ShowNeighborElements.h.

Constructor & Destructor Documentation

◆ GMSH_ShowNeighborElementsPlugin()

GMSH_ShowNeighborElementsPlugin::GMSH_ShowNeighborElementsPlugin ( )
inline

Definition at line 26 of file ShowNeighborElements.h.

Member Function Documentation

◆ _init()

void GMSH_ShowNeighborElementsPlugin::_init ( GEntity ent)
private

Definition at line 79 of file ShowNeighborElements.cpp.

Referenced by execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _showLayers()

void GMSH_ShowNeighborElementsPlugin::_showLayers ( GEntity ent,
int  nLayer 
)
private

Definition at line 103 of file ShowNeighborElements.cpp.

Referenced by execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute()

PView * GMSH_ShowNeighborElementsPlugin::execute ( PView v)
virtual

Implements GMSH_PostPlugin.

Definition at line 48 of file ShowNeighborElements.cpp.

Here is the call graph for this function:

◆ getAuthor()

std::string GMSH_ShowNeighborElementsPlugin::getAuthor ( ) const
inlinevirtual

Reimplemented from GMSH_Plugin.

Definition at line 33 of file ShowNeighborElements.h.

◆ getHelp()

std::string GMSH_ShowNeighborElementsPlugin::getHelp ( ) const
virtual

Implements GMSH_Plugin.

Definition at line 42 of file ShowNeighborElements.cpp.

◆ getName()

std::string GMSH_ShowNeighborElementsPlugin::getName ( ) const
inlinevirtual

Implements GMSH_Plugin.

Definition at line 27 of file ShowNeighborElements.h.

◆ getNbOptions()

int GMSH_ShowNeighborElementsPlugin::getNbOptions ( ) const
virtual

Reimplemented from GMSH_Plugin.

Definition at line 33 of file ShowNeighborElements.cpp.

◆ getOption()

StringXNumber * GMSH_ShowNeighborElementsPlugin::getOption ( int  iopt)
virtual

Reimplemented from GMSH_Plugin.

Definition at line 38 of file ShowNeighborElements.cpp.

◆ getShortHelp()

std::string GMSH_ShowNeighborElementsPlugin::getShortHelp ( ) const
inlinevirtual

Implements GMSH_Plugin.

Definition at line 28 of file ShowNeighborElements.h.

Member Data Documentation

◆ _nel1

std::size_t GMSH_ShowNeighborElementsPlugin::_nel1
private

Definition at line 21 of file ShowNeighborElements.h.

Referenced by _init(), and execute().

◆ _nel2

std::size_t GMSH_ShowNeighborElementsPlugin::_nel2
private

Definition at line 21 of file ShowNeighborElements.h.

Referenced by _init(), and execute().

◆ _nel3

std::size_t GMSH_ShowNeighborElementsPlugin::_nel3
private

Definition at line 21 of file ShowNeighborElements.h.

Referenced by _init(), and execute().

◆ _nel4

std::size_t GMSH_ShowNeighborElementsPlugin::_nel4
private

Definition at line 21 of file ShowNeighborElements.h.

Referenced by _init(), and execute().

◆ _nel5

std::size_t GMSH_ShowNeighborElementsPlugin::_nel5
private

Definition at line 21 of file ShowNeighborElements.h.

Referenced by _init(), and execute().

◆ _nLayers

int GMSH_ShowNeighborElementsPlugin::_nLayers
private

Definition at line 20 of file ShowNeighborElements.h.

Referenced by execute().

◆ _vert2elem

std::multimap<MVertex *, MElement *> GMSH_ShowNeighborElementsPlugin::_vert2elem
private

Definition at line 22 of file ShowNeighborElements.h.

Referenced by _init(), and _showLayers().

◆ _vertices

std::set<MVertex *> GMSH_ShowNeighborElementsPlugin::_vertices
private

Definition at line 23 of file ShowNeighborElements.h.

Referenced by _init(), and _showLayers().


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