Reworked Populations Loggers.
Added Save and Load Option for Population Data.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user