![]() |
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.
|
This class is the result of the spatial searches. More...
#include <spatial_search_result.h>
Public Member Functions | |
Life Cycle | |
| SpatialSearchResult () | |
| Default constructor. More... | |
| SpatialSearchResult (TObjectType *pObject, const int Rank=0) | |
| Constructor with the resulted object. More... | |
| SpatialSearchResult (SpatialSearchResult const &)=default | |
| Copy constructor. More... | |
| SpatialSearchResult (SpatialSearchResult &&)=default | |
| Move constructor. More... | |
| virtual | ~SpatialSearchResult () |
| Destructor. More... | |
Operators | |
| SpatialSearchResult & | operator= (SpatialSearchResult const &)=default |
| Assignment operator. More... | |
Operations | |
| void | Reset () |
| Reset the result. More... | |
Access | |
| TPointerType | Get () |
| Returns the global pointer to the object. More... | |
| TPointerType const | Get () const |
| Returns a const global pointer to the object. More... | |
| void | Set (TObjectType *pObject) |
| Set the object to be pointed. More... | |
| double | GetDistance () const |
| Getting the result distance. More... | |
| void | SetDistance (const double TheDistance) |
| Setting the result distance. More... | |
| bool | GetIsObjectFound () const |
| Getting if the object is found. More... | |
| void | SetIsObjectFound (const bool IsObjectFound) |
| Getting if the object is found. More... | |
| bool | GetIsDistanceCalculated () const |
| Getting if the distance is calculated. More... | |
| void | SetIsDistanceCalculated (const bool IsDistanceCalculated) |
| Setting if the distance is calculated. More... | |
Inquiry | |
| bool | IsObjectFound () const |
| Returns true if the object is set. More... | |
| bool | IsDistanceCalculated () const |
| Returns true if the distance is set. 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 | |
| using | TPointerType = GlobalPointer< TObjectType > |
| Global pointer definition of TObjectType. More... | |
| KRATOS_CLASS_POINTER_DEFINITION (SpatialSearchResult) | |
| Pointer definition of SpatialSearchResult. More... | |
Serialization | |
| class | Serializer |
This class is the result of the spatial searches.
It provides:
| using Kratos::SpatialSearchResult< TObjectType >::TPointerType = GlobalPointer<TObjectType> |
Global pointer definition of TObjectType.
|
inline |
Default constructor.
|
inline |
Constructor with the resulted object.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inlinevirtual |
Destructor.
|
inline |
Returns the global pointer to the object.
|
inline |
Returns a const global pointer to the object.
|
inline |
Getting the result distance.
|
inline |
Getting if the distance is calculated.
|
inline |
Getting if the object is found.
|
inlinevirtual |
Turn back information as a string.
|
inline |
Returns true if the distance is set.
|
inline |
Returns true if the object is set.
| Kratos::SpatialSearchResult< TObjectType >::KRATOS_CLASS_POINTER_DEFINITION | ( | SpatialSearchResult< TObjectType > | ) |
Pointer definition of SpatialSearchResult.
|
default |
Assignment operator.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
|
inline |
Reset the result.
|
inline |
Set the object to be pointed.
|
inline |
Setting the result distance.
|
inline |
Setting if the distance is calculated.
|
inline |
Getting if the object is found.
|
friend |