Function ReadMetadata¶
- Defined in File bigfeta_dist.h
Function Documentation¶
-
PetscErrorCode
ReadMetadata
(MPI_Comm COMM, char indexname[], int nfiles, char *csrnames[], PetscInt **metadata)¶ Rank 0 processor reads metadata and broadcasts.
- Parameters
COMM
: The MPI communicator, probably PETSC_COMM_WORLD.indexname
: The full path to <solution_input>.h5, given as command-line argument with -input.nfiles
: The number of files listed in solution_input.h5 file, read from previous CountFiles() call.*csrnames
: An array of file names from <solution_input>.h5, populated by this function.*metadata
: An array of metadata from index.txt, populated by this function.