Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Helper class for searches in field maps. More...
#include <TetrahedralTree.hh>
Public Member Functions | |
TetrahedralTree (const Vec3 &origin, const Vec3 &halfDimension) | |
Constructor. | |
~TetrahedralTree () | |
Destructor. | |
void | InsertMeshNode (Vec3 point, const int index) |
Insert a mesh node (a vertex/point) to the tree. | |
void | InsertMeshElement (const double bb[6], const int index) |
Insert a mesh element with given bounding box and index to the tree. | |
std::vector< int > | GetElementsInBlock (const Vec3 &point) const |
Get all elements linked to a block corresponding to the given point. | |
Helper class for searches in field maps.
This class stores the mesh nodes and elements in an Octree data structure to optimize the element search operations
Author: Ali Sheharyar
Organization: Texas A&M University at Qatar
Definition at line 56 of file TetrahedralTree.hh.
Constructor.
TetrahedralTree.cc This class stores the mesh nodes and elements in an Octree data structure to optimize the element search operations
Author: Ali Sheharyar Organization: Texas A&M University at Qatar
Definition at line 14 of file TetrahedralTree.cc.
Garfield::TetrahedralTree::~TetrahedralTree | ( | ) |
Destructor.
Definition at line 27 of file TetrahedralTree.cc.
std::vector< int > Garfield::TetrahedralTree::GetElementsInBlock | ( | const Vec3 & | point | ) | const |
Get all elements linked to a block corresponding to the given point.
Definition at line 108 of file TetrahedralTree.cc.
void Garfield::TetrahedralTree::InsertMeshElement | ( | const double | bb[6], |
const int | index | ||
) |
Insert a mesh element with given bounding box and index to the tree.
Definition at line 92 of file TetrahedralTree.cc.
Referenced by InsertMeshElement().
void Garfield::TetrahedralTree::InsertMeshNode | ( | Vec3 | point, |
const int | index | ||
) |
Insert a mesh node (a vertex/point) to the tree.
Definition at line 54 of file TetrahedralTree.cc.
Referenced by InsertMeshNode().