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 struct provides information related with distributed search. More...
#include <search_utilities.h>
Public Types | |
using | IndexType = std::size_t |
Alias for the data type used to represent indices. More... | |
using | SizeType = std::size_t |
Alias for the data type used to represent sizes. More... | |
Public Member Functions | |
void | Reserve (const SizeType Size) |
Vector of vectors to store ranks. More... | |
void | Shrink () |
Shrink the capacity of the point data vectors to fit the data. More... | |
void | Clear () |
Clear all the data in the point data vectors. More... | |
Public Attributes | |
std::vector< double > | PointCoordinates |
std::vector< IndexType > | Indexes |
Vector to store point coordinates. More... | |
std::vector< int > | SearchRanks |
Vector to store point indices. More... | |
std::vector< std::vector< int > > | Ranks |
Ranks where search is invoked. More... | |
This struct provides information related with distributed search.
The class contains the following:
using Kratos::DistributedSearchInformation::IndexType = std::size_t |
Alias for the data type used to represent indices.
using Kratos::DistributedSearchInformation::SizeType = std::size_t |
Alias for the data type used to represent sizes.
|
inline |
Clear all the data in the point data vectors.
|
inline |
Vector of vectors to store ranks.
Reserve memory for the point data vectors.
Size | The size to reserve. |
|
inline |
Shrink the capacity of the point data vectors to fit the data.
std::vector<IndexType> Kratos::DistributedSearchInformation::Indexes |
Vector to store point coordinates.
std::vector<double> Kratos::DistributedSearchInformation::PointCoordinates |
std::vector<std::vector<int> > Kratos::DistributedSearchInformation::Ranks |
Ranks where search is invoked.
std::vector<int> Kratos::DistributedSearchInformation::SearchRanks |
Vector to store point indices.