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 <node_search_utility.h>
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< NodeConfigureType > | NodeBinsType |
typedef NodesContainerType::ContainerType | ResultNodesContainerType |
KRATOS_CLASS_POINTER_DEFINITION (NodeSearchUtility) | |
Pointer definition of NodeSearchUtility. More... | |
Node Search.
This class provides a method to search for neighbouring nodes of one node within a given radius.
|
inline |
Default constructor.
|
inline |
Destructor.
|
inlinevirtual |
Turn back information as a string.
Kratos::NodeSearchUtility::KRATOS_CLASS_POINTER_DEFINITION | ( | NodeSearchUtility | ) |
Pointer definition of NodeSearchUtility.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
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
rStructureNodes | Nodes Container |
Id | NodeId of current node. |
Radius | Search radius. |
rResults | Results container. |