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.
|
Thhis class is a container for spatial search. More...
#include <spatial_containers_configure.h>
Public Member Functions | |
Life Cycle | |
SpatialContainersConfigure () | |
Default constructor. More... | |
virtual | ~SpatialContainersConfigure () |
Destructor. More... | |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Static Public Member Functions | |
Operations | |
static void | CalculateBoundingBox (const PointerType &rObject, PointType &rLowPoint, PointType &rHighPoint) |
This method computes the bounding box. More... | |
static void | CalculateBoundingBox (const PointerType &rObject, PointType &rLowPoint, PointType &rHighPoint, const double Radius) |
This method computes the bounding box. More... | |
static bool | Intersection (const PointerType &rObj_1, const PointerType &rObj_2) |
This method computes the intersection. More... | |
static bool | Intersection (const PointerType &rObj_1, const PointerType &rObj_2, const double Radius) |
This method computes the intersection. More... | |
static bool | IntersectionBox (const PointerType &rObject, const PointType &rLowPoint, const PointType &rHighPoint) |
This method computes the intersection box. More... | |
static bool | IntersectionBox (const PointerType &rObject, const PointType &rLowPoint, const PointType &rHighPoint, const double Radius) |
This method computes the intersection box. More... | |
static void | Distance (const PointerType &rObj_1, const PointerType &rObj_2, double &rDistance) |
This method computes the distance. More... | |
Type Definitions | |
using | PointType = Point |
Point definition. More... | |
using | NodeType = Node |
The node definition. More... | |
using | GeometryType = Geometry< NodeType > |
The geometry definition. More... | |
using | DistanceIteratorType = std::vector< double >::iterator |
Dditance iterator. More... | |
using | EntityType = TEntity |
The entity definition. More... | |
using | ContainerType = typename PointerVectorSet< TEntity, IndexedObject >::ContainerType |
Container definition. More... | |
using | PointerType = typename ContainerType::value_type |
using | IteratorType = typename ContainerType::iterator |
using | ResultContainerType = typename PointerVectorSet< TEntity, IndexedObject >::ContainerType |
using | ResultPointerType = typename ResultContainerType::value_type |
using | ResultIteratorType = typename ResultContainerType::iterator |
static constexpr std::size_t | Dimension = TDimension |
Definition of the Dimension (it is the template argument, but it is needed to be defined as a static member for legacy reasons as it is used that way in other places) More... | |
static constexpr std::size_t | DIMENSION = TDimension |
Definition of the DIMENSION (it is the template argument, but it is needed to be defined as a static member for legacy reasons as it is used that way in other places) More... | |
static constexpr std::size_t | MAX_LEVEL = 16 |
Definition of the maximum level. More... | |
static constexpr std::size_t | MIN_LEVEL = 2 |
Definition of the minimum level. More... | |
KRATOS_CLASS_POINTER_DEFINITION (SpatialContainersConfigure) | |
Pointer definition of SpatialContainersConfigure. More... | |
Thhis class is a container for spatial search.
It is used in binbased locator among other classes and utilities
TDimension | The working dimension |
TEntity | The entity considered |
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::ContainerType = typename PointerVectorSet<TEntity, IndexedObject>::ContainerType |
Container definition.
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::DistanceIteratorType = std::vector<double>::iterator |
Dditance iterator.
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::EntityType = TEntity |
The entity definition.
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::GeometryType = Geometry<NodeType> |
The geometry definition.
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::IteratorType = typename ContainerType::iterator |
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::NodeType = Node |
The node definition.
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::PointerType = typename ContainerType::value_type |
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::PointType = Point |
Point definition.
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::ResultContainerType = typename PointerVectorSet<TEntity, IndexedObject>::ContainerType |
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::ResultIteratorType = typename ResultContainerType::iterator |
using Kratos::SpatialContainersConfigure< TDimension, TEntity >::ResultPointerType = typename ResultContainerType::value_type |
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
inlinestatic |
This method computes the bounding box.
rObject | The object to compute the bounding box |
rLowPoint | The lower point of the bounding box |
rHighPoint | The higher point of the bounding box |
|
inlinestatic |
This method computes the bounding box.
rObject | The object to compute the bounding box |
rLowPoint | The lower point of the bounding box |
rHighPoint | The higher point of the bounding box |
Radius | The radius |
|
inlinestatic |
This method computes the distance.
rObj_1 | The first object |
rObj_2 | The second object |
rDistance | The distance |
|
inlinevirtual |
Turn back information as a string.
|
inlinestatic |
This method computes the intersection.
rObj_1 | The first object |
rObj_2 | The second object |
|
inlinestatic |
This method computes the intersection.
rObj_1 | The first object |
rObj_2 | The second object |
Radius | The radius |
|
inlinestatic |
This method computes the intersection box.
rObject | The object considered |
rLowPoint | The low point of the box |
rHighPoint | The high point of the box |
|
inlinestatic |
This method computes the intersection box.
rObject | The object considered |
rLowPoint | The low point of the box |
rHighPoint | The high point of the box |
Radius | The radius |
Kratos::SpatialContainersConfigure< TDimension, TEntity >::KRATOS_CLASS_POINTER_DEFINITION | ( | SpatialContainersConfigure< TDimension, TEntity > | ) |
Pointer definition of SpatialContainersConfigure.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
|
staticconstexpr |
Definition of the Dimension (it is the template argument, but it is needed to be defined as a static member for legacy reasons as it is used that way in other places)
|
staticconstexpr |
Definition of the DIMENSION (it is the template argument, but it is needed to be defined as a static member for legacy reasons as it is used that way in other places)
|
staticconstexpr |
Definition of the maximum level.
|
staticconstexpr |
Definition of the minimum level.