gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GMSH_LevelsetPlugin Class Referenceabstract

#include <Levelset.h>

Inheritance diagram for GMSH_LevelsetPlugin:
Collaboration diagram for GMSH_LevelsetPlugin:

Public Member Functions

 GMSH_LevelsetPlugin ()
 
virtual double levelset (double x, double y, double z, double val) const =0
 
virtual PViewexecute (PView *)
 
void assignSpecificVisibility () const
 
- 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 bool geometricalFilter (fullMatrix< double > *) const
 
- Public Member Functions inherited from GMSH_Plugin
 GMSH_Plugin ()
 
virtual ~GMSH_Plugin ()
 
virtual std::string getName () const =0
 
virtual std::string getShortHelp () const =0
 
virtual std::string getHelp () const =0
 
virtual std::string getAuthor () const
 
virtual std::string getCopyright () const
 
virtual void catchErrorMessage (char *errorMessage) const
 
virtual int getNbOptions () const
 
virtual StringXNumbergetOption (int iopt)
 
virtual int getNbOptionsStr () const
 
virtual StringXStringgetOptionStr (int iopt)
 
std::string serialize ()
 

Protected Types

enum  ORIENTATION { NONE, PLANE, SPHERE, MAP }
 

Protected Attributes

double _ref [3]
 
double _targetError
 
int _valueTimeStep
 
int _valueView
 
int _valueIndependent
 
int _recurLevel
 
int _extractVolume
 
ORIENTATION _orientation
 

Private Member Functions

void _addElement (int np, int numEdges, int numComp, double xp[12], double yp[12], double zp[12], double valp[12][9], PViewDataList *out, bool firstStep)
 
void _cutAndAddElements (PViewData *vdata, PViewData *wdata, int ent, int ele, int step, int wstep, double x[8], double y[8], double z[8], double levels[8], double scalarValues[8], PViewDataList *out)
 

Private Attributes

double _invert
 

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 11 of file Levelset.h.

Member Enumeration Documentation

◆ ORIENTATION

Enumerator
NONE 
PLANE 
SPHERE 
MAP 

Definition at line 26 of file Levelset.h.

Constructor & Destructor Documentation

◆ GMSH_LevelsetPlugin()

GMSH_LevelsetPlugin::GMSH_LevelsetPlugin ( )

Definition at line 224 of file Levelset.cpp.

Member Function Documentation

◆ _addElement()

void GMSH_LevelsetPlugin::_addElement ( int  np,
int  numEdges,
int  numComp,
double  xp[12],
double  yp[12],
double  zp[12],
double  valp[12][9],
PViewDataList out,
bool  firstStep 
)
private

Definition at line 238 of file Levelset.cpp.

Referenced by _cutAndAddElements().

Here is the caller graph for this function:

◆ _cutAndAddElements()

void GMSH_LevelsetPlugin::_cutAndAddElements ( PViewData vdata,
PViewData wdata,
int  ent,
int  ele,
int  step,
int  wstep,
double  x[8],
double  y[8],
double  z[8],
double  levels[8],
double  scalarValues[8],
PViewDataList out 
)
private

Definition at line 374 of file Levelset.cpp.

Referenced by execute().

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

◆ assignSpecificVisibility()

void GMSH_LevelsetPlugin::assignSpecificVisibility ( ) const
virtual

Reimplemented from GMSH_PostPlugin.

Definition at line 890 of file Levelset.cpp.

Here is the call graph for this function:

◆ execute()

PView * GMSH_LevelsetPlugin::execute ( PView v)
virtual

Implements GMSH_PostPlugin.

Reimplemented in GMSH_CutPlanePlugin, GMSH_CutSpherePlugin, and GMSH_IsosurfacePlugin.

Definition at line 537 of file Levelset.cpp.

Referenced by GMSH_IsosurfacePlugin::execute(), GMSH_CutSpherePlugin::execute(), and GMSH_CutPlanePlugin::execute().

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

◆ levelset()

virtual double GMSH_LevelsetPlugin::levelset ( double  x,
double  y,
double  z,
double  val 
) const
pure virtual

Implemented in GMSH_CutPlanePlugin, GMSH_CutSpherePlugin, and GMSH_IsosurfacePlugin.

Referenced by execute(), and recur_sign_change().

Here is the caller graph for this function:

Member Data Documentation

◆ _extractVolume

int GMSH_LevelsetPlugin::_extractVolume
protected

◆ _invert

double GMSH_LevelsetPlugin::_invert
private

Definition at line 13 of file Levelset.h.

Referenced by _cutAndAddElements(), and GMSH_LevelsetPlugin().

◆ _orientation

◆ _recurLevel

int GMSH_LevelsetPlugin::_recurLevel
protected

◆ _ref

double GMSH_LevelsetPlugin::_ref[3]
protected

◆ _targetError

double GMSH_LevelsetPlugin::_targetError
protected

◆ _valueIndependent

int GMSH_LevelsetPlugin::_valueIndependent
protected

◆ _valueTimeStep

int GMSH_LevelsetPlugin::_valueTimeStep
protected

◆ _valueView

int GMSH_LevelsetPlugin::_valueView
protected

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