Many, many more comments
This commit is contained in:
@@ -5,11 +5,16 @@
|
||||
#include <vector>
|
||||
#include "blitz/array.h"
|
||||
|
||||
// Class to handle hdf5 output
|
||||
class Hdf5Writer {
|
||||
public:
|
||||
// the ".h5" is appened to the filename by default
|
||||
Hdf5Writer(std::string directory = "./output",
|
||||
std::string filename = "output");
|
||||
|
||||
|
||||
// writing functions to write data to a HDF dataset specified by the path
|
||||
// variable (format: path = "/Group1/Group2/.../GroupN/NameOfDataset")
|
||||
// into the file specified by directory and filename
|
||||
void write(const blitz::Array<double, 1>& data, std::string path);
|
||||
void write(const blitz::Array<double, 2>& data, std::string path);
|
||||
void write(const blitz::Array<double, 3>& data, std::string path);
|
||||
|
||||
Reference in New Issue
Block a user