gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <gmshLevelset.h>
Public Member Functions | |
gLevelset (int tag=0) | |
gLevelset (const gLevelset &) | |
virtual | ~gLevelset () |
virtual gLevelset * | clone () const |
virtual double | operator() (double x, double y, double z) 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 |
virtual std::vector< gLevelset * > | getChildren () const |
virtual double | choose (double d1, double d2) const |
virtual int | type () const |
virtual bool | isPrimitive () 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 |
Static Public Member Functions | |
static gLevelset * | find (int tag) |
static void | add (gLevelset *l) |
Protected Attributes | |
int | tag_ |
Protected Attributes inherited from simpleFunction< double > | |
double | _val |
bool | _hasDerivatives |
Static Protected Attributes | |
static const short | insideDomain = -1 |
static int | maxTag_ = 0 |
static std::set< gLevelset *, gLevelsetLessThan > | all_ |
Definition at line 64 of file gmshLevelset.h.
|
inline |
Definition at line 76 of file gmshLevelset.h.
gLevelset::gLevelset | ( | const gLevelset & | lv | ) |
Definition at line 351 of file gmshLevelset.cpp.
|
inlinevirtual |
Definition at line 84 of file gmshLevelset.h.
|
static |
Definition at line 44 of file gmshLevelset.cpp.
|
inlinevirtual |
Reimplemented in gLevelsetTools, gLevelsetImproved, gLevelsetCrack, gLevelsetIntersection, gLevelsetUnion, gLevelsetCut, gLevelsetReverse, and gLevelsetPrimitive.
Definition at line 105 of file gmshLevelset.h.
Referenced by gLevelsetReverse::choose(), and gLevelsetImproved::choose().
|
inlinevirtual |
Reimplemented in gLevelsetConrod, gLevelsetCylinder, gLevelsetBox, gLevelsetIntersection, gLevelsetUnion, gLevelsetCut, gLevelsetGeneralQuadric, gLevelsetCone, gLevelsetEllipsoid, gLevelsetGenCylinder, gLevelsetPoints, and gLevelsetPlane.
Definition at line 87 of file gmshLevelset.h.
Referenced by gLevelsetImproved::gLevelsetImproved(), and gLevelsetTools::gLevelsetTools().
|
static |
Definition at line 36 of file gmshLevelset.cpp.
|
inlinevirtual |
Reimplemented in gLevelsetImproved, gLevelsetReverse, gLevelsetTools, and gLevelsetPrimitive.
Definition at line 101 of file gmshLevelset.h.
Referenced by gLevelsetReverse::getChildren(), gLevelsetImproved::getChildren(), getPrimitives(), getPrimitivesPO(), and getRPN().
void gLevelset::getPrimitives | ( | std::vector< gLevelset * > & | primitives | ) |
void gLevelset::getPrimitivesPO | ( | std::vector< gLevelset * > & | primitives | ) |
Definition at line 291 of file gmshLevelset.cpp.
Referenced by buildCutMesh().
void gLevelset::getRPN | ( | std::vector< gLevelset * > & | gLsRPN | ) |
Definition at line 321 of file gmshLevelset.cpp.
Referenced by buildCutMesh().
|
inlinevirtual |
Reimplemented in gLevelsetReverse, and gLevelsetTools.
Definition at line 109 of file gmshLevelset.h.
Referenced by gLevelsetReverse::getTag(), gLevelsetLessThan::operator()(), and print().
|
inline |
Definition at line 113 of file gmshLevelset.h.
Referenced by gLevelsetCylinder::gLevelsetCylinder().
|
inline |
Definition at line 89 of file gmshLevelset.h.
Referenced by H(), and FuncHeaviside::operator()().
|
inline |
Definition at line 97 of file gmshLevelset.h.
Referenced by H().
|
inline |
|
inlinevirtual |
Reimplemented in gLevelsetImproved, gLevelsetReverse, gLevelsetTools, and gLevelsetPrimitive.
Definition at line 107 of file gmshLevelset.h.
Referenced by gLevelsetReverse::isPrimitive(), and gLevelsetImproved::isPrimitive().
|
inlinevirtual |
Reimplemented from simpleFunction< double >.
Reimplemented in gLevelsetPrimitive, gLevelsetImproved, gLevelsetReverse, gLevelsetTools, gLevelsetYarn, gLevelsetNACA00, gLevelsetSimpleFunction, gLevelsetMathEvalAll, gLevelsetMathEval, gLevelsetShamrock, gLevelsetPopcorn, gLevelsetQuadric, gLevelsetPoints, gLevelsetPlane, and gLevelsetSphere.
Definition at line 88 of file gmshLevelset.h.
Referenced by isInsideDomain(), isOnBorder(), and isOutsideDomain().
|
inline |
|
inline |
Definition at line 108 of file gmshLevelset.h.
|
inlinevirtual |
Reimplemented in gLevelsetImproved, gLevelsetQuadric, gLevelsetPrimitive, gLevelsetConrod, gLevelsetCylinder, gLevelsetBox, gLevelsetReverse, gLevelsetTools, gLevelsetYarn, gLevelsetNACA00, gLevelsetSimpleFunction, gLevelsetMathEvalAll, gLevelsetMathEval, gLevelsetShamrock, gLevelsetPopcorn, gLevelsetGeneralQuadric, gLevelsetCone, gLevelsetEllipsoid, gLevelsetGenCylinder, gLevelsetPoints, gLevelsetPlane, and gLevelsetSphere.
Definition at line 106 of file gmshLevelset.h.
Referenced by print(), and gLevelsetReverse::type().
|
staticprotected |
Definition at line 73 of file gmshLevelset.h.
|
staticprotected |
Definition at line 67 of file gmshLevelset.h.
Referenced by isInsideDomain(), and isOutsideDomain().
|
staticprotected |
Definition at line 71 of file gmshLevelset.h.
Referenced by gLevelset().
|
protected |
Definition at line 69 of file gmshLevelset.h.
Referenced by getTag(), gLevelsetTools::getTag(), gLevelset(), and setTag().