mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Added zone structure initialization.
This commit is contained in:
parent
f1bbe65946
commit
10d38b6d0a
1 changed files with 7 additions and 0 deletions
|
@ -178,6 +178,13 @@ void buildZones(PARTICLE *p, pid_t np, pid_t *&jumped,
|
||||||
{
|
{
|
||||||
if (numinh[i] > 0) {
|
if (numinh[i] > 0) {
|
||||||
z[h].core = i;
|
z[h].core = i;
|
||||||
|
z[h].vol = 0;
|
||||||
|
z[h].np = z[h].npjoin = z[h].nadj = z[h].nhl = 0;
|
||||||
|
z[h].leak = 0;
|
||||||
|
z[h].adj = 0;
|
||||||
|
z[h].slv = 0;
|
||||||
|
z[h].denscontrast = 0;
|
||||||
|
z[h].vol = z[h].voljoin = 0;
|
||||||
zonenum[i] = h;
|
zonenum[i] = h;
|
||||||
h++;
|
h++;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue