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.
List of all members
Kratos::InterfaceCommunicatorMPI Class Reference

Object for exchanging data on the Interface in MPI. More...

#include <interface_communicator_mpi.h>

Inheritance diagram for Kratos::InterfaceCommunicatorMPI:
Collaboration diagram for Kratos::InterfaceCommunicatorMPI:

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...
 

Additional Inherited Members

- Public Types inherited from Kratos::InterfaceCommunicator
typedef Kratos::unique_ptr< MapperInterfaceInfoMapperInterfaceInfoUniquePointerType
 
typedef Kratos::shared_ptr< MapperInterfaceInfoMapperInterfaceInfoPointerType
 
typedef std::vector< std::vector< MapperInterfaceInfoPointerType > > MapperInterfaceInfoPointerVectorType
 
typedef Kratos::unique_ptr< MapperLocalSystemMapperLocalSystemPointer
 
typedef std::vector< MapperLocalSystemPointerMapperLocalSystemPointerVector
 
typedef Kratos::unique_ptr< BinsObjectDynamic< InterfaceObjectConfigure > > BinsUniquePointerType
 
typedef InterfaceObjectConfigure::ContainerType InterfaceObjectContainerType
 
typedef Kratos::unique_ptr< InterfaceObjectContainerTypeInterfaceObjectContainerUniquePointerType
 
- Protected Attributes inherited from Kratos::InterfaceCommunicator
ModelPartmrModelPartOrigin
 
const MapperLocalSystemPointerVectormrMapperLocalSystems
 
MapperInterfaceInfoPointerVectorType mMapperInterfaceInfosContainer
 
BinsUniquePointerType mpLocalBinStructure
 
InterfaceObjectContainerUniquePointerType mpInterfaceObjectsOrigin
 
Parameters mSearchSettings
 
double mSearchRadius = -1.0
 
int mEchoLevel = 0
 
int mMeshesAreConforming = 0
 

Detailed Description

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

Member Typedef Documentation

◆ BufferTypeChar

typedef std::vector<std::vector<char> > Kratos::InterfaceCommunicatorMPI::BufferTypeChar

◆ BufferTypeDouble

typedef std::vector<std::vector<double> > Kratos::InterfaceCommunicatorMPI::BufferTypeDouble

Constructor & Destructor Documentation

◆ InterfaceCommunicatorMPI()

Kratos::InterfaceCommunicatorMPI::InterfaceCommunicatorMPI ( ModelPart rModelPartOrigin,
MapperLocalSystemPointerVector rMapperLocalSystems,
Parameters  SearchSettings 
)

◆ ~InterfaceCommunicatorMPI()

virtual Kratos::InterfaceCommunicatorMPI::~InterfaceCommunicatorMPI ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ FinalizeSearchIteration()

void Kratos::InterfaceCommunicatorMPI::FinalizeSearchIteration ( const MapperInterfaceInfoUniquePointerType rpRefInterfaceInfo)
overrideprotectedvirtual

Reimplemented from Kratos::InterfaceCommunicator.

◆ Info()

std::string Kratos::InterfaceCommunicatorMPI::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::InterfaceCommunicator.

◆ InitializeSearch()

void Kratos::InterfaceCommunicatorMPI::InitializeSearch ( const MapperInterfaceInfoUniquePointerType rpRefInterfaceInfo)
overrideprotectedvirtual

Reimplemented from Kratos::InterfaceCommunicator.

◆ InitializeSearchIteration()

void Kratos::InterfaceCommunicatorMPI::InitializeSearchIteration ( const MapperInterfaceInfoUniquePointerType rpRefInterfaceInfo)
overrideprotectedvirtual

Reimplemented from Kratos::InterfaceCommunicator.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::InterfaceCommunicatorMPI::KRATOS_CLASS_POINTER_DEFINITION ( InterfaceCommunicatorMPI  )

Pointer definition of InterfaceCommunicatorMPI.

◆ PrintData()

void Kratos::InterfaceCommunicatorMPI::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::InterfaceCommunicator.

◆ PrintInfo()

void Kratos::InterfaceCommunicatorMPI::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::InterfaceCommunicator.


The documentation for this class was generated from the following files: