85 const size_t compressionLevel);
98 inline const float&
operator[](
const size_t& index)
const {
return mData[index]; };
static constexpr size_t kChunkSize1D256kB
Number of elements to get 256KB block of data.
The class for real matrices.
size_t mRowSize
Size of a 1D row in X dimension.
float & getElementFrom3D(const size_t x, const size_t y, const size_t z)
Get element from 3D matrix.
virtual void writeData(Hdf5File &file, MatrixName &matrixName, const size_t compressionLevel)
Write data into HDF5 file.
RealMatrix & operator=(const RealMatrix &)
Operator= is not allowed.
virtual void readData(Hdf5File &file, MatrixName &matrixName)
Read matrix from HDF5 file.
void initDimensions(const DimensionSizes &dimensionSizes)
Init dimension.
float * mData
Raw matrix data.
const float & getElementFrom3D(const size_t x, const size_t y, const size_t z) const
Get element from 3D matrix, const version.
Class wrapping the HDF5 routines.
The class for complex matrices.
const std::string MatrixName
Datatype for matrix names.
Structure with 4D dimension sizes (3 in space and 1 in time).
static constexpr size_t kChunkSize1D4MB
Number of elements to get 4MB block of data.
The header file containing the structure with 3D dimension sizes.
const float & operator[](const size_t &index) const
Operator[], constant version.
float & operator[](const size_t &index)
operator[].
The header file containing the base class for single precisions floating point numbers (floats)...
static constexpr size_t kChunkSize1D1MB
Number of elements to get 1MB block of data.
size_t mSlabSize
Size of a XY slab.
virtual ~RealMatrix()
Destructor.
RealMatrix()=delete
Default constructor is not allowed.
Abstract base class for float based matrices defining basic interface. Higher dimensional matrices st...