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.
|
Object for exchanging data on the Interface in MPI. More...
#include <interface_communicator_mpi.h>
Public Member Functions | |
Life Cycle | |
InterfaceCommunicatorMPI (ModelPart &rModelPartOrigin, MapperLocalSystemPointerVector &rMapperLocalSystems, Parameters SearchSettings) | |
virtual | ~InterfaceCommunicatorMPI () |
Destructor. More... | |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::InterfaceCommunicator | |
InterfaceCommunicator (ModelPart &rModelPartOrigin, MapperLocalSystemPointerVector &rMapperLocalSystems, Parameters SearchSettings) | |
virtual | ~InterfaceCommunicator ()=default |
Destructor. More... | |
void | ExchangeInterfaceData (const Communicator &rComm, const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) |
int | AreMeshesConforming () |
KRATOS_CLASS_POINTER_DEFINITION (InterfaceCommunicator) | |
Pointer definition of InterfaceCommunicator. More... | |
Protected Member Functions | |
Protected Operations | |
void | InitializeSearch (const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) override |
void | InitializeSearchIteration (const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) override |
void | FinalizeSearchIteration (const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) override |
Protected Member Functions inherited from Kratos::InterfaceCommunicator | |
virtual void | FinalizeSearch () |
void | FilterInterfaceInfosSuccessfulSearch () |
void | AssignInterfaceInfos () |
Type Definitions | |
typedef std::vector< std::vector< double > > | BufferTypeDouble |
typedef std::vector< std::vector< char > > | BufferTypeChar |
KRATOS_CLASS_POINTER_DEFINITION (InterfaceCommunicatorMPI) | |
Pointer definition of InterfaceCommunicatorMPI. More... | |
Object for exchanging data on the Interface in MPI.
It extends it's baseclass by remote-searching capabilities. I.e. before the local search, data is exchanged among the partitions to be used by the local-search
typedef std::vector<std::vector<char> > Kratos::InterfaceCommunicatorMPI::BufferTypeChar |
typedef std::vector<std::vector<double> > Kratos::InterfaceCommunicatorMPI::BufferTypeDouble |
Kratos::InterfaceCommunicatorMPI::InterfaceCommunicatorMPI | ( | ModelPart & | rModelPartOrigin, |
MapperLocalSystemPointerVector & | rMapperLocalSystems, | ||
Parameters | SearchSettings | ||
) |
|
inlinevirtual |
Destructor.
|
overrideprotectedvirtual |
Reimplemented from Kratos::InterfaceCommunicator.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::InterfaceCommunicator.
|
overrideprotectedvirtual |
Reimplemented from Kratos::InterfaceCommunicator.
|
overrideprotectedvirtual |
Reimplemented from Kratos::InterfaceCommunicator.
Kratos::InterfaceCommunicatorMPI::KRATOS_CLASS_POINTER_DEFINITION | ( | InterfaceCommunicatorMPI | ) |
Pointer definition of InterfaceCommunicatorMPI.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::InterfaceCommunicator.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::InterfaceCommunicator.