mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Cleanup some development cruft and re-enable openmp clause in jozov2
This commit is contained in:
parent
5c40a6c226
commit
85546379cf
3 changed files with 9 additions and 21 deletions
|
@ -39,10 +39,13 @@ void buildInitialZones(PARTICLE *p, pid_t np, pid_t* jumped,
|
|||
}
|
||||
(cout << "Post-jump ..." << endl).flush();
|
||||
|
||||
numZones = 0;
|
||||
pid_t loc_NumZones = 0;
|
||||
#pragma omp parallel for schedule(static) reduction(+:loc_NumZones)
|
||||
for (pid_t i = 0; i < np; i++)
|
||||
if (numinh[i] > 0)
|
||||
numZones++;
|
||||
loc_NumZones++;
|
||||
|
||||
numZones = loc_NumZones;
|
||||
cout << format("%d initial zones found") % numZones << endl;
|
||||
|
||||
delete[] jumper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue