#include <search_utilities.h>
|
| KRATOS_CLASS_POINTER_DEFINITION (DemSearchUtilities) |
|
| DemSearchUtilities (SpatialSearchPtrType pSpatialSearch) |
| Default constructor. More...
|
|
virtual | ~DemSearchUtilities () |
| Destructor. More...
|
|
template<class TVariableType > |
void | SearchNodeNeigboursDistances (ModelPart &rSearchModelPart, ModelPart &rBinsModelPart, const double &rSearchRadius, const TVariableType &rDistanceVar) |
|
template<class TVariableType > |
void | SearchNodeNeigboursDistances (ModelPart &rSearchModelPart, NodesArrayType &rBinsNodes, const double &rSearchRadius, const TVariableType &rDistanceVar) |
|
template<class TVariableType > |
void | SearchNodeNeigboursDistances (NodesArrayType &rSearchNodes, ModelPart &rBinsModelPart, const double &rSearchRadius, const TVariableType &rDistanceVar) |
|
template<class TVariableType > |
void | SearchNodeNeigboursDistances (NodesArrayType &rSearchNodes, NodesArrayType &rBinsNodes, const double &rSearchRadius, const TVariableType &rDistanceVar) |
|
virtual std::string | Info () const |
|
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...
|
|
◆ ElementsArrayType
◆ NodesArrayType
◆ NodesContainerType
◆ RadiusArrayType
◆ SpatialSearchPtrType
◆ VectorDistanceType
◆ VectorResultElementsContainerType
◆ VectorResultNodesContainerType
◆ DemSearchUtilities()
◆ ~DemSearchUtilities()
virtual Kratos::DemSearchUtilities::~DemSearchUtilities |
( |
| ) |
|
|
inlinevirtual |
◆ Info()
virtual std::string Kratos::DemSearchUtilities::Info |
( |
| ) |
const |
|
inlinevirtual |
◆ KRATOS_CLASS_POINTER_DEFINITION()
◆ PrintData()
virtual void Kratos::DemSearchUtilities::PrintData |
( |
std::ostream & |
rOStream | ) |
const |
|
inlinevirtual |
◆ PrintInfo()
virtual void Kratos::DemSearchUtilities::PrintInfo |
( |
std::ostream & |
rOStream | ) |
const |
|
inlinevirtual |
Print information about this object.
◆ SearchNodeNeigboursDistances() [1/4]
template<class TVariableType >
void Kratos::DemSearchUtilities::SearchNodeNeigboursDistances |
( |
ModelPart & |
rSearchModelPart, |
|
|
ModelPart & |
rBinsModelPart, |
|
|
const double & |
rSearchRadius, |
|
|
const TVariableType & |
rDistanceVar |
|
) |
| |
|
inline |
Calcualtes the distance between the nodes in "rSearchModelPart" and their neighbous in "rBinsModelPart"
- Parameters
-
rSearchModelPart | Modelpart containing all nodes to be searched |
rBinsModelPart | Modelpart containing all nodes for the search structure |
SearchRadius | List contaning the search radius for each node |
ResultDistances | List of distances for each neighbour of each node in "rSearchModelPart" |
◆ SearchNodeNeigboursDistances() [2/4]
template<class TVariableType >
void Kratos::DemSearchUtilities::SearchNodeNeigboursDistances |
( |
ModelPart & |
rSearchModelPart, |
|
|
NodesArrayType & |
rBinsNodes, |
|
|
const double & |
rSearchRadius, |
|
|
const TVariableType & |
rDistanceVar |
|
) |
| |
|
inline |
Calcualtes the distance between the nodes in "rSearchModelPart" and their neighbous in "rBinsNodes"
- Parameters
-
rSearchModelPart | Modelpart containing all nodes to be searched |
rBinsNodes | List of nodes containing all nodes for the search structure |
SearchRadius | List contaning the search radius for each node |
ResultDistances | List of distances for each neighbour of each node in "rSearchModelPart" |
◆ SearchNodeNeigboursDistances() [3/4]
template<class TVariableType >
void Kratos::DemSearchUtilities::SearchNodeNeigboursDistances |
( |
NodesArrayType & |
rSearchNodes, |
|
|
ModelPart & |
rBinsModelPart, |
|
|
const double & |
rSearchRadius, |
|
|
const TVariableType & |
rDistanceVar |
|
) |
| |
|
inline |
Calcualtes the distance between the nodes in "rSearchNodes" and their neighbous in "rBinsModelPart"
- Parameters
-
rSearchNodes | List of nodes containing all nodes to be searched |
rBinsModelPart | Modelpart containing all nodes for the search structure |
SearchRadius | List contaning the search radius for each node |
ResultDistances | List of distances for each neighbour of each node in "rSearchModelPart" |
◆ SearchNodeNeigboursDistances() [4/4]
template<class TVariableType >
void Kratos::DemSearchUtilities::SearchNodeNeigboursDistances |
( |
NodesArrayType & |
rSearchNodes, |
|
|
NodesArrayType & |
rBinsNodes, |
|
|
const double & |
rSearchRadius, |
|
|
const TVariableType & |
rDistanceVar |
|
) |
| |
|
inline |
Calcualtes the distance between the nodes in "rSearchNodes" and their neighbous in "rBinsNodes" This function contains the implementation.
- Parameters
-
rSearchNodes | List of nodes containing all nodes to be searched |
rBinsNodes | List of nodes containing all nodes for the search structure |
SearchRadius | List contaning the search radius for each node |
ResultDistances | List of distances for each neighbour of each node in "rSearchModelPart" |
◆ mNodesResults
◆ mPartition
std::vector<unsigned int> Kratos::DemSearchUtilities::mPartition |
|
protected |
◆ mResultsDistances
◆ mSearchRadii
◆ mSpatialSearch
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/applications/DEMApplication/custom_utilities/search_utilities.h