SkelGIS
3.0
|
base template Distributed Matrix Class More...
#include <dmatrix_impl.hpp>
Public Attributes | |
T * | data |
data of the distributed matrix | |
int | col |
Column and row positions for the current process in the general data distribution. | |
int | row |
int | cols |
Total number of columns and rows in the general data distribution. | |
int | rows |
HEADER | head |
Header defining the global matrix before parallel distribution. | |
HEADER | loc_head |
Header defining the local matrix of the current process after data distribution. | |
bool | local |
Protected Member Functions | |
DMatrix_base () | |
default constructor of the distributed matrix interface | |
~DMatrix_base () | |
destructor of the distributed matrix | |
Protected Attributes | |
int | remainderh |
To get the height and the width of the last column and the last row. | |
int | remainderw |
base template Distributed Matrix Class
This template class defines the base distributed matrix. Every DMatrix_impl class inherit from this one.
T | is the type of data in the matrix |
Definition at line 30 of file dmatrix_impl.hpp.
int skelgis::DMatrix_base< T >::col |
Column and row positions for the current process in the general data distribution.
The data distribution is made along height and/or width, each process is associated to a pair (col,row) in this data distribution. If the distribution is line=true, the col=0 for all processes.
Definition at line 44 of file dmatrix_impl.hpp.
T* skelgis::DMatrix_base< T >::data |
data of the distributed matrix
In this table are stored the data of the distributed matrix.
Definition at line 38 of file dmatrix_impl.hpp.
bool skelgis::DMatrix_base< T >::local |
if the DMatrix is local to one process
Definition at line 52 of file dmatrix_impl.hpp.
int skelgis::DMatrix_base< T >::remainderh [protected] |
To get the height and the width of the last column and the last row.
Because the data division along height and width are not always divisible by the number of processes, variables to remind the size of the last row and of the last column has to be defined.
Definition at line 67 of file dmatrix_impl.hpp.