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

#include <FuncHeaviside.h>

Inheritance diagram for FuncHeaviside:
Collaboration diagram for FuncHeaviside:

Public Member Functions

 FuncHeaviside (gLevelset *ls)
 
virtual double operator() (double x, double y, double z) const
 
virtual double operator() (double x, double y, double z, MElement *e) const
 
virtual void gradient (double x, double y, double z, double &dfdx, double &dfdy, double &dfdz) const
 
virtual void gradient (double x, double y, double z, double &dfdx, double &dfdy, double &dfdz, MElement *e) const
 
- Public Member Functions inherited from simpleFunctionOnElement< double >
 simpleFunctionOnElement (double val=0)
 
virtual ~simpleFunctionOnElement ()
 
void setElement (MElement *e) const
 
MElementgetElement (void) const
 
MElementgetElement (double x, double y, double z) const
 
- Public Member Functions inherited from simpleFunction< double >
 simpleFunction (double val=0.0)
 
virtual ~simpleFunction ()
 
virtual bool hasDerivatives ()
 
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

gLevelset_ls
 

Additional Inherited Members

- Protected Attributes inherited from simpleFunction< double >
double _val
 
bool _hasDerivatives
 

Detailed Description

Definition at line 16 of file FuncHeaviside.h.

Constructor & Destructor Documentation

◆ FuncHeaviside()

FuncHeaviside::FuncHeaviside ( gLevelset ls)
inline

Definition at line 21 of file FuncHeaviside.h.

Member Function Documentation

◆ gradient() [1/2]

virtual void FuncHeaviside::gradient ( double  x,
double  y,
double  z,
double &  dfdx,
double &  dfdy,
double &  dfdz 
) const
inlinevirtual

Reimplemented from simpleFunction< double >.

Definition at line 36 of file FuncHeaviside.h.

◆ gradient() [2/2]

virtual void FuncHeaviside::gradient ( double  x,
double  y,
double  z,
double &  dfdx,
double &  dfdy,
double &  dfdz,
MElement e 
) const
inlinevirtual

Definition at line 41 of file FuncHeaviside.h.

◆ operator()() [1/2]

virtual double FuncHeaviside::operator() ( double  x,
double  y,
double  z 
) const
inlinevirtual

Reimplemented from simpleFunction< double >.

Definition at line 22 of file FuncHeaviside.h.

Here is the call graph for this function:

◆ operator()() [2/2]

virtual double FuncHeaviside::operator() ( double  x,
double  y,
double  z,
MElement e 
) const
inlinevirtual

Definition at line 29 of file FuncHeaviside.h.

Here is the call graph for this function:

Member Data Documentation

◆ _ls

gLevelset* FuncHeaviside::_ls
private

Definition at line 18 of file FuncHeaviside.h.

Referenced by operator()().


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