65 static constexpr std::size_t Dimension = 3;
68 static constexpr std::size_t MAX_LEVEL = 16;
71 static constexpr std::size_t MIN_LEVEL = 2;
128 virtual void SearchElementsInRadiusExclusive (
130 const RadiusArrayType& rRadius,
131 VectorResultElementsContainerType& rResults,
132 VectorDistanceType& rResultsDistance
143 virtual void SearchElementsInRadiusExclusive (
146 const RadiusArrayType& rRadius,
147 VectorResultElementsContainerType& rResults,
148 VectorDistanceType& rResultsDistance
158 virtual void SearchElementsInRadiusExclusive (
160 const RadiusArrayType& rRadius,
161 VectorResultElementsContainerType& rResults,
162 VectorDistanceType& rResultsDistance
173 virtual void SearchElementsInRadiusExclusive (
176 const RadiusArrayType& rRadius,
177 VectorResultElementsContainerType& rResults,
178 VectorDistanceType& rResultsDistance
192 virtual void SearchElementsInRadiusInclusive (
194 const RadiusArrayType& rRadius,
195 VectorResultNodesContainerType& rResults,
196 VectorDistanceType& rResultsDistance
207 virtual void SearchElementsInRadiusInclusive (
210 const RadiusArrayType& rRadius,
211 VectorResultNodesContainerType& rResults,
212 VectorDistanceType& rResultsDistance
222 virtual void SearchElementsInRadiusInclusive (
224 const RadiusArrayType& rRadius,
225 VectorResultNodesContainerType& rResults,
226 VectorDistanceType& rResultsDistance
237 virtual void SearchElementsInRadiusInclusive (
240 const RadiusArrayType& rRadius,
241 VectorResultNodesContainerType& rResults,
242 VectorDistanceType& rResultsDistance
255 virtual void SearchElementsInRadiusExclusive (
257 const RadiusArrayType& rRadius,
258 VectorResultElementsContainerType& rResults
268 virtual void SearchElementsInRadiusExclusive (
271 const RadiusArrayType& rRadius,
272 VectorResultElementsContainerType& rResults
281 virtual void SearchElementsInRadiusExclusive (
283 const RadiusArrayType& rRadius,
284 VectorResultElementsContainerType& rResults
294 virtual void SearchElementsInRadiusExclusive (
297 const RadiusArrayType& rRadius,
298 VectorResultElementsContainerType& rResults
311 virtual void SearchElementsInRadiusInclusive (
313 const RadiusArrayType& rRadius,
314 VectorResultNodesContainerType& rResults
324 virtual void SearchElementsInRadiusInclusive (
327 const RadiusArrayType& rRadius,
328 VectorResultNodesContainerType& rResults
337 virtual void SearchElementsInRadiusInclusive (
339 const RadiusArrayType& rRadius,
340 VectorResultNodesContainerType& rResults
350 virtual void SearchElementsInRadiusInclusive (
353 const RadiusArrayType& rRadius,
354 VectorResultNodesContainerType& rResults
368 virtual void SearchNodesInRadiusExclusive (
370 const RadiusArrayType& rRadius,
371 VectorResultNodesContainerType& rResults,
372 VectorDistanceType& rResultsDistance
383 virtual void SearchNodesInRadiusExclusive (
386 const RadiusArrayType& rRadius,
387 VectorResultNodesContainerType& rResults,
388 VectorDistanceType& rResultsDistance
398 virtual void SearchNodesInRadiusExclusive (
400 const RadiusArrayType& rRadius,
401 VectorResultNodesContainerType& rResults,
402 VectorDistanceType& rResultsDistance
413 virtual void SearchNodesInRadiusExclusive (
416 const RadiusArrayType& rRadius,
417 VectorResultNodesContainerType& rResults,
418 VectorDistanceType& rResultsDistance
432 virtual void SearchNodesInRadiusInclusive (
434 const RadiusArrayType& rRadius,
435 VectorResultNodesContainerType& rResults,
436 VectorDistanceType& rResultsDistance
447 virtual void SearchNodesInRadiusInclusive (
450 const RadiusArrayType& rRadius,
451 VectorResultNodesContainerType& rResults,
452 VectorDistanceType& rResultsDistance
462 virtual void SearchNodesInRadiusInclusive (
464 const RadiusArrayType& rRadius,
465 VectorResultNodesContainerType& rResults,
466 VectorDistanceType& rResultsDistance
477 virtual void SearchNodesInRadiusInclusive (
480 const RadiusArrayType& rRadius,
481 VectorResultNodesContainerType& rResults,
482 VectorDistanceType& rResultsDistance
495 virtual void SearchNodesInRadiusExclusive (
497 const RadiusArrayType& rRadius,
498 VectorResultNodesContainerType& rResults
508 virtual void SearchNodesInRadiusExclusive (
511 const RadiusArrayType& rRadius,
512 VectorResultNodesContainerType& rResults
521 virtual void SearchNodesInRadiusExclusive (
523 const RadiusArrayType& rRadius,
524 VectorResultNodesContainerType& rResults
534 virtual void SearchNodesInRadiusExclusive (
537 const RadiusArrayType& rRadius,
538 VectorResultNodesContainerType& rResults
551 virtual void SearchNodesInRadiusInclusive (
553 const RadiusArrayType& rRadius,
554 VectorResultNodesContainerType& rResults
564 virtual void SearchNodesInRadiusInclusive (
567 const RadiusArrayType& rRadius,
568 VectorResultNodesContainerType& rResults
577 virtual void SearchNodesInRadiusInclusive (
579 const RadiusArrayType& rRadius,
580 VectorResultNodesContainerType& rResults
590 virtual void SearchNodesInRadiusInclusive (
593 const RadiusArrayType& rRadius,
594 VectorResultNodesContainerType& rResults
608 virtual void SearchConditionsInRadiusExclusive (
610 const RadiusArrayType& rRadius,
611 VectorResultConditionsContainerType& rResults,
612 VectorDistanceType& rResultsDistance
623 virtual void SearchConditionsInRadiusExclusive (
626 const RadiusArrayType& rRadius,
627 VectorResultConditionsContainerType& rResults,
628 VectorDistanceType& rResultsDistance
638 virtual void SearchConditionsInRadiusExclusive (
640 const RadiusArrayType& rRadius,
641 VectorResultConditionsContainerType& rResults,
642 VectorDistanceType& rResultsDistance
653 virtual void SearchConditionsInRadiusExclusive (
656 const RadiusArrayType& rRadius,
657 VectorResultConditionsContainerType& rResults,
658 VectorDistanceType& rResultsDistance
672 virtual void SearchConditionsInRadiusInclusive (
674 const RadiusArrayType& rRadius,
675 VectorResultNodesContainerType& rResults,
676 VectorDistanceType& rResultsDistance
687 virtual void SearchConditionsInRadiusInclusive (
690 const RadiusArrayType& rRadius,
691 VectorResultNodesContainerType& rResults,
692 VectorDistanceType& rResultsDistance
702 virtual void SearchConditionsInRadiusInclusive (
704 const RadiusArrayType& rRadius,
705 VectorResultNodesContainerType& rResults,
706 VectorDistanceType& rResultsDistance
717 virtual void SearchConditionsInRadiusInclusive (
720 const RadiusArrayType& rRadius,
721 VectorResultNodesContainerType& rResults,
722 VectorDistanceType& rResultsDistance
735 virtual void SearchConditionsInRadiusExclusive (
737 const RadiusArrayType& rRadius,
738 VectorResultConditionsContainerType& rResults
748 virtual void SearchConditionsInRadiusExclusive (
751 const RadiusArrayType& rRadius,
752 VectorResultConditionsContainerType& rResults
761 virtual void SearchConditionsInRadiusExclusive (
763 const RadiusArrayType& rRadius,
764 VectorResultConditionsContainerType& rResults
774 virtual void SearchConditionsInRadiusExclusive (
777 const RadiusArrayType& rRadius,
778 VectorResultConditionsContainerType& rResults
791 virtual void SearchConditionsInRadiusInclusive (
793 const RadiusArrayType& rRadius,
794 VectorResultNodesContainerType& rResults
804 virtual void SearchConditionsInRadiusInclusive (
807 const RadiusArrayType& rRadius,
808 VectorResultNodesContainerType& rResults
817 virtual void SearchConditionsInRadiusInclusive (
819 const RadiusArrayType& rRadius,
820 VectorResultNodesContainerType& rResults
830 virtual void SearchConditionsInRadiusInclusive (
833 const RadiusArrayType& rRadius,
834 VectorResultNodesContainerType& rResults
848 virtual void SearchConditionsOverElementsInRadiusExclusive (
850 const RadiusArrayType& rRadius,
851 VectorResultElementsContainerType& rResults,
852 VectorDistanceType& rResultsDistance
863 virtual void SearchConditionsOverElementsInRadiusExclusive (
866 const RadiusArrayType& rRadius,
867 VectorResultElementsContainerType& rResults,
868 VectorDistanceType& rResultsDistance
879 virtual void SearchConditionsOverElementsInRadiusExclusive (
882 const RadiusArrayType& rRadius,
883 VectorResultElementsContainerType& rResults,
884 VectorDistanceType& rResultsDistance
898 virtual void SearchConditionsOverElementsInRadiusInclusive (
900 const RadiusArrayType& rRadius,
901 VectorResultElementsContainerType& rResults,
902 VectorDistanceType& rResultsDistance
913 virtual void SearchConditionsOverElementsInRadiusInclusive (
916 const RadiusArrayType& rRadius,
917 VectorResultElementsContainerType& rResults,
918 VectorDistanceType& rResultsDistance
929 virtual void SearchConditionsOverElementsInRadiusInclusive (
932 const RadiusArrayType& rRadius,
933 VectorResultElementsContainerType& rResults,
934 VectorDistanceType& rResultsDistance
948 virtual void SearchElementsOverConditionsInRadiusExclusive (
950 const RadiusArrayType& rRadius,
951 VectorResultElementsContainerType& rResults,
952 VectorDistanceType& rResultsDistance
963 virtual void SearchElementsOverConditionsInRadiusExclusive (
966 const RadiusArrayType& rRadius,
967 VectorResultElementsContainerType& rResults,
968 VectorDistanceType& rResultsDistance
979 virtual void SearchElementsOverConditionsInRadiusExclusive (
982 const RadiusArrayType& rRadius,
983 VectorResultElementsContainerType& rResults,
984 VectorDistanceType& rResultsDistance
998 virtual void SearchElementsOverConditionsInRadiusInclusive (
1000 const RadiusArrayType& rRadius,
1001 VectorResultElementsContainerType& rResults,
1002 VectorDistanceType& rResultsDistance
1013 virtual void SearchElementsOverConditionsInRadiusInclusive (
1016 const RadiusArrayType& rRadius,
1017 VectorResultElementsContainerType& rResults,
1018 VectorDistanceType& rResultsDistance
1029 virtual void SearchElementsOverConditionsInRadiusInclusive (
1032 const RadiusArrayType& rRadius,
1033 VectorResultElementsContainerType& rResults,
1034 VectorDistanceType& rResultsDistance
1074 std::stringstream buffer;
1075 buffer <<
"SpatialSearch" ;
1077 return buffer.str();
1081 virtual void PrintInfo(std::ostream& rOStream)
const {rOStream <<
"SpatialSearch";}
1155 SpatialSearch(SpatialSearch
const& rOther)
1176 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::ConditionsContainerType ConditionsContainerType
Condintions container. A vector set of Conditions with their Id's as key.
Definition: model_part.h:183
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
This class defines the node.
Definition: node.h:65
Point class.
Definition: point.h:59
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
This class is used to search for elements, conditions and nodes in a given model part.
Definition: spatial_search.h:50
virtual ~SpatialSearch()
Destructor.
Definition: spatial_search.h:107
std::vector< ResultConditionsContainerType > VectorResultConditionsContainerType
Definition: spatial_search.h:92
std::vector< double > RadiusArrayType
Input/output types.
Definition: spatial_search.h:95
ConditionsContainerType::ContainerType ResultConditionsContainerType
Definition: spatial_search.h:91
std::vector< DistanceType > VectorDistanceType
Definition: spatial_search.h:97
std::vector< ResultNodesContainerType > VectorResultNodesContainerType
Definition: spatial_search.h:82
NodesContainerType::ContainerType ResultNodesContainerType
Definition: spatial_search.h:81
std::vector< ResultElementsContainerType > VectorResultElementsContainerType
Definition: spatial_search.h:87
std::size_t SizeType
The size type definition.
Definition: spatial_search.h:59
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: spatial_search.h:1084
virtual std::string Info() const
Turn back information as a string.
Definition: spatial_search.h:1072
std::size_t IndexType
The index type definition.
Definition: spatial_search.h:62
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: spatial_search.h:1081
ElementsContainerType::ContainerType ResultElementsContainerType
Definition: spatial_search.h:86
KRATOS_CLASS_POINTER_DEFINITION(SpatialSearch)
Pointer definition of SpatialSearch.
std::vector< double > DistanceType
Definition: spatial_search.h:96
SpatialSearch()
Default constructor.
Definition: spatial_search.h:104
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesContainerType
Definition: find_conditions_neighbours_process.h:44
ModelPart::ConditionsContainerType ConditionsContainerType
Definition: find_conditions_neighbours_process.h:45
ModelPart::ElementsContainerType ElementsContainerType
Definition: clear_contact_conditions_mesher_process.hpp:43
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
Configure::ContainerType ContainerType
Definition: transfer_utility.h:247