mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
30 lines
497 B
C++
30 lines
497 B
C++
#ifndef __LOAD_ZOBOV_HPP
|
|
#define __LOAD_ZOBOV_HPP
|
|
|
|
#include <vector>
|
|
|
|
struct ZobovZone
|
|
{
|
|
std::vector<int> pId;
|
|
};
|
|
|
|
struct ZobovVoid
|
|
{
|
|
std::vector<int> zId;
|
|
float proba;
|
|
int numParticles, coreParticle;
|
|
float volume;
|
|
};
|
|
|
|
struct ZobovRep
|
|
{
|
|
std::vector<ZobovZone> allZones;
|
|
std::vector<ZobovVoid> allVoids;
|
|
std::vector<float> particleVolume;
|
|
};
|
|
|
|
bool loadZobov(const char *descName,
|
|
const char *adjName, const char *voidName,
|
|
const char *volName, ZobovRep& z);
|
|
|
|
#endif
|