83 const size_t compressionLevel) = 0;
Abstract base class. The common ancestor defining the common interface and allowing derived classes t...
virtual struct TDimensionSizes GetDimensionSizes() const =0
Get dimension sizes of the matrix.
virtual void WriteDataToHDF5File(THDF5_File &file, TMatrixName &matrixName, const size_t compressionLevel)=0
Write data into the HDF5 file.
virtual void CopyToDevice()=0
Copy data from CPU -> GPU (Host -> Device).
The header file containing the HDF5 related classes.
TBaseMatrix()
Default constructor.
const std::string TMatrixName
Datatype for matrix names.
virtual ~TBaseMatrix()
Destructor.
The header file containing the structure with 3D dimension sizes.
virtual void ReadDataFromHDF5File(THDF5_File &file, TMatrixName &matrixName)=0
Read matrix from the HDF5 file.
virtual void CopyFromDevice()=0
Copy data from GPU -> CPU (Device -> Host).
virtual size_t GetElementCount() const =0
Get total element count of the matrix.
virtual size_t GetAllocatedElementCount() const =0
Get total allocated element count (might differ from the total element count used for the simulation ...
Class wrapping the HDF5 routines.
Structure with 4D dimension sizes (3 in space and 1 in time).