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.
List of all members
Kratos::NodeSearchUtility Class Reference

Node Search. More...

#include <node_search_utility.h>

Collaboration diagram for Kratos::NodeSearchUtility:

Public Member Functions

Life Cycle
 NodeSearchUtility (NodesContainerType &rStructureNodes)
 Default constructor. More...
 
 ~NodeSearchUtility ()
 Destructor. More...
 
Operations
void SearchNodesInRadius (NodeType::Pointer pNode, double const Radius, ResultNodesContainerType &rResults)
 Perform Node Search. 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...
 

Type Definitions

typedef ModelPart::NodeType NodeType
 
typedef NodeConfigureForNodeSearch NodeConfigureType
 
typedef ModelPart::NodesContainerType NodesContainerType
 
typedef BinsObjectDynamic< NodeConfigureTypeNodeBinsType
 
typedef NodesContainerType::ContainerType ResultNodesContainerType
 
 KRATOS_CLASS_POINTER_DEFINITION (NodeSearchUtility)
 Pointer definition of NodeSearchUtility. More...
 

Detailed Description

Node Search.

This class provides a method to search for neighbouring nodes of one node within a given radius.

Author
Manuel Messmer

Member Typedef Documentation

◆ NodeBinsType

◆ NodeConfigureType

◆ NodesContainerType

◆ NodeType

◆ ResultNodesContainerType

Constructor & Destructor Documentation

◆ NodeSearchUtility()

Kratos::NodeSearchUtility::NodeSearchUtility ( NodesContainerType rStructureNodes)
inline

Default constructor.

◆ ~NodeSearchUtility()

Kratos::NodeSearchUtility::~NodeSearchUtility ( )
inline

Destructor.

Member Function Documentation

◆ Info()

virtual std::string Kratos::NodeSearchUtility::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::NodeSearchUtility::KRATOS_CLASS_POINTER_DEFINITION ( NodeSearchUtility  )

Pointer definition of NodeSearchUtility.

◆ PrintData()

virtual void Kratos::NodeSearchUtility::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::NodeSearchUtility::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ SearchNodesInRadius()

void Kratos::NodeSearchUtility::SearchNodesInRadius ( NodeType::Pointer  pNode,
double const  Radius,
ResultNodesContainerType rResults 
)

Perform Node Search.

Searches for nodes within a given 'Radius' of the current node

Parameters
rStructureNodesNodes Container
IdNodeId of current node.
RadiusSearch radius.
rResultsResults container.

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