Reworked logging model:

Added T+, T3+.
Changes in logging hierarchie: Every species individually logs positions.
This commit is contained in:
Christian
2019-07-22 10:40:21 +02:00
parent ad5b66dc0d
commit 5965e3e90a
10 changed files with 105 additions and 282 deletions
+12 -7
View File
@@ -9,19 +9,24 @@
#ifndef h5_file_hpp
#define h5_file_hpp
#include "h5_particles.h"
#include "h5_populations.h"
#include "hdf5.h"
#include "hdf5_hl.h"
#include <string>
class H5_File {
hid_t h5_file;
H5_Particles h5part;
H5_Populations h5pop;
hid_t h5f;
hid_t h5g_particles;
hid_t h5g_populations;
std::string h5g_particles_path = "/Particles";
std::string h5g_populations_path = "/Populations";
public:
H5_File() {};
H5_File(std::string output_path);
H5_Particles *get_h5part() {return &h5part;}
H5_Populations *get_h5pop() {return &h5pop;}
hid_t *get_h5f() {return &h5f}
std::string get_h5g_particles_path() {return h5g_particles_path;}
std::string get_h5g_populations_path() {return h5g_populations_path;}
private:
void create(std::string output_path);
//std::string get_file_name();