kspaceFirstOrder3D-OMP
1.1
The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
|
Abstract base class, the common ancestor defining the common interface and allowing derived classes to be allocated, freed and loaded from the file using the Matrix container. More...
#include <BaseMatrix.h>
Public Member Functions | |
TBaseMatrix () | |
Default constructor. | |
virtual struct TDimensionSizes | GetDimensionSizes () const =0 |
Get dimension sizes of the matrix. | |
virtual size_t | GetTotalElementCount () const =0 |
Get total element count of the matrix. | |
virtual size_t | GetTotalAllocatedElementCount () const =0 |
Get total allocated element count (might differ from the total element count used for the simulation because of e.g. padding). | |
virtual void | ReadDataFromHDF5File (THDF5_File &HDF5_File, const char *MatrixName)=0 |
Read matrix from the HDF5 file. More... | |
virtual void | WriteDataToHDF5File (THDF5_File &HDF5_File, const char *MatrixName, const size_t CompressionLevel)=0 |
Write data into the HDF5 file. More... | |
virtual | ~TBaseMatrix () |
Destructor. | |
Abstract base class, the common ancestor defining the common interface and allowing derived classes to be allocated, freed and loaded from the file using the Matrix container.
Definition at line 52 of file BaseMatrix.h.
|
pure virtual |
Read matrix from the HDF5 file
[in] | HDF5_File | - Handle to the HDF5 file |
[in] | MatrixName | - HDF5 dataset name to read from |
Implemented in TComplexMatrix, TIndexMatrix, and TRealMatrix.
|
pure virtual |
Write data into the HDF5 file
[in] | HDF5_File | - Handle to the HDF5 file |
[in] | MatrixName | - HDF5 dataset name to write to |
[in] | CompressionLevel | - Compression level for the HDF5 dataset |
Implemented in TComplexMatrix, TIndexMatrix, and TRealMatrix.