walberla::geometry::BinaryRawFile Class Reference

#include <BinaryRawFile.h>

Public Member Functions

 BinaryRawFile (const std::string &filename, const Vector3< uint_t > &size, const std::string &datatype)
 
 BinaryRawFile (const Config::BlockHandle &configBlock)
 
bool get (const Vector3< uint_t > &pos) const
 
bool get (const uint_t x, const uint_t y, const uint_t z) const
 
const Vector3< uint_t > & size () const
 

Static Public Member Functions

template<typename T >
static BinaryRawFile loadFile (const std::string &filename, const Vector3< uint_t > &size)
 

Private Member Functions

template<typename T >
 BinaryRawFile (const std::string &filename, const Vector3< uint_t > &size, const T)
 
void init (const std::string &filename, const std::string &datatype)
 
template<typename T >
void init (const std::string &filename)
 

Private Attributes

Vector3< uint_tsize_
 
std::vector< bool > data_
 

Constructor & Destructor Documentation

◆ BinaryRawFile() [1/3]

walberla::geometry::BinaryRawFile::BinaryRawFile ( const std::string &  filename,
const Vector3< uint_t > &  size,
const std::string &  datatype 
)

◆ BinaryRawFile() [2/3]

walberla::geometry::BinaryRawFile::BinaryRawFile ( const Config::BlockHandle configBlock)

◆ BinaryRawFile() [3/3]

template<typename T >
walberla::geometry::BinaryRawFile::BinaryRawFile ( const std::string &  filename,
const Vector3< uint_t > &  size,
const  T 
)
private

Member Function Documentation

◆ get() [1/2]

bool walberla::geometry::BinaryRawFile::get ( const uint_t  x,
const uint_t  y,
const uint_t  z 
) const
inline

◆ get() [2/2]

bool walberla::geometry::BinaryRawFile::get ( const Vector3< uint_t > &  pos) const
inline

◆ init() [1/2]

template<typename T >
void walberla::geometry::BinaryRawFile::init ( const std::string &  filename)
private

◆ init() [2/2]

void walberla::geometry::BinaryRawFile::init ( const std::string &  filename,
const std::string &  datatype 
)
private

◆ loadFile()

template<typename T >
static BinaryRawFile walberla::geometry::BinaryRawFile::loadFile ( const std::string &  filename,
const Vector3< uint_t > &  size 
)
static

◆ size()

const Vector3< uint_t>& walberla::geometry::BinaryRawFile::size ( ) const
inline

Member Data Documentation

◆ data_

std::vector< bool > walberla::geometry::BinaryRawFile::data_
private

◆ size_

Vector3< uint_t > walberla::geometry::BinaryRawFile::size_
private

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