67 std::string
Info()
const override
69 std::stringstream buffer;
70 buffer <<
"InterfaceCommunicatorMPI" ;
75 void PrintInfo(std::ostream& rOStream)
const override
77 rOStream <<
"InterfaceCommunicatorMPI";
81 void PrintData(std::ostream& rOStream)
const override {}
104 std::vector<double> mGlobalBoundingBoxes;
110 std::vector<int> mSendSizes;
111 std::vector<int> mRecvSizes;
113 BufferTypeDouble mSendBufferDouble;
114 BufferTypeDouble mRecvBufferDouble;
116 BufferTypeChar mSendBufferChar;
117 BufferTypeChar mRecvBufferChar;
123 std::size_t GetBufferSizeEstimate()
const
125 return mrMapperLocalSystems.size() / mCommSize;
128 void ComputeGlobalBoundingBoxes();
130 template<
typename TDataType >
131 int ExchangeDataAsync(
132 const std::vector<std::vector<TDataType>>& rSendBuffer,
133 std::vector<std::vector<TDataType>>& rRecvBuffer);
Object for exchanging data on the Interface.
Definition: interface_communicator.h:45
std::vector< MapperLocalSystemPointer > MapperLocalSystemPointerVector
Definition: interface_communicator.h:59
Object for exchanging data on the Interface in MPI.
Definition: interface_communicator_mpi.h:38
virtual ~InterfaceCommunicatorMPI()
Destructor.
Definition: interface_communicator_mpi.h:58
std::vector< std::vector< char > > BufferTypeChar
Definition: interface_communicator_mpi.h:47
std::string Info() const override
Turn back information as a string.
Definition: interface_communicator_mpi.h:67
std::vector< std::vector< double > > BufferTypeDouble
Definition: interface_communicator_mpi.h:46
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: interface_communicator_mpi.h:75
KRATOS_CLASS_POINTER_DEFINITION(InterfaceCommunicatorMPI)
Pointer definition of InterfaceCommunicatorMPI.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: interface_communicator_mpi.h:81
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
Kratos::unique_ptr< MapperInterfaceInfo > MapperInterfaceInfoUniquePointerType
Definition: mapper_utilities.h:40
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21