![]() |
kspaceFirstOrder3D-OMP 1.0
The 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. The matrix container stores this structures.
#include <MatrixContainer.h>
Public Types | |
enum | TMatrixDataType { mdtReal, mdtComplex, mdtIndex, mdtFFTW, mdtUxyz } |
All possible types of the matrix. | |
Public Member Functions | |
TMatrixRecord () | |
Default constructor. | |
TMatrixRecord (const TMatrixRecord &src) | |
Copy constructor. | |
TMatrixRecord & | operator= (const TMatrixRecord &src) |
operator = | |
void | SetAllValues (TBaseMatrix *MatrixPtr, const TMatrixDataType MatrixDataType, const TDimensionSizes DimensionSizes, const bool LoadData, const string HDF5MatrixName) |
Set all values of the record. | |
Public Attributes | |
TBaseMatrix * | MatrixPtr |
Pointer to the matrix object. | |
TMatrixDataType | MatrixDataType |
Matrix data type. | |
TDimensionSizes | DimensionSizes |
Matrix dimension sizes. | |
bool | LoadData |
Is the matrix content loaded from the HDF5 file. | |
string | HDF5MatrixName |
HDF5 matrix name. |
Definition at line 103 of file MatrixContainer.h.
TMatrixRecord::TMatrixRecord | ( | const TMatrixRecord & | src | ) |
Copy constructor of TMatrixRecord
[in] | src |
Definition at line 58 of file MatrixContainer.cpp.
TMatrixRecord & TMatrixRecord::operator= | ( | const TMatrixRecord & | src | ) |
operator = of TMatrixRecord
[in] | src |
Definition at line 74 of file MatrixContainer.cpp.
void TMatrixRecord::SetAllValues | ( | TBaseMatrix * | MatrixPtr, |
const TMatrixDataType | MatrixDataType, | ||
const TDimensionSizes | DimensionSizes, | ||
const bool | LoadData, | ||
const string | HDF5MatrixName | ||
) |
Set all values for the record
[in] | MatrixPtr | - Pointer to the MatrixClass object |
[in] | MatrixDataType | - Matrix data type |
[in] | DimensionSizes | - Dimension sizes |
[in] | LoadData | - Load data from file? |
[in] | HDF5MatrixName | - HDF5 matrix name |
Definition at line 99 of file MatrixContainer.cpp.