#ifndef __LOAD_ZOBOV_HPP #define __LOAD_ZOBOV_HPP #include struct ZobovZone { std::vector pId; }; struct ZobovVoid { std::vector zId; float proba; int numParticles, coreParticle; float volume; float barycenter[3]; float nearestBoundary; }; struct ZobovRep { std::vector allZones; std::vector allVoids; std::vector particleVolume; }; struct ZobovParticle { float x, y, z; }; bool loadZobov(const char *descName, const char *adjName, const char *voidName, const char *volName, ZobovRep& z); bool loadZobovParticles(const char *fname, std::vector& particles); #endif