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 designed to allow the fast location of MANY points on the top of a 3D mesh. (for conditions) More...
#include <binbased_fast_point_locator_conditions.h>
Public Member Functions | |
Life Cycle | |
BinBasedFastPointLocatorConditions (ModelPart &rModelPart) | |
This is the default constructor. More... | |
~BinBasedFastPointLocatorConditions () override=default | |
Destructor. More... | |
Public Member Functions inherited from Kratos::BinBasedFastPointLocator< TDim, SpatialContainersConfigure< TDim, Condition > > | |
BinBasedFastPointLocator (ModelPart &rModelPart) | |
This is the default constructor. More... | |
BinBasedFastPointLocator (BinBasedFastPointLocator const &rOther) | |
Copy constructor. More... | |
virtual | ~BinBasedFastPointLocator ()=default |
Destructor. More... | |
KRATOS_CLASS_POINTER_DEFINITION (BinBasedFastPointLocator) | |
Pointer definition of BinBasedFastPointLocator. More... | |
void | UpdateSearchDatabase () |
Function to construct or update the search database. More... | |
void | UpdateSearchDatabaseAssignedSize (const BinsCoordinateType CellSize) |
Function to construct or update the search database. More... | |
KRATOS_DEPRECATED_MESSAGE ("This is legacy version (using array instead of vector for shape function)") bool FindPointOnMesh(const array_1d< double | |
This function should find the element into which a given node is located and return a pointer to the element and the vector containing the shape functions that define the postion within the element. More... | |
Type Definitions | |
typedef BinBasedFastPointLocator< TDim, SpatialContainersConfigure< TDim, Condition > > | BaseType |
The base type definition. More... | |
KRATOS_CLASS_POINTER_DEFINITION (BinBasedFastPointLocatorConditions) | |
Pointer definition of BinBasedFastPointLocatorConditions. More... | |
This class is designed to allow the fast location of MANY points on the top of a 3D mesh. (for conditions)
The utility relies on the creation of a Bin of objects that allows finding quikly a reduced number of condition candidates for the location of a point. The basic idea is to allow finding the condition in which a given spatial position sits The user should call the function "UpdateSearchDatabase" to mount the bin and subsequently locate the points as needed
TDim | If we work in a 2D or 3D space |
typedef BinBasedFastPointLocator<TDim, SpatialContainersConfigure<TDim, Condition> > Kratos::BinBasedFastPointLocatorConditions< TDim >::BaseType |
The base type definition.
|
inline |
This is the default constructor.
rModelPart | The model part of the mesh used in the search |
|
overridedefault |
Destructor.
Kratos::BinBasedFastPointLocatorConditions< TDim >::KRATOS_CLASS_POINTER_DEFINITION | ( | BinBasedFastPointLocatorConditions< TDim > | ) |
Pointer definition of BinBasedFastPointLocatorConditions.