Initial import

This commit is contained in:
Guilhem Lavaux 2009-08-26 11:52:16 -05:00
commit e57d9a731a
17 changed files with 3271 additions and 0 deletions

28
mytools/loadZobov.hpp Normal file
View file

@ -0,0 +1,28 @@
#ifndef __LOAD_ZOBOV_HPP
#define __LOAD_ZOBOV_HPP
#include <vector>
struct ZobovZone
{
std::vector<int> pId;
};
struct ZobovVoid
{
std::vector<ZobovZone *> zId;
float proba;
int numParticles, coreParticle;
float volume;
};
struct ZobovRep
{
std::vector<ZobovZone> allZones;
std::vector<ZobovVoid> allVoids;
};
bool loadZobov(const char *descName,
const char *adjName, const char *volName, ZobovRep& z);
#endif