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 | Typedefs | Functions
mapper_utilities.cpp File Reference
#include "includes/stream_serializer.h"
#include "utilities/parallel_utilities.h"
#include "utilities/reduction_utilities.h"
#include "mapper_utilities.h"
#include "mapping_application_variables.h"
#include "utilities/search_utilities.h"
Include dependency graph for mapper_utilities.cpp:

Namespaces

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

Typedefs

typedef std::size_t Kratos::MapperUtilities::SizeType
 
typedef std::size_t Kratos::MapperUtilities::IndexType
 

Functions

void Kratos::MapperUtilities::AssignInterfaceEquationIds (Communicator &rModelPartCommunicator)
 Assigning INTERFACE_EQUATION_IDs to the nodes, with and without MPI This function assigns the INTERFACE_EQUATION_IDs to the nodes, which act as EquationIds for the MappingMatrix. This work with and without MPI, in MPI a ScanSum is performed with the local number of nodes. More...
 
template<typename TContainer >
double Kratos::MapperUtilities::ComputeMaxEdgeLengthLocal (const TContainer &rEntityContainer)
 
double Kratos::MapperUtilities::ComputeSearchRadius (const ModelPart &rModelPart, const int EchoLevel)
 
double Kratos::MapperUtilities::ComputeSearchRadius (const ModelPart &rModelPart1, const ModelPart &rModelPart2, const int EchoLevel)
 
void Kratos::MapperUtilities::CheckInterfaceModelParts (const int CommRank)
 
BoundingBoxType Kratos::MapperUtilities::ComputeLocalBoundingBox (const ModelPart &rModelPart)
 
BoundingBoxType Kratos::MapperUtilities::ComputeGlobalBoundingBox (const ModelPart &rModelPart)
 
std::string Kratos::MapperUtilities::BoundingBoxStringStream (const BoundingBoxType &rBoundingBox)
 
void Kratos::MapperUtilities::CreateMapperLocalSystemsFromNodes (const MapperLocalSystem &rMapperLocalSystemPrototype, const Communicator &rModelPartCommunicator, std::vector< Kratos::unique_ptr< MapperLocalSystem >> &rLocalSystems)
 
void Kratos::MapperUtilities::CreateMapperLocalSystemsFromGeometries (const MapperLocalSystem &rMapperLocalSystemPrototype, const Communicator &rModelPartCommunicator, std::vector< Kratos::unique_ptr< MapperLocalSystem >> &rLocalSystems)
 
void Kratos::MapperUtilities::SaveCurrentConfiguration (ModelPart &rModelPart)
 
void Kratos::MapperUtilities::RestoreCurrentConfiguration (ModelPart &rModelPart)
 
void Kratos::MapperUtilities::FillBufferBeforeLocalSearch (const MapperLocalSystemPointerVector &rMapperLocalSystems, const std::vector< double > &rBoundingBoxes, const SizeType BufferSizeEstimate, std::vector< std::vector< double >> &rSendBuffer, std::vector< int > &rSendSizes)
 
void Kratos::MapperUtilities::CreateMapperInterfaceInfosFromBuffer (const std::vector< std::vector< double >> &rRecvBuffer, const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo, const int CommRank, MapperInterfaceInfoPointerVectorType &rMapperInterfaceInfosContainer)
 
void Kratos::MapperUtilities::FillBufferAfterLocalSearch (MapperInterfaceInfoPointerVectorType &rMapperInterfaceInfosContainer, const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo, const int CommRank, std::vector< std::vector< char >> &rSendBuffer, std::vector< int > &rSendSizes)
 
void Kratos::MapperUtilities::DeserializeMapperInterfaceInfosFromBuffer (const std::vector< std::vector< char >> &rRecvBuffer, const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo, const int CommRank, MapperInterfaceInfoPointerVectorType &rMapperInterfaceInfosContainer)