gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
DistanceField Class Reference
Inheritance diagram for DistanceField:
Collaboration diagram for DistanceField:

Public Member Functions

 DistanceField ()
 
 DistanceField (int dim, int tag, int nbe)
 
 ~DistanceField ()
 
const char * getName ()
 
std::string getDescription ()
 
std::pair< AttractorInfo, SPoint3getAttractorInfo () const
 
void update ()
 
virtual double operator() (double X, double Y, double Z, GEntity *ge=nullptr)
 
- Public Member Functions inherited from Field
 Field ()
 
virtual ~Field ()
 
bool isDeprecated ()
 
virtual int numComponents () const
 
virtual bool isotropic () const
 
virtual void operator() (double x, double y, double z, SVector3 &, GEntity *ge=0)
 
virtual void operator() (double x, double y, double z, SMetric3 &, GEntity *ge=nullptr)
 
void putOnNewView (int viewTag=-1)
 
FieldOptiongetOption (const std::string &optionName)
 

Private Attributes

std::list< int > _pointTags
 
std::list< int > _curveTags
 
std::list< int > _surfaceTags
 
std::vector< AttractorInfo_infos
 
int _sampling
 
int _xFieldId
 
int _yFieldId
 
int _zFieldId
 
SPoint3Cloud _pc
 
SPoint3CloudAdaptor< SPoint3Cloud_pc2kdtree
 
SPoint3KDTree_kdtree
 
std::size_t _outIndex
 

Additional Inherited Members

- Public Attributes inherited from Field
int id
 
std::map< std::string, FieldOption * > options
 
std::map< std::string, FieldCallback * > callbacks
 
bool updateNeeded
 
- Protected Attributes inherited from Field
bool _deprecated
 

Detailed Description

Definition at line 2448 of file Field.cpp.

Constructor & Destructor Documentation

◆ DistanceField() [1/2]

DistanceField::DistanceField ( )
inline

Definition at line 2459 of file Field.cpp.

◆ DistanceField() [2/2]

DistanceField::DistanceField ( int  dim,
int  tag,
int  nbe 
)
inline

Definition at line 2493 of file Field.cpp.

◆ ~DistanceField()

DistanceField::~DistanceField ( )
inline

Definition at line 2505 of file Field.cpp.

Member Function Documentation

◆ getAttractorInfo()

std::pair<AttractorInfo, SPoint3> DistanceField::getAttractorInfo ( ) const
inline

Definition at line 2517 of file Field.cpp.

Referenced by BoundaryLayerField::operator()().

Here is the caller graph for this function:

◆ getDescription()

std::string DistanceField::getDescription ( )
inlinevirtual

Reimplemented from Field.

Definition at line 2510 of file Field.cpp.

◆ getName()

const char* DistanceField::getName ( )
inlinevirtual

Implements Field.

Definition at line 2509 of file Field.cpp.

◆ operator()()

virtual double DistanceField::operator() ( double  X,
double  Y,
double  Z,
GEntity ge = nullptr 
)
inlinevirtual

Implements Field.

Definition at line 2592 of file Field.cpp.

Here is the call graph for this function:

◆ update()

void DistanceField::update ( )
inlinevirtual

Reimplemented from Field.

Definition at line 2523 of file Field.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _curveTags

std::list<int> DistanceField::_curveTags
private

Definition at line 2449 of file Field.cpp.

Referenced by DistanceField(), and update().

◆ _infos

std::vector<AttractorInfo> DistanceField::_infos
private

Definition at line 2450 of file Field.cpp.

Referenced by getAttractorInfo(), and update().

◆ _kdtree

SPoint3KDTree* DistanceField::_kdtree
private

Definition at line 2455 of file Field.cpp.

Referenced by operator()(), update(), and ~DistanceField().

◆ _outIndex

std::size_t DistanceField::_outIndex
private

Definition at line 2456 of file Field.cpp.

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

◆ _pc

SPoint3Cloud DistanceField::_pc
private

Definition at line 2453 of file Field.cpp.

Referenced by getAttractorInfo(), and update().

◆ _pc2kdtree

SPoint3CloudAdaptor<SPoint3Cloud> DistanceField::_pc2kdtree
private

Definition at line 2454 of file Field.cpp.

Referenced by update().

◆ _pointTags

std::list<int> DistanceField::_pointTags
private

Definition at line 2449 of file Field.cpp.

Referenced by DistanceField(), and update().

◆ _sampling

int DistanceField::_sampling
private

Definition at line 2451 of file Field.cpp.

Referenced by DistanceField(), and update().

◆ _surfaceTags

std::list<int> DistanceField::_surfaceTags
private

Definition at line 2449 of file Field.cpp.

Referenced by DistanceField(), and update().

◆ _xFieldId

int DistanceField::_xFieldId
private

Definition at line 2452 of file Field.cpp.

Referenced by DistanceField().

◆ _yFieldId

int DistanceField::_yFieldId
private

Definition at line 2452 of file Field.cpp.

Referenced by DistanceField().

◆ _zFieldId

int DistanceField::_zFieldId
private

Definition at line 2452 of file Field.cpp.

Referenced by DistanceField().


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