1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-19 17:03:46 +02:00

The particle input positions need to run from 0 to 1.

This commit is contained in:
BW Keller 2015-12-10 18:04:26 -05:00
parent c3104f8a1f
commit dd9f882a58

View file

@ -74,11 +74,11 @@ private:
std::vector<double>::iterator cp = pp.begin();
while(cp != pp.end())
{
i = (*(cp)+0.5)*res;
i = (*(cp))*res;
cp++;
j = (*(cp)+0.5)*res;
j = (*(cp))*res;
cp++;
k = (*(cp)+0.5)*res;
k = (*(cp))*res;
cp++;
refgrid[i][j][k] = levelmax_;
}