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
data_communicator_factory.cpp File Reference
#include "mpi.h"
#include "data_communicator_factory.h"
#include "includes/parallel_environment.h"
#include "mpi/includes/mpi_data_communicator.h"
Include dependency graph for data_communicator_factory.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::DataCommunicatorFactory
 Common tools to define new MPI DataCommunicators.
 

Functions

const DataCommunicator & Kratos::DataCommunicatorFactory::DuplicateAndRegister (const DataCommunicator &rOriginalCommunicator, const std::string &rNewCommunicatorName)
 Create a new MPIDataCommunicator as a duplicate of an existing one. More...
 
const DataCommunicator & Kratos::DataCommunicatorFactory::SplitAndRegister (const DataCommunicator &rOriginalCommunicator, int Color, int Key, const std::string &rNewCommunicatorName)
 Create a new MPIDataCommunicator by splitting an existing one. More...
 
const DataCommunicator & Kratos::DataCommunicatorFactory::CreateFromRanksAndRegister (const DataCommunicator &rOriginalCommunicator, const std::vector< int > &rRanks, const std::string &rNewCommunicatorName)
 Create a new MPIDataCommunicator connecting the provided ranks. More...
 
const DataCommunicator & Kratos::DataCommunicatorFactory::CreateUnionAndRegister (const DataCommunicator &rFirstDataCommunicator, const DataCommunicator &rSecondDataCommunicator, const DataCommunicator &rParentDataCommunicator, const std::string &rNewCommunicatorName)
 Create a new MPIDataCommunicator as the union of the given ones. More...
 
const DataCommunicator & Kratos::DataCommunicatorFactory::CreateIntersectionAndRegister (const DataCommunicator &rFirstDataCommunicator, const DataCommunicator &rSecondDataCommunicator, const DataCommunicator &rParentDataCommunicator, const std::string &rNewCommunicatorName)
 Create a new MPIDataCommunicator as the intersection of the given ones. More...