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.
Public Types | Public Member Functions | List of all members
Kratos::_26DOP Class Reference

#include <bounding_volume_tree.h>

Inheritance diagram for Kratos::_26DOP:
Collaboration diagram for Kratos::_26DOP:

Public Types

typedef kDOP::ArrayType ArrayType
 
typedef kDOP::Array2DType Array2DType
 
- Public Types inherited from Kratos::kDOP
typedef Node NodeType
 
typedef Geometry< NodeTypeGeometryType
 
typedef NodeType::PointType PointType
 
typedef const double ArrayType[3]
 
typedef ArrayTypeArray2DType
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (_26DOP)
 
 _26DOP ()
 
 ~_26DOP () override
 
std::size_t NumberOfDirections () const override
 Return the number of directions of the k-DOP. More...
 
- Public Member Functions inherited from Kratos::kDOP
 KRATOS_CLASS_POINTER_DEFINITION (kDOP)
 
 kDOP ()
 
virtual ~kDOP ()
 
void Initialize ()
 Initialize the bounding volume to initial state. More...
 
bool IsInside (const PointType &r_point, double tolerance) const
 
int TestOverlapped (const kDOP &rOther, double tolerance, bool test_tangent=true) const
 
void InsertPoint (const double &rX, const double &rY, const double &rZ)
 Add a point to the DOP /// This is mainly used for debugging. More...
 
template<bool current_configuration>
void InsertGeometry (const GeometryType &rGeometry)
 Add a geometry (from an element/a condition) to the k-DOP. More...
 
void SetVolume (const kDOP &rBV1, const kDOP &rBV2)
 Set the bounding volume by summing up two BVs. It will re-initialize all data of this kDOP. More...
 
bool SetVolumeIntersection (const kDOP &rBV1, const kDOP &rBV2, double tolerance)
 Set the bounding volume by intersecting two BVs. It will re-initialize all data of this kDOP. More...
 
const std::vector< double > & MinValues () const
 Get the respective minimum values and maximum values of this bounding volume. More...
 
const std::vector< double > & MaxValues () const
 
std::size_t GetLongestAxis () const
 Get the longest axis. More...
 
const double(& Direction (std::size_t i) const)[3]
 Get the i'th-direction. More...
 
std::size_t GetType () const
 Get the type of this k-DOP. More...
 
void GetInequalities (Matrix &rM, Vector &rB) const
 
void PrintInfo (std::ostream &rOStream) const
 

Member Typedef Documentation

◆ Array2DType

◆ ArrayType

typedef kDOP::ArrayType Kratos::_26DOP::ArrayType

Constructor & Destructor Documentation

◆ _26DOP()

Kratos::_26DOP::_26DOP ( )
inline

◆ ~_26DOP()

Kratos::_26DOP::~_26DOP ( )
inlineoverride

Member Function Documentation

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::_26DOP::KRATOS_CLASS_POINTER_DEFINITION ( _26DOP  )

◆ NumberOfDirections()

std::size_t Kratos::_26DOP::NumberOfDirections ( ) const
inlineoverridevirtual

Return the number of directions of the k-DOP.

Reimplemented from Kratos::kDOP.


The documentation for this class was generated from the following files: