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::BoundingVolumeTree Class Reference

#include <bounding_volume_tree.h>

Collaboration diagram for Kratos::BoundingVolumeTree:

Public Types

typedef ModelPart::ConditionsContainerType ConditionsContainerType
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (BoundingVolumeTree)
 
 BoundingVolumeTree (int type)
 
virtual ~BoundingVolumeTree ()
 
void BuildTreeTopDown (ConditionsContainerType &rAllConditions, BoundingVolumePartitioner &rPartitioner)
 
void UpdateTree (ModelPart &r_model_part)
 
void UpdateTree (ConditionsContainerType &rAllConditions)
 
void AddGeometryFromConditions (ConditionsContainerType &rAllConditions)
 
const kDOPGetBoundingVolume () const
 
bool IsLeaf () const
 
bool CheckValidity () const
 
std::size_t GetFirstGeometryId () const
 
const BoundingVolumeTreeGetLeftTree () const
 
BoundingVolumeTree::Pointer pGetLeftTree () const
 
const BoundingVolumeTreeGetRightTree () const
 
BoundingVolumeTree::Pointer pGetRightTree () const
 
void Print (std::ostream &rOStream, unsigned int level) const
 

Detailed Description

Class Description:

REFERENCE:

Member Typedef Documentation

◆ ConditionsContainerType

Constructor & Destructor Documentation

◆ BoundingVolumeTree()

Kratos::BoundingVolumeTree::BoundingVolumeTree ( int  type)
inline

◆ ~BoundingVolumeTree()

virtual Kratos::BoundingVolumeTree::~BoundingVolumeTree ( )
inlinevirtual

Member Function Documentation

◆ AddGeometryFromConditions()

void Kratos::BoundingVolumeTree::AddGeometryFromConditions ( ConditionsContainerType rAllConditions)
inline

◆ BuildTreeTopDown()

void Kratos::BoundingVolumeTree::BuildTreeTopDown ( ConditionsContainerType rAllConditions,
BoundingVolumePartitioner rPartitioner 
)
inline

◆ CheckValidity()

bool Kratos::BoundingVolumeTree::CheckValidity ( ) const
inline

◆ GetBoundingVolume()

const kDOP& Kratos::BoundingVolumeTree::GetBoundingVolume ( ) const
inline

◆ GetFirstGeometryId()

std::size_t Kratos::BoundingVolumeTree::GetFirstGeometryId ( ) const
inline

◆ GetLeftTree()

const BoundingVolumeTree& Kratos::BoundingVolumeTree::GetLeftTree ( ) const
inline

◆ GetRightTree()

const BoundingVolumeTree& Kratos::BoundingVolumeTree::GetRightTree ( ) const
inline

◆ IsLeaf()

bool Kratos::BoundingVolumeTree::IsLeaf ( ) const
inline

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::BoundingVolumeTree::KRATOS_CLASS_POINTER_DEFINITION ( BoundingVolumeTree  )

◆ pGetLeftTree()

BoundingVolumeTree::Pointer Kratos::BoundingVolumeTree::pGetLeftTree ( ) const
inline

◆ pGetRightTree()

BoundingVolumeTree::Pointer Kratos::BoundingVolumeTree::pGetRightTree ( ) const
inline

◆ Print()

void Kratos::BoundingVolumeTree::Print ( std::ostream &  rOStream,
unsigned int  level 
) const
inline

◆ UpdateTree() [1/2]

void Kratos::BoundingVolumeTree::UpdateTree ( ConditionsContainerType rAllConditions)
inline

◆ UpdateTree() [2/2]

void Kratos::BoundingVolumeTree::UpdateTree ( ModelPart r_model_part)
inline

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