Function GetGlobalLocalCounts¶
- Defined in File bigfeta_dist.h
Function Documentation¶
-
void
GetGlobalLocalCounts
(int nfiles, PetscInt **metadata, int local_firstfile, int local_lastfile, PetscInt *global_nrow, PetscInt *global_ncol, PetscInt *global_nnz, PetscInt *local_nrow, PetscInt *local_nnz, PetscInt *local_row0)¶ Use metadata to determine global and local sizes and indices.
- Parameters
nfiles
: The number of CSR.hdf5 files, from a previous call to CountFiles()**metadata
: Metadata from index.txt from a previous call to ReadIndex()local_firstfile
: first index in the list of files for this ranklocal_lastfile
: last index in the list of files for this rankglobal_nrow
: total number of rows from metadataglobal_ncol
: total number of columns from metadataglobal_nnz
: total number of non-zero entries from metadatalocal_nrow
: number of rows for this ranklocal_nnz
: number of non-zero entries for this ranklocal_row0
: index of first row for this rank