Sort and use the sorted zone property to change some if statements

This commit is contained in:
Guilhem Lavaux 2013-03-31 19:35:03 -04:00
parent 311ac50344
commit 6a15e59521
2 changed files with 38 additions and 6 deletions

View file

@ -20,6 +20,9 @@ typedef struct Zone {
float denscontrast; /* density contrast */
double vol; /* Total volume of all particles in the zone */
double voljoin; /* Total volume of all particles in the joined void */
int *zonelist; /* Zones bound to the void. */
int numzones; /* Number of zones bound. */
} ZONE;
typedef struct ZoneT {