mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Merge branch 'master' of /home/lavaux/Dropbox/gitRoot/zobovPerso
This commit is contained in:
commit
eb65183086
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ SimuData *doLoadRamses(const char *basename, int baseid, int velAxis, bool goRed
|
||||||
{
|
{
|
||||||
SimuData *d, *outd;
|
SimuData *d, *outd;
|
||||||
|
|
||||||
d = loadRamsesSimu(basename, baseid, -1, 0);
|
d = loadRamsesSimu(basename, baseid, -1, true, 0);
|
||||||
outd = new SimuData;
|
outd = new SimuData;
|
||||||
|
|
||||||
outd->NumPart = d->TotalNumPart;
|
outd->NumPart = d->TotalNumPart;
|
||||||
|
@ -40,7 +40,7 @@ SimuData *doLoadRamses(const char *basename, int baseid, int velAxis, bool goRed
|
||||||
|
|
||||||
int curCpu = 0;
|
int curCpu = 0;
|
||||||
cout << "loading cpu 0 " << endl;
|
cout << "loading cpu 0 " << endl;
|
||||||
while (d = loadRamsesSimu(basename, baseid, curCpu, NEED_POSITION|NEED_VELOCITY|NEED_GADGET_ID))
|
while (d = loadRamsesSimu(basename, baseid, curCpu, true, NEED_POSITION|NEED_VELOCITY|NEED_GADGET_ID))
|
||||||
{
|
{
|
||||||
for (int k = 0; k < 3; k++)
|
for (int k = 0; k < 3; k++)
|
||||||
for (int i = 0; i < d->NumPart; i++)
|
for (int i = 0; i < d->NumPart; i++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue