![]() |
kspaceFirstOrder3D-CUDA
1.1
The CUDA/C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
|
A structure storing details about the matrix. More...
#include <MatrixRecord.h>
Public Types | |
enum | TMatrixType { REAL, COMPLEX, INDEX, CUFFT } |
All possible types of the matrix. | |
Public Member Functions | |
TMatrixRecord () | |
Default constructor. More... | |
~TMatrixRecord () | |
Destructor. | |
TMatrixRecord (const TMatrixRecord &src) | |
Copy constructor. More... | |
TMatrixRecord & | operator= (const TMatrixRecord &src) |
operator =. More... | |
void | Set (const TMatrixType matrixType, const TDimensionSizes dimensionSizes, const bool loadData, const bool checkpoint, TMatrixName &matrixName) |
Set all values of the record. More... | |
Public Attributes | |
TBaseMatrix * | matrixPtr |
Pointer to the matrix object. | |
TMatrixType | matrixType |
Matrix data type. | |
TDimensionSizes | dimensionSizes |
Matrix dimension sizes. | |
bool | loadData |
Is the matrix content loaded from the HDF5 file? | |
bool | checkpoint |
Is the matrix necessary to be preserver when checkpoint is enabled? | |
std::string | matrixName |
Matrix name in the HDF5 file. | |
A structure storing details about the matrix. The matrix container stores the list of these records - metadata and pointer to the matrix.
Definition at line 49 of file MatrixRecord.h.
TMatrixRecord::TMatrixRecord | ( | ) |
Default constructor.
Definition at line 47 of file MatrixRecord.cpp.
TMatrixRecord::TMatrixRecord | ( | const TMatrixRecord & | src | ) |
Copy constructor of TMatrixRecord.
[in] | src | - Source |
Definition at line 63 of file MatrixRecord.cpp.
TMatrixRecord & TMatrixRecord::operator= | ( | const TMatrixRecord & | src | ) |
operator = of TMatrixRecord.
[in] | src | - Source object |
Definition at line 81 of file MatrixRecord.cpp.
void TMatrixRecord::Set | ( | const TMatrixType | matrixType, |
const TDimensionSizes | dimensionSizes, | ||
const bool | loadData, | ||
const bool | checkpoint, | ||
TMatrixName & | matrixName | ||
) |
Set all values for the record.
[in] | matrixType | - Matrix data type |
[in] | dimensionSizes | - Dimension sizes |
[in] | loadData | - Load data from file? |
[in] | checkpoint | - Checkpoint this matrix? |
[in] | matrixName | - HDF5 matrix name |
Definition at line 105 of file MatrixRecord.cpp.