gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
simpleFunctionOnElement< scalar > Class Template Reference

#include <simpleFunction.h>

Inheritance diagram for simpleFunctionOnElement< scalar >:
Collaboration diagram for simpleFunctionOnElement< scalar >:

Public Member Functions

 simpleFunctionOnElement (scalar 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< scalar >
 simpleFunction (scalar val=0.0)
 
virtual ~simpleFunction ()
 
virtual bool hasDerivatives ()
 
virtual scalar operator() (double x, double y, double z) const
 
virtual void gradient (double x, double y, double z, scalar &dfdx, scalar &dfdy, scalar &dfdz) const
 
virtual void hessian (double x, double y, double z, scalar &dfdxx, scalar &dfdxy, scalar &dfdxz, scalar &dfdyx, scalar &dfdyy, scalar &dfdyz, scalar &dfdzx, scalar &dfdzy, scalar &dfdzz) const
 

Private Attributes

MElement_e
 

Additional Inherited Members

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

Detailed Description

template<class scalar>
class simpleFunctionOnElement< scalar >

Definition at line 60 of file simpleFunction.h.

Constructor & Destructor Documentation

◆ simpleFunctionOnElement()

template<class scalar >
simpleFunctionOnElement< scalar >::simpleFunctionOnElement ( scalar  val = 0)
inline

Definition at line 64 of file simpleFunction.h.

◆ ~simpleFunctionOnElement()

template<class scalar >
virtual simpleFunctionOnElement< scalar >::~simpleFunctionOnElement ( )
inlinevirtual

Definition at line 67 of file simpleFunction.h.

Member Function Documentation

◆ getElement() [1/2]

template<class scalar >
MElement* simpleFunctionOnElement< scalar >::getElement ( double  x,
double  y,
double  z 
) const
inline

Definition at line 70 of file simpleFunction.h.

◆ getElement() [2/2]

template<class scalar >
MElement* simpleFunctionOnElement< scalar >::getElement ( void  ) const
inline

Definition at line 69 of file simpleFunction.h.

◆ setElement()

template<class scalar >
void simpleFunctionOnElement< scalar >::setElement ( MElement e) const
inlinevirtual

Reimplemented from simpleFunction< scalar >.

Definition at line 68 of file simpleFunction.h.

Member Data Documentation

◆ _e

template<class scalar >
MElement* simpleFunctionOnElement< scalar >::_e
mutableprivate

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