Reworked logging model:
Added T+, T3+. Changes in logging hierarchie: Every species individually logs positions.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user