Skip to content

Commit 403631b

Browse files
committed
remove flush after each particle block
1 parent 395bca2 commit 403631b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/Particle/AMReX_ParticleIO.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,10 +613,10 @@ ParticleContainer_impl<ParticleType, NArrayReal, NArrayInt, Allocator, CellAssig
613613
particle_io_flags, tile_map[grid], count[grid], is_checkpoint);
614614

615615
writeIntData(istuff.dataPtr(), istuff.size(), ofs);
616-
ofs.flush(); // Some systems require this flush() (probably due to a bug)
616+
//ofs.flush(); // Some systems require this flush() (probably due to a bug)
617617

618618
WriteParticleRealData(rstuff.dataPtr(), rstuff.size(), ofs);
619-
ofs.flush(); // Some systems require this flush() (probably due to a bug)
619+
//ofs.flush(); // Some systems require this flush() (probably due to a bug)
620620
}
621621
}
622622

0 commit comments

Comments
 (0)