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

#include <gmshLevelset.h>

Inheritance diagram for gLevelsetTools:
Collaboration diagram for gLevelsetTools:

Public Member Functions

 gLevelsetTools (int tag=0)
 
 gLevelsetTools (const std::vector< gLevelset * > &p, bool delC=false, int tag=0)
 
 gLevelsetTools (const gLevelsetTools &)
 
virtual ~gLevelsetTools ()
 
double operator() (double x, double y, double z) const
 
std::vector< gLevelset * > getChildren () const
 
virtual double choose (double d1, double d2) const =0
 
virtual int type2 () const =0
 
virtual int type () const
 
virtual bool isPrimitive () const
 
int getTag () const
 
- Public Member Functions inherited from gLevelset
 gLevelset (int tag=0)
 
 gLevelset (const gLevelset &)
 
virtual ~gLevelset ()
 
virtual gLevelsetclone () const
 
bool isInsideDomain (const double &x, const double &y, const double &z) const
 
bool isOutsideDomain (const double &x, const double &y, const double &z) const
 
bool isOnBorder (const double &x, const double &y, const double &z) const
 
void setTag (int t)
 
void getPrimitives (std::vector< gLevelset * > &primitives)
 
void getPrimitivesPO (std::vector< gLevelset * > &primitives)
 
void getRPN (std::vector< gLevelset * > &gLsRPN)
 
double H (const double &x, const double &y, const double &z) const
 
void print () const
 
- Public Member Functions inherited from simpleFunction< double >
 simpleFunction (double val=0.0)
 
virtual ~simpleFunction ()
 
virtual bool hasDerivatives ()
 
virtual void setElement (MElement *e) const
 
virtual void gradient (double x, double y, double z, double &dfdx, double &dfdy, double &dfdz) const
 
virtual void hessian (double x, double y, double z, double &dfdxx, double &dfdxy, double &dfdxz, double &dfdyx, double &dfdyy, double &dfdyz, double &dfdzx, double &dfdzy, double &dfdzz) const
 

Protected Attributes

std::vector< gLevelset * > children
 
bool _delChildren
 
- Protected Attributes inherited from gLevelset
int tag_
 
- Protected Attributes inherited from simpleFunction< double >
double _val
 
bool _hasDerivatives
 

Additional Inherited Members

- Static Public Member Functions inherited from gLevelset
static gLevelsetfind (int tag)
 
static void add (gLevelset *l)
 
- Static Protected Attributes inherited from gLevelset
static const short insideDomain = -1
 
static int maxTag_ = 0
 
static std::set< gLevelset *, gLevelsetLessThanall_
 

Detailed Description

Definition at line 447 of file gmshLevelset.h.

Constructor & Destructor Documentation

◆ gLevelsetTools() [1/3]

gLevelsetTools::gLevelsetTools ( int  tag = 0)
inline

Definition at line 452 of file gmshLevelset.h.

◆ gLevelsetTools() [2/3]

gLevelsetTools::gLevelsetTools ( const std::vector< gLevelset * > &  p,
bool  delC = false,
int  tag = 0 
)
inline

Definition at line 453 of file gmshLevelset.h.

◆ gLevelsetTools() [3/3]

gLevelsetTools::gLevelsetTools ( const gLevelsetTools lv)

Definition at line 1205 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ ~gLevelsetTools()

virtual gLevelsetTools::~gLevelsetTools ( )
inlinevirtual

Definition at line 461 of file gmshLevelset.h.

Member Function Documentation

◆ choose()

virtual double gLevelsetTools::choose ( double  d1,
double  d2 
) const
pure virtual

Reimplemented from gLevelset.

Implemented in gLevelsetCrack, gLevelsetIntersection, gLevelsetUnion, and gLevelsetCut.

Referenced by operator()().

Here is the caller graph for this function:

◆ getChildren()

std::vector<gLevelset *> gLevelsetTools::getChildren ( ) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 476 of file gmshLevelset.h.

Referenced by gLevelsetTools().

Here is the caller graph for this function:

◆ getTag()

int gLevelsetTools::getTag ( ) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 493 of file gmshLevelset.h.

◆ isPrimitive()

virtual bool gLevelsetTools::isPrimitive ( ) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 488 of file gmshLevelset.h.

◆ operator()()

double gLevelsetTools::operator() ( double  x,
double  y,
double  z 
) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 467 of file gmshLevelset.h.

Here is the call graph for this function:

◆ type()

virtual int gLevelsetTools::type ( ) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 483 of file gmshLevelset.h.

Here is the call graph for this function:

◆ type2()

virtual int gLevelsetTools::type2 ( ) const
pure virtual

Implemented in gLevelsetCrack, gLevelsetIntersection, gLevelsetUnion, and gLevelsetCut.

Referenced by type().

Here is the caller graph for this function:

Member Data Documentation

◆ _delChildren

bool gLevelsetTools::_delChildren
protected

Definition at line 450 of file gmshLevelset.h.

Referenced by gLevelsetCrack::gLevelsetCrack(), gLevelsetTools(), and ~gLevelsetTools().

◆ children

std::vector<gLevelset *> gLevelsetTools::children
protected

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