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.
Namespaces | Functions
add_search_strategies_to_python.cpp File Reference
#include "includes/define_python.h"
#include "python/add_search_strategies_to_python.h"
#include "utilities/parallel_utilities.h"
#include "spatial_containers/spatial_search.h"
#include "spatial_containers/specialized_spatial_search.h"
#include "spatial_containers/specialized_spatial_search_factory.h"
#include "spatial_containers/geometrical_objects_bins.h"
#include "spatial_containers/spatial_search_result.h"
Include dependency graph for add_search_strategies_to_python.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::Python
 

Functions

template<class TClass >
void Kratos::Python::GenerateListFromVectorOfVector (pybind11::list &rList, const TClass &rVector)
 Generates a list of lists from a vector of vectors. More...
 
void Kratos::Python::CopyRadiusArrayToPython (const pybind11::list &rListOfRadius, SpatialSearch::RadiusArrayType &rRadiusArray)
 Copies a list of doubles to a radius array. More...
 
SpatialSearch::RadiusArrayType Kratos::Python::CopyRadiusArrayToPython (const pybind11::list &rListOfRadius)
 Copies a Python list of radius to a C++ radius array. More...
 
template<class TClass >
std::tuple< pybind11::list, pybind11::list > Kratos::Python::GenerateSpatialSearchSolutionTuple (const TClass &rResults, SpatialSearch::VectorDistanceType &rDistances)
 Generates a tuple of two python lists containing the elements and distances of a spatial search result. More...
 
template<SpatialContainer TSearchBackend>
void Kratos::Python::DefineSpecializedSpatialSearch (pybind11::module &m, const std::string &rClassName)
 Defines a specialized spatial search module in Pybind11. More...
 
void Kratos::Python::AddSearchStrategiesToPython (pybind11::module &m)