waLBerla 7.2
Loading...
Searching...
No Matches
BufferIO.cpp File Reference

Detailed Description

#include "BufferIO.h"
#include "core/mpi/RecvBuffer.h"
#include "core/mpi/SendBuffer.h"
#include <fstream>

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::mpi
 

Typedefs

using walberla::mpi::uintArray = std::array< uint_t, arraySize >
 

Functions

void walberla::mpi::writeBufferNoMPI (const std::string &file, SendBuffer &buffer)
 Writes contents of local buffer to a single binary file without MPI.
 
void walberla::mpi::writeBufferSerialIO (const std::string &file, SendBuffer &buffer)
 Writes contents of local buffer to a single binary file.
 
void walberla::mpi::writeBufferMPIIO (const std::string &file, SendBuffer &buffer)
 Writes contents of local buffer to a single binary file using MPIIO.
 
void walberla::mpi::writeBuffer (const std::string &file, SendBuffer &buffer, const bool forceSerialIO=true)
 Writes contents of local buffer to a single binary file.
 
void walberla::mpi::readBufferNoMPI (const std::string &file, RecvBuffer &buffer)
 Counterpart to writeBufferNoMPI.
 
void walberla::mpi::readBufferSerialIO (const std::string &file, RecvBuffer &buffer)
 Counterpart to writeBufferSerialIO.
 
void walberla::mpi::readBufferMPIIO (const std::string &file, RecvBuffer &buffer)
 Counterpart to writeBufferMPIIO.
 
void walberla::mpi::readBuffer (const std::string &file, RecvBuffer &buffer, const bool forceSerialIO=true)
 Counterpart to writeBuffer.
 

Variables

constexpr uint_t walberla::mpi::arraySize = 2