Function CountFiles¶
- Defined in File ema.h
Function Documentation¶
-
PetscErrorCode
CountFiles(MPI_Comm COMM, char indexname[], int *nfiles)¶ Rank 0 process counts the number of files from index.txt and broadcasts the result
- Parameters
COMM: The MPI communicator, probably PETSC_COMM_WORLD.indexname: The full path to index.txt, given as command-line argument with -f.*nfiles: The result of the count, returned to main().