KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Short class definition. More...
#include <octree.h>
Public Member Functions | |
Life Cycle | |
OCTreePartition (IteratorType PointsBegin, IteratorType PointsEnd, PointType const &MinPoint, PointType const &MaxPoint, SizeType BucketSize=1) | |
Partition constructor. More... | |
void | PrintData (std::ostream &rOStream, std::string const &Perfix=std::string()) const override |
virtual | ~OCTreePartition () |
Destructor. More... | |
Public Member Functions inherited from Kratos::TreeNode< TLeafType::Dimension, TLeafType::PointType, TLeafType::PointerType, TLeafType::IteratorType, TLeafType::DistanceIteratorType > | |
KRATOS_CLASS_POINTER_DEFINITION (TreeNode) | |
Pointer definition of TreeNode. More... | |
TreeNode () | |
virtual | ~TreeNode () |
virtual void | SearchNearestPoint (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance) |
virtual void | SearchNearestPoint (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance, SearchStructureType &Auxiliar) |
virtual void | SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) |
virtual void | SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructureType &Auxiliar) |
virtual void | SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) |
virtual void | SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructureType &Auxiliar) |
virtual void | SearchInBox (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) |
Type Definitions | |
enum | { Dimension = LeafType::Dimension } |
typedef TLeafType | LeafType |
typedef LeafType::PointType | PointType |
typedef LeafType::ContainerType | ContainerType |
typedef LeafType::IteratorType | IteratorType |
typedef LeafType::DistanceIteratorType | DistanceIteratorType |
typedef LeafType::PointerType | PointerType |
typedef LeafType::DistanceFunction | DistanceFunction |
typedef TreeNode< Dimension, PointType, PointerType, IteratorType, DistanceIteratorType > | TreeNodeType |
typedef TreeNodeType::CoordinateType | CoordinateType |
typedef TreeNodeType::SizeType | SizeType |
typedef TreeNodeType::IndexType | IndexType |
typedef OcTreeAverageSplit< Dimension, PointType, IteratorType, CoordinateType > | AverageSplit |
typedef OcTreeMidPointSplit< Dimension, PointType, IteratorType, CoordinateType > | MidPointSplit |
typedef LeafType::SearchStructureType | SearchStructureType |
static const SizeType | number_of_childs = 1 << Dimension |
KRATOS_CLASS_POINTER_DEFINITION (OCTreePartition) | |
Pointer definition of KDTree. More... | |
Operations | |
void | SearchNearestPoint (PointType const &ThisPoint, PointerType &Result, CoordinateType &rResultDistance) override |
void | SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) override |
void | SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) override |
static TreeNodeType * | Construct (IteratorType PointsBegin, IteratorType PointsEnd, PointType HighPoint, PointType LowPoint, SizeType BucketSize) |
Additional Inherited Members | |
Public Types inherited from Kratos::TreeNode< TLeafType::Dimension, TLeafType::PointType, TLeafType::PointerType, TLeafType::IteratorType, TLeafType::DistanceIteratorType > | |
using | SizeType = std::size_t |
Define SizeType as std::size_t. More... | |
using | IndexType = std::size_t |
Define IndexType as std::size_t. More... | |
using | CoordinateType = double |
Define CoordinateType as double. More... | |
using | PointType = TLeafType::PointType |
Define PointType as TPointType. More... | |
using | PointerType = TLeafType::PointerType |
Define PointerType as TPointerType. More... | |
using | IteratorType = TLeafType::IteratorType |
Define IteratorType as TIteratorType. More... | |
using | DistanceIteratorType = TLeafType::DistanceIteratorType |
Define DistanceIteratorType as TDistanceIteratorType. More... | |
using | TreeNodeType = TreeNode< TDimension, TLeafType::PointType, TLeafType::PointerType, TLeafType::IteratorType, TLeafType::DistanceIteratorType > |
Define TreeNodeType as a TreeNode type with the given template arguments. More... | |
using | IteratorIteratorType = typename std::vector< IteratorType >::iterator |
Define IteratorIteratorType as an iterator type for a vector of IteratorType. More... | |
using | SearchStructureType = SearchStructure< IndexType, SizeType, CoordinateType, TLeafType::IteratorType, IteratorIteratorType, TDimension > |
Define SearchStructureType as a SearchStructure type with the given template arguments. More... | |
Static Public Member Functions inherited from Kratos::TreeNode< TLeafType::Dimension, TLeafType::PointType, TLeafType::PointerType, TLeafType::IteratorType, TLeafType::DistanceIteratorType > | |
static IteratorType & | NullIterator () |
static PointerType & | NullPointer () |
static TreeNode & | NullLeaf () |
Short class definition.
Detail class definition.
typedef OcTreeAverageSplit<Dimension,PointType,IteratorType,CoordinateType> Kratos::OCTreePartition< TLeafType >::AverageSplit |
typedef LeafType::ContainerType Kratos::OCTreePartition< TLeafType >::ContainerType |
typedef TreeNodeType::CoordinateType Kratos::OCTreePartition< TLeafType >::CoordinateType |
typedef LeafType::DistanceFunction Kratos::OCTreePartition< TLeafType >::DistanceFunction |
typedef LeafType::DistanceIteratorType Kratos::OCTreePartition< TLeafType >::DistanceIteratorType |
typedef TreeNodeType::IndexType Kratos::OCTreePartition< TLeafType >::IndexType |
typedef LeafType::IteratorType Kratos::OCTreePartition< TLeafType >::IteratorType |
typedef TLeafType Kratos::OCTreePartition< TLeafType >::LeafType |
typedef OcTreeMidPointSplit<Dimension,PointType,IteratorType,CoordinateType> Kratos::OCTreePartition< TLeafType >::MidPointSplit |
typedef LeafType::PointerType Kratos::OCTreePartition< TLeafType >::PointerType |
typedef LeafType::PointType Kratos::OCTreePartition< TLeafType >::PointType |
typedef LeafType::SearchStructureType Kratos::OCTreePartition< TLeafType >::SearchStructureType |
typedef TreeNodeType::SizeType Kratos::OCTreePartition< TLeafType >::SizeType |
typedef TreeNode<Dimension, PointType, PointerType, IteratorType, DistanceIteratorType> Kratos::OCTreePartition< TLeafType >::TreeNodeType |
|
inline |
Partition constructor.
|
inlinevirtual |
Destructor.
|
inlinestatic |
Kratos::OCTreePartition< TLeafType >::KRATOS_CLASS_POINTER_DEFINITION | ( | OCTreePartition< TLeafType > | ) |
Pointer definition of KDTree.
|
inlineoverridevirtual |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
static |