Reworked logging model:

Added T+, T3+.
Changes in logging hierarchie: Every species individually logs positions.
This commit is contained in:
Christian
2019-07-22 10:40:21 +02:00
parent ad5b66dc0d
commit 5965e3e90a
10 changed files with 105 additions and 282 deletions
+5 -5
View File
@@ -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);
}
/*