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

#include <gmshLevelset.h>

Inheritance diagram for gLevelsetUnion:
Collaboration diagram for gLevelsetUnion:

Public Member Functions

 gLevelsetUnion (const std::vector< gLevelset * > &p, bool delC=false, int tag=0)
 
 gLevelsetUnion (const gLevelsetUnion &lv)
 
virtual gLevelsetclone () const
 
double choose (double d1, double d2) const
 
int type2 () const
 
- Public Member Functions inherited from gLevelsetTools
 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 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 ()
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from gLevelset
static gLevelsetfind (int tag)
 
static void add (gLevelset *l)
 
- Protected Attributes inherited from gLevelsetTools
std::vector< gLevelset * > children
 
bool _delChildren
 
- Protected Attributes inherited from gLevelset
int tag_
 
- Protected Attributes inherited from simpleFunction< double >
double _val
 
bool _hasDerivatives
 
- 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 539 of file gmshLevelset.h.

Constructor & Destructor Documentation

◆ gLevelsetUnion() [1/2]

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

Definition at line 541 of file gmshLevelset.h.

Referenced by clone().

Here is the caller graph for this function:

◆ gLevelsetUnion() [2/2]

gLevelsetUnion::gLevelsetUnion ( const gLevelsetUnion lv)
inline

Definition at line 546 of file gmshLevelset.h.

Member Function Documentation

◆ choose()

double gLevelsetUnion::choose ( double  d1,
double  d2 
) const
inlinevirtual

Implements gLevelsetTools.

Definition at line 549 of file gmshLevelset.h.

◆ clone()

virtual gLevelset* gLevelsetUnion::clone ( ) const
inlinevirtual

Reimplemented from gLevelset.

Definition at line 547 of file gmshLevelset.h.

Here is the call graph for this function:

◆ type2()

int gLevelsetUnion::type2 ( ) const
inlinevirtual

Implements gLevelsetTools.

Definition at line 553 of file gmshLevelset.h.


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