Reworked logging model:
Added T+, T3+. Changes in logging hierarchie: Every species individually logs positions.
This commit is contained in:
@@ -15,15 +15,15 @@
|
||||
using namespace std;
|
||||
|
||||
|
||||
H5_File::H5_File(std::string name_extension) {
|
||||
create(name_extension);
|
||||
h5part = H5_Particles(&h5_file);
|
||||
h5pop = H5_Populations(&h5_file);
|
||||
H5_File::H5_File(std::string output_path) {
|
||||
create(output_path);
|
||||
}
|
||||
|
||||
void H5_File::create(std::string output_path) {
|
||||
//const string constH5Name = get_file_name();
|
||||
h5_file = H5Fcreate(output_path.c_str(), H5F_ACC_EXCL, H5P_DEFAULT, H5P_DEFAULT);
|
||||
h5f = H5Fcreate(output_path.c_str(), H5F_ACC_EXCL, H5P_DEFAULT, H5P_DEFAULT);
|
||||
h5g_particles = H5Gcreate(h5f, h5g_particles_path.c_str(), H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
||||
h5g_populations = H5Gcreate(h5f, h5g_populations_path.c_str(), H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user