added basic parallel output for the

string representation of the rng engine state
This commit is contained in:
2024-08-23 16:39:03 +02:00
parent 2e5923ab6f
commit f6aae32288
6 changed files with 263 additions and 5 deletions
+5
View File
@@ -22,8 +22,13 @@ class Hdf5Writer {
void write(long int data, std::string path);
void write(double data, std::string path);
void write(const std::string& data, std::string path);
void writeRNG(const std::string& data, std::string path_base);
// void writeRNG(const std::string path_base);
private:
// right now from observations of the size of the statestring, whether best choice: uncertain
// also not sure if this length is platform-independent
const size_t stateStringSizeMax_ = 6730;
std::string absolute_filename_;
void createFolder(std::string directory);
void createFile(std::string absolute_filename);