Skip to content

Commit 55f7d8e

Browse files
author
Martin D. Weinberg
committed
Check found HDF5 files with expected HDF5 files as a sanity check
1 parent 21a2f5a commit 55f7d8e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

include/ParticleReader.H

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ namespace PR
243243
std::vector<unsigned long> npart, nptot;
244244
unsigned long totalCount;
245245
bool real4, gadget4;
246-
int ntypes;
246+
int ntypes, nfiles;
247247
//@}
248248

249249
//! Current file
@@ -306,6 +306,9 @@ namespace PR
306306
//! Get the next particle
307307
virtual const Particle* nextParticle();
308308

309+
//! Get file cound per snapshot
310+
virtual int NumFiles() { return nfiles; }
311+
309312
};
310313

311314
class PSPstanza

0 commit comments

Comments
 (0)