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

#include <MElementOctree.h>

Collaboration diagram for MElementOctree:

Public Member Functions

 MElementOctree (GModel *)
 
 MElementOctree (const std::vector< MElement * > &)
 
 ~MElementOctree ()
 
MElementfind (double x, double y, double z, int dim=-1, bool strict=false) const
 
std::vector< MElement * > findAll (double x, double y, double z, int dim, bool strict=false) const
 

Private Attributes

Octree_octree
 
GModel_gm
 
std::vector< MElement * > _elems
 

Detailed Description

Definition at line 15 of file MElementOctree.h.

Constructor & Destructor Documentation

◆ MElementOctree() [1/2]

MElementOctree::MElementOctree ( GModel m)

Definition at line 92 of file MElementOctree.cpp.

Here is the call graph for this function:

◆ MElementOctree() [2/2]

MElementOctree::MElementOctree ( const std::vector< MElement * > &  v)

Definition at line 121 of file MElementOctree.cpp.

Here is the call graph for this function:

◆ ~MElementOctree()

MElementOctree::~MElementOctree ( )

Definition at line 143 of file MElementOctree.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ find()

◆ findAll()

std::vector< MElement * > MElementOctree::findAll ( double  x,
double  y,
double  z,
int  dim,
bool  strict = false 
) const

Definition at line 145 of file MElementOctree.cpp.

Referenced by GModel::getMeshElementsByCoord().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _elems

std::vector<MElement *> MElementOctree::_elems
private

Definition at line 19 of file MElementOctree.h.

Referenced by find(), and findAll().

◆ _gm

GModel* MElementOctree::_gm
private

Definition at line 18 of file MElementOctree.h.

Referenced by find(), and findAll().

◆ _octree

Octree* MElementOctree::_octree
private

Definition at line 17 of file MElementOctree.h.

Referenced by find(), findAll(), MElementOctree(), and ~MElementOctree().


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