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

#include <PViewAsSimpleFunction.h>

Inheritance diagram for PViewEvaluator:
Collaboration diagram for PViewEvaluator:

Public Member Functions

 PViewEvaluator (PView *pv)
 
double operator() (double x, double y, double z) const
 
void setStep (int s)
 
- 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

PView_pv
 
int _step
 

Additional Inherited Members

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

Detailed Description

Definition at line 13 of file PViewAsSimpleFunction.h.

Constructor & Destructor Documentation

◆ PViewEvaluator()

PViewEvaluator::PViewEvaluator ( PView pv)
inline

Definition at line 18 of file PViewAsSimpleFunction.h.

Member Function Documentation

◆ operator()()

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

Reimplemented from simpleFunction< double >.

Definition at line 10 of file PViewAsSimpleFunction.cpp.

Here is the call graph for this function:

◆ setStep()

void PViewEvaluator::setStep ( int  s)
inline

Definition at line 20 of file PViewAsSimpleFunction.h.

Member Data Documentation

◆ _pv

PView* PViewEvaluator::_pv
private

Definition at line 14 of file PViewAsSimpleFunction.h.

Referenced by operator()().

◆ _step

int PViewEvaluator::_step
private

Definition at line 15 of file PViewAsSimpleFunction.h.

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


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