Reenforce periodic boundaries (to deal with round-off error in float)

This commit is contained in:
Guilhem Lavaux 2013-03-19 10:00:25 -04:00
parent 0a20f4a36a
commit 17546f2a1e

View file

@ -190,7 +190,7 @@ public:
if (load_flags & (NEED_POSITION | NEED_VELOCITY))
rescaleParticles(d, d->Hubble*1e-5, one_kpc/one_Gyr);
// enforceBoxSize(d);
enforceBoxSize(d);
applyTransformations(d);
basicPreprocessing(d, preproc);