| kspaceFirstOrder3D-OMP 1.0 The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D

- Main Page
- Classes
- Files

- File List
- File Members

MatrixClasses/BaseMatrix.h
Go to the documentation of this file.

    00001
    00033 #ifndef BASEMATRIX_H
    00034 #define  BASEMATRIX_H
    00035
    00036
    00037 #include <Utils/DimensionSizes.h>
    00038 #include <HDF5/HDF5_File.h>
    00039
    00047 class TBaseMatrix {
    00048 public:
    00050     TBaseMatrix() {};
    00051
    00052
    00054     virtual struct TDimensionSizes GetDimensionSizes() const  = 0;
    00055
    00057     virtual size_t GetTotalElementCount()              const = 0;
    00058
    00060     virtual size_t GetTotalAllocatedElementCount()     const  = 0;
    00061
    00062
    00069     virtual void ReadDataFromHDF5File(THDF5_File & HDF5_File, const char * MatrixName) {};
    00070
    00078     virtual void WriteDataToHDF5File(THDF5_File & HDF5_File, const char * MatrixName, const int CompressionLevel) {};
    00079
    00080
    00082     virtual ~TBaseMatrix() {};
    00083
    00084 protected:
    00085
    00086 };// end of TBaseMatrix
    00087
    00088 #endif   /* BASEMATRIX_H */
    00089

All Classes Files Functions Variables Typedefs Enumerations