vide_public/mytools/loadZobov.hpp
2011-02-17 11:52:16 -05:00

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