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:
parent
c3104f8a1f
commit
dd9f882a58
1 changed files with 3 additions and 3 deletions
|
@ -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_;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue