![]() |
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 <tree.h>
Type Definitions | |
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 = TPointType |
Define PointType as TPointType. More... | |
using | PointerType = TPointerType |
Define PointerType as TPointerType. More... | |
using | IteratorType = TIteratorType |
Define IteratorType as TIteratorType. More... | |
using | DistanceIteratorType = TDistanceIteratorType |
Define DistanceIteratorType as TDistanceIteratorType. More... | |
using | TreeNodeType = TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType > |
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, TIteratorType, IteratorIteratorType, TDimension > |
Define SearchStructureType as a SearchStructure type with the given template arguments. More... | |
KRATOS_CLASS_POINTER_DEFINITION (TreeNode) | |
Pointer definition of TreeNode. More... | |
virtual void | PrintData (std::ostream &rOStream, std::string const &Perfix=std::string()) const |
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) |
static IteratorType & | NullIterator () |
static PointerType & | NullPointer () |
static TreeNode & | NullLeaf () |
Short class definition.
Detail class definition.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::CoordinateType = double |
Define CoordinateType as double.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::DistanceIteratorType = TDistanceIteratorType |
Define DistanceIteratorType as TDistanceIteratorType.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::IndexType = std::size_t |
Define IndexType as std::size_t.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::IteratorIteratorType = typename std::vector<IteratorType>::iterator |
Define IteratorIteratorType as an iterator type for a vector of IteratorType.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::IteratorType = TIteratorType |
Define IteratorType as TIteratorType.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::PointerType = TPointerType |
Define PointerType as TPointerType.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::PointType = TPointType |
Define PointType as TPointType.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::SearchStructureType = SearchStructure<IndexType, SizeType, CoordinateType, TIteratorType, IteratorIteratorType, TDimension> |
Define SearchStructureType as a SearchStructure type with the given template arguments.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::SizeType = std::size_t |
Define SizeType as std::size_t.
using Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::TreeNodeType = TreeNode<TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType> |
Define TreeNodeType as a TreeNode type with the given template arguments.
|
inline |
|
inlinevirtual |
Kratos::TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType >::KRATOS_CLASS_POINTER_DEFINITION | ( | TreeNode< TDimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType, TIteratorIteratorType > | ) |
Pointer definition of TreeNode.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
Reimplemented in Kratos::OCTreePartition< TLeafType >, Kratos::KDTreePartitionBase< TLeafType >, Kratos::Bucket< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >, Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >, and Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |