![]() |
kspaceFirstOrder3D-OMP
1.0
The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
|
The class for 64b integers. It is used for index mask into float matrices.
#include <LongMatrix.h>


Public Member Functions | |
| TLongMatrix (struct TDimensionSizes DimensionSizes) | |
| Constructor. | |
| virtual | ~TLongMatrix () |
| Destructor. | |
| virtual void | ReadDataFromHDF5File (THDF5_File &HDF5_File, const char *MatrixName) |
| Read data from the HDF5 file. | |
| virtual void | WriteDataToHDF5File (THDF5_File &HDF5_File, const char *MatrixName, const int CompressionLevel) |
| Write data into the HDF5 file. | |
| long & | operator[] (const size_t &index) |
| long & | GetElementFrom3D (const size_t X, const size_t Y, const size_t Z) |
| void | RecomputeIndices () |
| Recompute indices MATALAB->C++. | |
Protected Member Functions | |
| TLongMatrix () | |
| Default constructor not allowed for public. | |
| TLongMatrix (const TLongMatrix &src) | |
| Copy constructor not allowed for public. | |
| TLongMatrix & | operator= (const TLongMatrix &src) |
| Operator = not allowed for public. | |
Definition at line 43 of file LongMatrix.h.
| TLongMatrix::TLongMatrix | ( | struct TDimensionSizes | DimensionSizes | ) |
Constructor
| [in] | DimensionSizes | - Dimension sizes |
Definition at line 59 of file LongMatrix.cpp.

| long& TLongMatrix::GetElementFrom3D | ( | const size_t | X, |
| const size_t | Y, | ||
| const size_t | Z | ||
| ) | [inline] |
Get element form the 3D matrix
| X | - X dimension |
| Y | - Y dimension |
| Z | - Z dimension |
Definition at line 74 of file LongMatrix.h.
| long& TLongMatrix::operator[] | ( | const size_t & | index | ) | [inline] |
Operator []
| index | - 1D index into the matrix |
Definition at line 62 of file LongMatrix.h.
| void TLongMatrix::ReadDataFromHDF5File | ( | THDF5_File & | HDF5_File, |
| const char * | MatrixName | ||
| ) | [virtual] |
Read data from HDF5 file
| ios:failure | if there's an error |
| HDF5_File | - HDF5 file handle |
| MatrixName | - HDF5 dataset name |
Reimplemented from TBaseMatrix.
Definition at line 91 of file LongMatrix.cpp.

| void TLongMatrix::RecomputeIndices | ( | ) |
Recompute indeces, MATLAB -> C++
Definition at line 119 of file LongMatrix.cpp.

| void TLongMatrix::WriteDataToHDF5File | ( | THDF5_File & | HDF5_File, |
| const char * | MatrixName, | ||
| const int | CompressionLevel | ||
| ) | [virtual] |
Write data to HDF5 file
| ios:failure |
| [in] | HDF5_File | - HDF5 file handle |
| [in] | MatrixName | - HDF5 Dataset name |
| [in] | CompressionLevel | - Compression level |
Reimplemented from TBaseMatrix.
Definition at line 139 of file LongMatrix.cpp.

1.7.6.1