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. More...
#include <interface_communicator.h>
Public Member Functions | |
Life Cycle | |
InterfaceCommunicator (ModelPart &rModelPartOrigin, MapperLocalSystemPointerVector &rMapperLocalSystems, Parameters SearchSettings) | |
virtual | ~InterfaceCommunicator ()=default |
Destructor. More... | |
Operations | |
void | ExchangeInterfaceData (const Communicator &rComm, const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) |
Inquiry | |
int | AreMeshesConforming () |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Protected Member Functions | |
Protected Operations | |
virtual void | InitializeSearch (const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) |
virtual void | FinalizeSearch () |
virtual void | InitializeSearchIteration (const MapperInterfaceInfoUniquePointerType &rpRefInterfaceInfo) |
virtual void | FinalizeSearchIteration (const MapperInterfaceInfoUniquePointerType &rpInterfaceInfo) |
void | FilterInterfaceInfosSuccessfulSearch () |
void | AssignInterfaceInfos () |
Protected Attributes | |
Protected member Variables | |
ModelPart & | mrModelPartOrigin |
const MapperLocalSystemPointerVector & | mrMapperLocalSystems |
MapperInterfaceInfoPointerVectorType | mMapperInterfaceInfosContainer |
BinsUniquePointerType | mpLocalBinStructure |
InterfaceObjectContainerUniquePointerType | mpInterfaceObjectsOrigin |
Parameters | mSearchSettings |
double | mSearchRadius = -1.0 |
int | mEchoLevel = 0 |
int | mMeshesAreConforming = 0 |
Type Definitions | |
typedef Kratos::unique_ptr< MapperInterfaceInfo > | MapperInterfaceInfoUniquePointerType |
typedef Kratos::shared_ptr< MapperInterfaceInfo > | MapperInterfaceInfoPointerType |
typedef std::vector< std::vector< MapperInterfaceInfoPointerType > > | MapperInterfaceInfoPointerVectorType |
typedef Kratos::unique_ptr< MapperLocalSystem > | MapperLocalSystemPointer |
typedef std::vector< MapperLocalSystemPointer > | MapperLocalSystemPointerVector |
typedef Kratos::unique_ptr< BinsObjectDynamic< InterfaceObjectConfigure > > | BinsUniquePointerType |
typedef InterfaceObjectConfigure::ContainerType | InterfaceObjectContainerType |
typedef Kratos::unique_ptr< InterfaceObjectContainerType > | InterfaceObjectContainerUniquePointerType |
KRATOS_CLASS_POINTER_DEFINITION (InterfaceCommunicator) | |
Pointer definition of InterfaceCommunicator. More... | |
Object for exchanging data on the Interface.
Mapping requires knowledge about the "other" side of the Interface. This class communicates the data required by the mappers, hence it also includes the (local) searching
typedef Kratos::unique_ptr<BinsObjectDynamic<InterfaceObjectConfigure> > Kratos::InterfaceCommunicator::BinsUniquePointerType |
typedef InterfaceObjectConfigure::ContainerType Kratos::InterfaceCommunicator::InterfaceObjectContainerType |
typedef Kratos::unique_ptr<InterfaceObjectContainerType> Kratos::InterfaceCommunicator::InterfaceObjectContainerUniquePointerType |
typedef Kratos::shared_ptr<MapperInterfaceInfo> Kratos::InterfaceCommunicator::MapperInterfaceInfoPointerType |
typedef std::vector<std::vector<MapperInterfaceInfoPointerType> > Kratos::InterfaceCommunicator::MapperInterfaceInfoPointerVectorType |
typedef Kratos::unique_ptr<MapperInterfaceInfo> Kratos::InterfaceCommunicator::MapperInterfaceInfoUniquePointerType |
typedef Kratos::unique_ptr<MapperLocalSystem> Kratos::InterfaceCommunicator::MapperLocalSystemPointer |
typedef std::vector<MapperLocalSystemPointer> Kratos::InterfaceCommunicator::MapperLocalSystemPointerVector |
Kratos::InterfaceCommunicator::InterfaceCommunicator | ( | ModelPart & | rModelPartOrigin, |
MapperLocalSystemPointerVector & | rMapperLocalSystems, | ||
Parameters | SearchSettings | ||
) |
|
virtualdefault |
Destructor.
|
inline |
|
protected |
void Kratos::InterfaceCommunicator::ExchangeInterfaceData | ( | const Communicator & | rComm, |
const MapperInterfaceInfoUniquePointerType & | rpRefInterfaceInfo | ||
) |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in Kratos::InterfaceCommunicatorMPI.
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::InterfaceCommunicatorMPI.
|
protectedvirtual |
Reimplemented in Kratos::InterfaceCommunicatorMPI.
|
protectedvirtual |
Reimplemented in Kratos::InterfaceCommunicatorMPI.
Kratos::InterfaceCommunicator::KRATOS_CLASS_POINTER_DEFINITION | ( | InterfaceCommunicator | ) |
Pointer definition of InterfaceCommunicator.
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::InterfaceCommunicatorMPI.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::InterfaceCommunicatorMPI.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |