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::DEMSearch< TDerived > Class Template Reference

#include <dem_search.h>

Inheritance diagram for Kratos::DEMSearch< TDerived >:
Collaboration diagram for Kratos::DEMSearch< TDerived >:

Public Member Functions

Life Cycle
 DEMSearch (const double domain_min_x=0.0, const double domain_min_y=0.0, const double domain_min_z=0.0, const double domain_max_x=-1.0, const double domain_max_y=-1.0, const double domain_max_z=-1.0)
 Default constructor. More...
 
virtual ~DEMSearch ()
 Destructor. More...
 
Operations
void SearchElementsInRadiusExclusive (ElementsContainerType const &StructureElements, ElementsContainerType const &InputElements, const RadiusArrayType &Radius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance) override
 
void SearchElementsInRadiusInclusive (ElementsContainerType const &StructureElements, ElementsContainerType const &InputElements, const RadiusArrayType &Radius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 
void SearchElementsInRadiusExclusive (ElementsContainerType const &StructureElements, ElementsContainerType const &InputElements, const RadiusArrayType &Radius, VectorResultElementsContainerType &rResults) override
 
void SearchElementsInRadiusInclusive (ElementsContainerType const &StructureElements, ElementsContainerType const &InputElements, const RadiusArrayType &Radius, VectorResultElementsContainerType &rResults)
 
void SearchNodesInRadiusExclusive (NodesContainerType const &StructureNodes, NodesContainerType const &InputNodes, const RadiusArrayType &Radius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance) override
 
void SearchNodesInRadiusInclusive (NodesContainerType const &StructureNodes, NodesContainerType const &InputNodes, const RadiusArrayType &Radius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance) override
 
void SearchNodesInRadiusExclusive (NodesContainerType const &StructureNodes, NodesContainerType const &InputNodes, const RadiusArrayType &Radius, VectorResultNodesContainerType &rResults) override
 
void SearchNodesInRadiusInclusive (NodesContainerType const &StructureNodes, NodesContainerType const &InputNodes, const RadiusArrayType &Radius, VectorResultNodesContainerType &rResults) override
 
void SearchConditionsOverElementsInRadiusExclusive (ElementsContainerType const &StructureElements, ConditionsContainerType const &InputConditions, const RadiusArrayType &Radius, VectorResultConditionsContainerType &rResults, VectorDistanceType &rResultsDistance)
 
void SearchConditionsOverElementsInRadiusInclusive (ElementsContainerType const &StructureElements, ConditionsContainerType const &InputConditions, const RadiusArrayType &Radius, VectorResultConditionsContainerType &rResults, VectorDistanceType &rResultsDistance)
 
void SearchElementsOverConditionsInRadiusExclusive (ConditionsContainerType const &StructureElements, ElementsContainerType const &InputElements, const RadiusArrayType &Radius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance) override
 
void SearchElementsOverConditionsInRadiusInclusive (ConditionsContainerType const &StructureElements, ElementsContainerType const &InputElements, const RadiusArrayType &Radius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance) override
 
Input and output
virtual std::string Info () const override
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 

Protected Attributes

Protected Access
bool mDomainPeriodicity
 
array_1d< double, 3 > mDomainMin
 
array_1d< double, 3 > mDomainMax
 

Type Definitions

typedef RadiusPoint< DimensionPointType
 
typedef PointTypePtrPointType
 
typedef std::vector< PtrPointType > * PointVector
 
PointVector searchPoints
 
 KRATOS_CLASS_POINTER_DEFINITION (DEMSearch)
 Pointer definition of DEMSearch. More...
 
virtual void SearchElementsInRadiusExclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "rModelpart" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (ModelPart &rModelPart, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (const ElementsContainerType &rStructureElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "StructureElements" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (const ElementsContainerType &rStructureElements, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults)
 Search neighbours for every element in "rModelpart" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (ModelPart &rModelPart, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (const ElementsContainerType &rStructureElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults)
 Search neighbours for every element in "StructureElements" excluding itself. More...
 
virtual void SearchElementsInRadiusExclusive (const ElementsContainerType &rStructureElements, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsInRadiusInclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "rModelpart" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (ModelPart &rModelPart, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "InputElements" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (const ElementsContainerType &rStructureElements, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "StructureElements" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (const ElementsContainerType &rStructureElements, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "InputElements" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every element in "rModelpart" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (ModelPart &rModelPart, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every element in "InputElements" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (const ElementsContainerType &rStructureElements, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every element in "StructureElements" including itself. More...
 
virtual void SearchElementsInRadiusInclusive (const ElementsContainerType &rStructureElements, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every element in "InputElements" including itself. More...
 
virtual void SearchNodesInRadiusExclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "rModelpart" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (ModelPart &rModelPart, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "InputNodes" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (const NodesContainerType &rStructureNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "rStructureNodes" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (const NodesContainerType &rStructureNodes, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "InputNodes" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "rModelpart" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (ModelPart &rModelPart, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "InputNodes" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (const NodesContainerType &rStructureNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "rStructureNodes" excluding itself. More...
 
virtual void SearchNodesInRadiusExclusive (const NodesContainerType &rStructureNodes, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "InputNodes" excluding itself. More...
 
virtual void SearchNodesInRadiusInclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "rModelpart" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (ModelPart &rModelPart, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "InputNodes" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (const NodesContainerType &rStructureNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "rStructureNodes" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (const NodesContainerType &rStructureNodes, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every node in "InputNodes" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "rModelpart" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (ModelPart &rModelPart, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "InputNodes" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (const NodesContainerType &rStructureNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "rStructureNodes" including itself. More...
 
virtual void SearchNodesInRadiusInclusive (const NodesContainerType &rStructureNodes, const NodesContainerType &rInputNodes, const RadiusArrayType &rRadius, VectorResultNodesContainerType &rResults)
 Search neighbours for every node in "InputNodes" including itself. More...
 
virtual void SearchConditionsOverElementsInRadiusExclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "rModelpart" excluding itself. More...
 
virtual void SearchConditionsOverElementsInRadiusExclusive (ModelPart &rModelPart, const ConditionsContainerType &rInputConditions, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchConditionsOverElementsInRadiusExclusive (const ElementsContainerType &rStructureElements, const ConditionsContainerType &rInputConditions, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchConditionsOverElementsInRadiusInclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "rModelpart" excluding itself. More...
 
virtual void SearchConditionsOverElementsInRadiusInclusive (ModelPart &rModelPart, const ConditionsContainerType &rInputConditions, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchConditionsOverElementsInRadiusInclusive (const ElementsContainerType &rStructureElements, const ConditionsContainerType &rInputConditions, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsOverConditionsInRadiusExclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "rModelpart" excluding itself. More...
 
virtual void SearchElementsOverConditionsInRadiusExclusive (ModelPart &rModelPart, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsOverConditionsInRadiusExclusive (const ConditionsContainerType &rStructureConditions, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsOverConditionsInRadiusInclusive (ModelPart &rModelPart, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "rModelpart" excluding itself. More...
 
virtual void SearchElementsOverConditionsInRadiusInclusive (ModelPart &rModelPart, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 
virtual void SearchElementsOverConditionsInRadiusInclusive (const ConditionsContainerType &rStructureConditions, const ElementsContainerType &rInputElements, const RadiusArrayType &rRadius, VectorResultElementsContainerType &rResults, VectorDistanceType &rResultsDistance)
 Search neighbours for every element in "Inputelements" excluding itself. More...
 

Additional Inherited Members

Member Typedef Documentation

◆ PointType

template<class TDerived >
typedef RadiusPoint<Dimension> Kratos::DEMSearch< TDerived >::PointType

◆ PointVector

template<class TDerived >
typedef std::vector<PtrPointType>* Kratos::DEMSearch< TDerived >::PointVector

◆ PtrPointType

template<class TDerived >
typedef PointType* Kratos::DEMSearch< TDerived >::PtrPointType

Constructor & Destructor Documentation

◆ DEMSearch()

template<class TDerived >
Kratos::DEMSearch< TDerived >::DEMSearch ( const double  domain_min_x = 0.0,
const double  domain_min_y = 0.0,
const double  domain_min_z = 0.0,
const double  domain_max_x = -1.0,
const double  domain_max_y = -1.0,
const double  domain_max_z = -1.0 
)
inline

Default constructor.

◆ ~DEMSearch()

template<class TDerived >
virtual Kratos::DEMSearch< TDerived >::~DEMSearch ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Info()

template<class TDerived >
virtual std::string Kratos::DEMSearch< TDerived >::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::SpatialSearch.

Reimplemented in Kratos::OMP_DEMSearch.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TDerived >
Kratos::DEMSearch< TDerived >::KRATOS_CLASS_POINTER_DEFINITION ( DEMSearch< TDerived >  )

Pointer definition of DEMSearch.

◆ PrintData()

template<class TDerived >
virtual void Kratos::DEMSearch< TDerived >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::SpatialSearch.

Reimplemented in Kratos::OMP_DEMSearch.

◆ PrintInfo()

template<class TDerived >
virtual void Kratos::DEMSearch< TDerived >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::SpatialSearch.

Reimplemented in Kratos::OMP_DEMSearch.

◆ SearchConditionsOverElementsInRadiusExclusive() [1/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchConditionsOverElementsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rInputConditionsList of conditions to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchConditionsOverElementsInRadiusExclusive() [2/4]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchConditionsOverElementsInRadiusExclusive ( ElementsContainerType const &  StructureElements,
ConditionsContainerType const &  InputConditions,
const RadiusArrayType Radius,
VectorResultConditionsContainerType rResults,
VectorDistanceType rResultsDistance 
)
inline

◆ SearchConditionsOverElementsInRadiusExclusive() [3/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchConditionsOverElementsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputConditionsList of conditions to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchConditionsOverElementsInRadiusExclusive() [4/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchConditionsOverElementsInRadiusExclusive

Search neighbours for every element in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchConditionsOverElementsInRadiusInclusive() [1/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchConditionsOverElementsInRadiusInclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rInputConditionsList of conditions to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchConditionsOverElementsInRadiusInclusive() [2/4]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchConditionsOverElementsInRadiusInclusive ( ElementsContainerType const &  StructureElements,
ConditionsContainerType const &  InputConditions,
const RadiusArrayType Radius,
VectorResultConditionsContainerType rResults,
VectorDistanceType rResultsDistance 
)
inline

◆ SearchConditionsOverElementsInRadiusInclusive() [3/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchConditionsOverElementsInRadiusInclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputConditionsList of conditions to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchConditionsOverElementsInRadiusInclusive() [4/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchConditionsOverElementsInRadiusInclusive

Search neighbours for every element in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusExclusive() [1/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusExclusive() [2/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusExclusive() [3/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "StructureElements" excluding itself.

Parameters
rStructureElementsList of nodes against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusExclusive() [4/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "StructureElements" excluding itself.

Parameters
rStructureElementsList of elements modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusExclusive() [5/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchElementsInRadiusExclusive ( ElementsContainerType const &  StructureElements,
ElementsContainerType const &  InputElements,
const RadiusArrayType Radius,
VectorResultElementsContainerType rResults 
)
inlineoverride

◆ SearchElementsInRadiusExclusive() [6/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchElementsInRadiusExclusive ( ElementsContainerType const &  StructureElements,
ElementsContainerType const &  InputElements,
const RadiusArrayType Radius,
VectorResultElementsContainerType rResults,
VectorDistanceType rResultsDistance 
)
inlineoverride

◆ SearchElementsInRadiusExclusive() [7/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusExclusive() [8/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusExclusive() [9/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusExclusive() [10/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusExclusive

Search neighbours for every element in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusInclusive() [1/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "InputElements" including itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusInclusive() [2/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "InputElements" including itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusInclusive() [3/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "StructureElements" including itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusInclusive() [4/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "StructureElements" including itself.

Parameters
rStructureElementsList of elements against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusInclusive() [5/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchElementsInRadiusInclusive ( ElementsContainerType const &  StructureElements,
ElementsContainerType const &  InputElements,
const RadiusArrayType Radius,
VectorResultElementsContainerType rResults 
)
inline

◆ SearchElementsInRadiusInclusive() [6/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchElementsInRadiusInclusive ( ElementsContainerType const &  StructureElements,
ElementsContainerType const &  InputElements,
const RadiusArrayType Radius,
VectorResultElementsContainerType rResults,
VectorDistanceType rResultsDistance 
)
inline

◆ SearchElementsInRadiusInclusive() [7/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "InputElements" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusInclusive() [8/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "InputElements" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsInRadiusInclusive() [9/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "rModelpart" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element

◆ SearchElementsInRadiusInclusive() [10/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsInRadiusInclusive

Search neighbours for every element in "rModelpart" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsOverConditionsInRadiusExclusive() [1/4]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchElementsOverConditionsInRadiusExclusive ( ConditionsContainerType const &  StructureElements,
ElementsContainerType const &  InputElements,
const RadiusArrayType Radius,
VectorResultElementsContainerType rResults,
VectorDistanceType rResultsDistance 
)
inlineoverride

◆ SearchElementsOverConditionsInRadiusExclusive() [2/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsOverConditionsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rStructureConditionsList of conditions against which the neighbours are searched
InputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsOverConditionsInRadiusExclusive() [3/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsOverConditionsInRadiusExclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsOverConditionsInRadiusExclusive() [4/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsOverConditionsInRadiusExclusive

Search neighbours for every element in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsOverConditionsInRadiusInclusive() [1/4]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchElementsOverConditionsInRadiusInclusive ( ConditionsContainerType const &  StructureElements,
ElementsContainerType const &  InputElements,
const RadiusArrayType Radius,
VectorResultElementsContainerType rResults,
VectorDistanceType rResultsDistance 
)
inlineoverride

◆ SearchElementsOverConditionsInRadiusInclusive() [2/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsOverConditionsInRadiusInclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rStructureConditionsList of conditions against which the neighbours are searched
InputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsOverConditionsInRadiusInclusive() [3/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsOverConditionsInRadiusInclusive

Search neighbours for every element in "Inputelements" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputElementsList of elements to be searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchElementsOverConditionsInRadiusInclusive() [4/4]

template<class TDerived >
void Kratos::SpatialSearch::SearchElementsOverConditionsInRadiusInclusive

Search neighbours for every element in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every element
rResultsArray of results for each element
rResultDistanceArray of distances for each result of each element

◆ SearchNodesInRadiusExclusive() [1/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "InputNodes" excluding itself.

Parameters
rModelPartList of nodes against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusExclusive() [2/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "InputNodes" excluding itself.

Parameters
rModelPartList of nodes against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusExclusive() [3/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "rStructureNodes" excluding itself.

Parameters
rStructureNodesList of nodes against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusExclusive() [4/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "rStructureNodes" excluding itself.

Parameters
rStructureNodesList of nodes against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusExclusive() [5/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "InputNodes" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusExclusive() [6/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "InputNodes" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusExclusive() [7/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusExclusive() [8/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusExclusive

Search neighbours for every node in "rModelpart" excluding itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusExclusive() [9/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchNodesInRadiusExclusive ( NodesContainerType const &  StructureNodes,
NodesContainerType const &  InputNodes,
const RadiusArrayType Radius,
VectorResultNodesContainerType rResults 
)
inlineoverride

◆ SearchNodesInRadiusExclusive() [10/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchNodesInRadiusExclusive ( NodesContainerType const &  StructureNodes,
NodesContainerType const &  InputNodes,
const RadiusArrayType Radius,
VectorResultNodesContainerType rResults,
VectorDistanceType rResultsDistance 
)
inlineoverride

◆ SearchNodesInRadiusInclusive() [1/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "InputNodes" including itself.

Parameters
rStructureNodesList of nodes against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusInclusive() [2/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "InputNodes" including itself.

Parameters
rStructureNodesList of nodes against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusInclusive() [3/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "rStructureNodes" including itself.

Parameters
rStructureNodesList of nodes against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusInclusive() [4/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "rStructureNodes" including itself.

Parameters
rStructureNodesList of nodes against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusInclusive() [5/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "InputNodes" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusInclusive() [6/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "InputNodes" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rInputNodesList of nodes to be searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusInclusive() [7/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "rModelpart" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node

◆ SearchNodesInRadiusInclusive() [8/10]

template<class TDerived >
void Kratos::SpatialSearch::SearchNodesInRadiusInclusive

Search neighbours for every node in "rModelpart" including itself.

Parameters
rModelPartInput modelpart against which the neighbours are searched
rRadiusList of search radius for every node
rResultsArray of results for each node
rResultDistanceArray of distances for each result of each node

◆ SearchNodesInRadiusInclusive() [9/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchNodesInRadiusInclusive ( NodesContainerType const &  StructureNodes,
NodesContainerType const &  InputNodes,
const RadiusArrayType Radius,
VectorResultNodesContainerType rResults 
)
inlineoverride

◆ SearchNodesInRadiusInclusive() [10/10]

template<class TDerived >
void Kratos::DEMSearch< TDerived >::SearchNodesInRadiusInclusive ( NodesContainerType const &  StructureNodes,
NodesContainerType const &  InputNodes,
const RadiusArrayType Radius,
VectorResultNodesContainerType rResults,
VectorDistanceType rResultsDistance 
)
inlineoverride

Member Data Documentation

◆ mDomainMax

template<class TDerived >
array_1d<double, 3> Kratos::DEMSearch< TDerived >::mDomainMax
protected

◆ mDomainMin

template<class TDerived >
array_1d<double, 3> Kratos::DEMSearch< TDerived >::mDomainMin
protected

◆ mDomainPeriodicity

template<class TDerived >
bool Kratos::DEMSearch< TDerived >::mDomainPeriodicity
protected

◆ searchPoints

template<class TDerived >
PointVector Kratos::DEMSearch< TDerived >::searchPoints

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