mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 15:51:12 +00:00
New tool for analyzing real data. Factorized the getopt generation procedure in CMake
This commit is contained in:
parent
07a3be4db0
commit
3e638974d3
2 changed files with 80 additions and 0 deletions
23
mytools/particleInfo.hpp
Normal file
23
mytools/particleInfo.hpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef _PARTICLE_INFO_HEADER_HPP
|
||||
#define _PARTICLE_INFO_HEADER_HPP
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
struct ParticleData {
|
||||
float x, y, z;
|
||||
};
|
||||
|
||||
typedef std::vector<ParticleData> ParticleVector;
|
||||
|
||||
struct ParticleInfo
|
||||
{
|
||||
ParticleVector particles;
|
||||
float ranges[3][2];
|
||||
};
|
||||
|
||||
bool loadParticleInfo(ParticleInfo& info,
|
||||
const std::string& particles,
|
||||
const std::string& extra_info);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue