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.
|
#include <bounding_volume_tree.h>
Public Types | |
typedef kDOP::ArrayType | ArrayType |
typedef kDOP::Array2DType | Array2DType |
Public Types inherited from Kratos::kDOP | |
typedef Node | NodeType |
typedef Geometry< NodeType > | GeometryType |
typedef NodeType::PointType | PointType |
typedef const double | ArrayType[3] |
typedef ArrayType * | Array2DType |
Public Member Functions | |
KRATOS_CLASS_POINTER_DEFINITION (_20DOP) | |
_20DOP () | |
~_20DOP () 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 |
typedef kDOP::ArrayType Kratos::_20DOP::ArrayType |
|
inline |
|
inlineoverride |
Kratos::_20DOP::KRATOS_CLASS_POINTER_DEFINITION | ( | _20DOP | ) |
|
inlineoverridevirtual |
Return the number of directions of the k-DOP.
Reimplemented from Kratos::kDOP.