Reworked Populations Loggers.

Added Save and Load Option for Population Data.
This commit is contained in:
Christian
2019-06-17 10:47:04 +02:00
parent bd64d5390f
commit 13ce5177a2
55 changed files with 3446 additions and 672 deletions
@@ -11,26 +11,12 @@
#include "error_types.h"
#include "population_base.h"
#include "hdf5.h"
#include "hdf5_hl.h"
typedef struct log_meta_bin {
int z_bin;
int r_bin;
int phi_bin;
int E_bin;
double z_min_m;
double z_max_m;
double r_min_m;
double r_max_m;
double phi_min;
double phi_max;
double E_min_eV;
double E_max_eV;
} log_meta_bin;
class H5TB_Population_Meta_Interface {
static const size_t size;
static const char *fieldNames[12];
@@ -53,7 +39,7 @@ private:
void create();
public:
void write(const log_meta_bin &log_meta);
void write(const pop_bin_meta_info &log_meta_bin);
};