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

#include <gmshLevelset.h>

Inheritance diagram for gLevelsetPopcorn:
Collaboration diagram for gLevelsetPopcorn:

Public Member Functions

 gLevelsetPopcorn (double xc, double yc, double zc, double r0, double A, double sigma, int tag=0)
 
 ~gLevelsetPopcorn ()
 
double operator() (double x, double y, double z) const
 
int type () const
 
- Public Member Functions inherited from gLevelsetPrimitive
 gLevelsetPrimitive ()
 
 gLevelsetPrimitive (const gLevelsetPrimitive &lv)
 
 gLevelsetPrimitive (int tag)
 
std::vector< gLevelset * > getChildren () const
 
double choose (double d1, double d2) const
 
virtual bool isPrimitive () 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)
 
virtual int getTag () const
 
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
 

Private Attributes

double A
 
double sigma
 
double r0
 
double xc
 
double yc
 
double zc
 

Additional Inherited Members

- Static Public Member Functions inherited from gLevelset
static gLevelsetfind (int tag)
 
static void add (gLevelset *l)
 
- 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 310 of file gmshLevelset.h.

Constructor & Destructor Documentation

◆ gLevelsetPopcorn()

gLevelsetPopcorn::gLevelsetPopcorn ( double  xc,
double  yc,
double  zc,
double  r0,
double  A,
double  sigma,
int  tag = 0 
)

Definition at line 808 of file gmshLevelset.cpp.

◆ ~gLevelsetPopcorn()

gLevelsetPopcorn::~gLevelsetPopcorn ( )
inline

Definition at line 319 of file gmshLevelset.h.

Member Function Documentation

◆ operator()()

double gLevelsetPopcorn::operator() ( double  x,
double  y,
double  z 
) const
virtual

Implements gLevelsetPrimitive.

Definition at line 821 of file gmshLevelset.cpp.

◆ type()

int gLevelsetPopcorn::type ( ) const
inlinevirtual

Implements gLevelsetPrimitive.

Definition at line 321 of file gmshLevelset.h.

Member Data Documentation

◆ A

double gLevelsetPopcorn::A
private

Definition at line 311 of file gmshLevelset.h.

Referenced by gLevelsetPopcorn(), and operator()().

◆ r0

double gLevelsetPopcorn::r0
private

Definition at line 313 of file gmshLevelset.h.

Referenced by gLevelsetPopcorn(), and operator()().

◆ sigma

double gLevelsetPopcorn::sigma
private

Definition at line 312 of file gmshLevelset.h.

Referenced by gLevelsetPopcorn(), and operator()().

◆ xc

double gLevelsetPopcorn::xc
private

Definition at line 314 of file gmshLevelset.h.

Referenced by gLevelsetPopcorn(), and operator()().

◆ yc

double gLevelsetPopcorn::yc
private

Definition at line 314 of file gmshLevelset.h.

Referenced by gLevelsetPopcorn(), and operator()().

◆ zc

double gLevelsetPopcorn::zc
private

Definition at line 314 of file gmshLevelset.h.

Referenced by gLevelsetPopcorn(), and operator()().


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