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
+1 -2
View File
@@ -48,7 +48,7 @@ private:
inline H5_Particles::H5_Particles(hid_t *h5_file) {
this->h5_file = h5_file;
numberZBins = getParameter("numberZBins");
numberZBins = load_parameter("numberZBins");
set_logging();
set_zValues();
print_logInfo();
@@ -85,7 +85,6 @@ inline void H5_Particles::set_zValues() {
inline void H5_Particles::print_logInfo() {
std::stringstream ss;
ss<<"Logger\t ";
if (!logging) {
ss<<"Logging disabled.\n";
} else if (numberZBins == -1) {