69 template<SpatialContainer TSearchBackend>
113 mParameters = GetDefaultParameters();
121 : mParameters(ThisParameters)
124 const Parameters default_parameters = GetDefaultParameters();
127 mParameters.RecursivelyValidateAndAssignDefaults(default_parameters);
144 void SearchElementsInRadiusExclusive(
155 void SearchElementsInRadiusExclusive(
165 void SearchNodesInRadiusExclusive(
176 void SearchNodesInRadiusExclusive(
186 void SearchConditionsInRadiusExclusive(
197 void SearchConditionsInRadiusExclusive(
209 std::string
Info()
const override
211 std::stringstream buffer;
212 buffer <<
"SpecializedSpatialSearch" ;
220 rOStream <<
"SpecializedSpatialSearch";
295 template<SpatialContainer TSearchBackend>
300 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
A dynamic binning data structure template for organizing and querying points in multi-dimensional spa...
Definition: bins_dynamic.h:57
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.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
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
ElementsContainerType::ContainerType ResultElementsContainerType
Definition: spatial_search.h:86
std::vector< double > DistanceType
Definition: spatial_search.h:96
This class is used to search for elements, conditions and nodes in a given model part.
Definition: specialized_spatial_search.h:72
std::string Info() const override
Turn back information as a string.
Definition: specialized_spatial_search.h:209
SpecializedSpatialSearch()
Default constructor.
Definition: specialized_spatial_search.h:110
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: specialized_spatial_search.h:224
Parameters mParameters
Definition: specialized_spatial_search.h:242
SpecializedSpatialSearch(Parameters ThisParameters)
Constructor with parameters.
Definition: specialized_spatial_search.h:120
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: specialized_spatial_search.h:218
KRATOS_CLASS_POINTER_DEFINITION(SpecializedSpatialSearch)
Pointer definition of SpecializedSpatialSearch.
~SpecializedSpatialSearch() override=default
Destructor.
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesContainerType
Definition: find_conditions_neighbours_process.h:44
SpatialContainer
This enum defines the different spatial containers available.
Definition: specialized_spatial_search.h:46
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