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.
|
This class contains the tools related with the distance spatial container cell data. More...
#include <find_intersected_geometrical_objects_process.h>
Classes | |
class | CellNodeData |
This class contains the cell node data. More... | |
Public Types | |
Enum's | |
enum | { Dimension = 3 , DIMENSION = 3 , MAX_LEVEL = 12 , MIN_LEVEL = 2 } |
Public Member Functions | |
Life Cycle | |
DistanceSpatialContainersConfigure () | |
Default constructor. More... | |
virtual | ~DistanceSpatialContainersConfigure () |
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 data_type * | AllocateData () |
This method allocates the cell data. More... | |
static void | CopyData (data_type *pSource, data_type *pDestination) |
This method copies the data from a cell. More... | |
static void | DeleteData (data_type *pData) |
This method deletes the data from a cell data. More... | |
static void | CalculateBoundingBox (const PointerType &pObject, PointType &rLowPoint, PointType &rHighPoint) |
This method computes the bounding box of an object. More... | |
static void | GetBoundingBox (const typename GeometricalObject::Pointer pObject, double *rLowPoint, double *rHighPoint) |
This method computes the bounding box of an object (using C arrays) More... | |
static bool | Intersection (const typename GeometricalObject::Pointer pObj1, const typename GeometricalObject::Pointer pObj2) |
This method computes if there is an intersection between two objects. More... | |
static bool | IntersectionBox (const typename GeometricalObject::Pointer pObject, const PointType &rLowPoint, const PointType &rHighPoint) |
This computes the intersection between an object and a box. More... | |
static bool | IsIntersected (const typename GeometricalObject::Pointer pObject, double Tolerance, const double *rLowPoint, const double *rHighPoint) |
This method checks if the objects intersects the low and hight points provided. More... | |
Type Definitions | |
typedef std::size_t | IndexType |
Definition of the index type. More... | |
typedef Point | PointType |
Definition of the point type. More... | |
typedef std::vector< double >::iterator | DistanceIteratorType |
Definition of the distance iterator type. More... | |
typedef PointerVectorSet< GeometricalObject, IndexedObject > | EntityContainerType |
Definition of the entity container type. More... | |
typedef EntityContainerType::ContainerType | ContainerType |
Definition of the container type. More... | |
typedef ContainerType::value_type | PointerType |
Defintion of the pointer type. More... | |
typedef CellNodeData | cell_node_data_type |
Definition of the cell node data. More... | |
typedef std::vector< CellNodeData * > | data_type |
Definition of the cell data type. More... | |
typedef PointerType | pointer_type |
The definition of the pointer type. More... | |
KRATOS_CLASS_POINTER_DEFINITION (DistanceSpatialContainersConfigure) | |
Pointer definition of DistanceSpatialContainersConfigure. More... | |
This class contains the tools related with the distance spatial container cell data.
The CellNodeData is defined as an internal class
Definition of the cell node data.
typedef EntityContainerType::ContainerType Kratos::Internals::DistanceSpatialContainersConfigure::ContainerType |
Definition of the container type.
typedef std::vector<CellNodeData*> Kratos::Internals::DistanceSpatialContainersConfigure::data_type |
Definition of the cell data type.
typedef std::vector<double>::iterator Kratos::Internals::DistanceSpatialContainersConfigure::DistanceIteratorType |
Definition of the distance iterator type.
typedef PointerVectorSet<GeometricalObject, IndexedObject> Kratos::Internals::DistanceSpatialContainersConfigure::EntityContainerType |
Definition of the entity container type.
typedef std::size_t Kratos::Internals::DistanceSpatialContainersConfigure::IndexType |
Definition of the index type.
The definition of the pointer type.
typedef ContainerType::value_type Kratos::Internals::DistanceSpatialContainersConfigure::PointerType |
Defintion of the pointer type.
Definition of the point type.
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
inlinestatic |
This method allocates the cell data.
|
inlinestatic |
This method computes the bounding box of an object.
pObject | The pointer to the object |
rLowPoint | The lowest point of the box |
rHighPoint | The highest point of the box |
|
inlinestatic |
This method copies the data from a cell.
pSource | The data cell to be copied |
pDestination | The data cell where to copy |
|
inlinestatic |
This method deletes the data from a cell data.
pData | The data cell to be deleted |
|
inlinestatic |
This method computes the bounding box of an object (using C arrays)
pObject | The pointer to the object |
rLowPoint | The lowest point of the box |
rHighPoint | The highest point of the box |
|
inlinevirtual |
Turn back information as a string.
|
inlinestatic |
This method computes if there is an intersection between two objects.
pObj1 | The pointer to the first object |
pObj2 | The pointer to the second object |
|
inlinestatic |
This computes the intersection between an object and a box.
pObject | The pointer to the object |
rLowPoint | The lowest point of the box |
rHighPoint | The highest point of the box |
|
inlinestatic |
This method checks if the objects intersects the low and hight points provided.
pObject | The pointer to the object of interest |
Tolerance | The tolerance considered |
rLowPoint | The lowest point of the box |
rHighPoint | The highest point of the box |
Kratos::Internals::DistanceSpatialContainersConfigure::KRATOS_CLASS_POINTER_DEFINITION | ( | DistanceSpatialContainersConfigure | ) |
Pointer definition of DistanceSpatialContainersConfigure.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.