44 #pragma comment(lib, "Ws2_32.lib") 289 current = localtime(&now);
292 current->tm_mday, current->tm_mon + 1, current->tm_year - 100,
293 current->tm_hour, current->tm_min, current->tm_sec);
355 gethostname(hostName, 256);
361 WSAStartup(MAKEWORD(2, 2), &wsaData);
362 gethostname(hostName, 256);
390 const double loadTime,
391 const double preProcessingTime,
392 const double simulationTime,
393 const double postprocessingTime)
408 double& preProcessingTime,
409 double& simulationTime,
410 double& postprocessingTime)
void writeStringAttribute(const hid_t parentGroup, MatrixName &datasetName, MatrixName &attributeName, const std::string &value)
Write string attribute into the dataset under the root group.
hid_t getRootGroup() const
Get handle to the root group of the file.
The header file containing the parameters of the simulation.
std::string readStringAttribute(const hid_t parentGroup, MatrixName &datasetName, MatrixName &attributeName)
Read string attribute from the dataset under the root group.
The header file containing a class responsible for printing out info and error messages (stdout...
Class wrapping the HDF5 routines.
ErrorMessage kErrFmtBadCheckpointFileType
HDF5 error message.
static std::string formatMessage(const std::string &format, Args ... args)
C++-11 replacement for sprintf that works with std::string instead of char*.
ErrorMessage kErrFmtBadInputFileType
HDF5 error message.
ErrorMessage kErrFmtBadOutputFileType
HDF5 error message.
static Parameters & getInstance()
Get instance of the singleton class.