See previous, but working now, maybe.
This commit is contained in:
@@ -24,7 +24,7 @@ class H5_File {
|
|||||||
public:
|
public:
|
||||||
H5_File() {};
|
H5_File() {};
|
||||||
H5_File(std::string output_path);
|
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_particles_path() {return h5g_particles_path;}
|
||||||
std::string get_h5g_populations_path() {return h5g_populations_path;}
|
std::string get_h5g_populations_path() {return h5g_populations_path;}
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -36,8 +36,7 @@ Particle_Logger_Manager Particle_Logger_Builder::build(H5_File *h5f) {
|
|||||||
}
|
}
|
||||||
return ParticleLogger;
|
return ParticleLogger;
|
||||||
}
|
}
|
||||||
|
void Particle_Logger_Builder::build_MultiZ(Particle_Logger_Manager *ParticleLogger, H5_File *h5f) {
|
||||||
void Population_Logger_Builder::build_MultiZ(Particle_Logger_Manager *ParticleLogger, H5_File *h5f) {
|
|
||||||
double *zValues = new double[numberZBins];
|
double *zValues = new double[numberZBins];
|
||||||
double start_m = z_RW_m;
|
double start_m = z_RW_m;
|
||||||
double length_m = z_WGTS_end_m - start_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;
|
delete[] zValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Population_Logger_Manager Population_Logger_Builder::build(H5_File *h5f, Population_Manager *populations, Timer *timer) {
|
Population_Logger_Manager Population_Logger_Builder::build(H5_File *h5f, Population_Manager *populations, Timer *timer) {
|
||||||
Population_Logger_Manager Population_Loggers;
|
Population_Logger_Manager Population_Loggers;
|
||||||
Population_Loggers.add (new Population_Logger(populations->find(tritiumI), timer, h5f));
|
Population_Loggers.add (new Population_Logger(populations->find(tritiumI), timer, h5f));
|
||||||
|
|||||||
Reference in New Issue
Block a user