See previous, but working now, maybe.

This commit is contained in:
Christian
2019-07-22 10:44:00 +02:00
parent 5965e3e90a
commit 2772ae87ce
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class H5_File {
public:
H5_File() {};
H5_File(std::string output_path);
hid_t *get_h5f() {return &h5f}
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:
+1 -3
View File
@@ -36,8 +36,7 @@ Particle_Logger_Manager Particle_Logger_Builder::build(H5_File *h5f) {
}
return ParticleLogger;
}
void Population_Logger_Builder::build_MultiZ(Particle_Logger_Manager *ParticleLogger, H5_File *h5f) {
void Particle_Logger_Builder::build_MultiZ(Particle_Logger_Manager *ParticleLogger, H5_File *h5f) {
double *zValues = new double[numberZBins];
double start_m = z_RW_m;
double length_m = z_WGTS_end_m - start_m;
@@ -56,7 +55,6 @@ void Population_Logger_Builder::build_MultiZ(Particle_Logger_Manager *ParticleLo
delete[] zValues;
}
Population_Logger_Manager Population_Logger_Builder::build(H5_File *h5f, Population_Manager *populations, Timer *timer) {
Population_Logger_Manager Population_Loggers;
Population_Loggers.add (new Population_Logger(populations->find(tritiumI), timer, h5f));