mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +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) {
|
||||
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;
|
||||
h++;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue