Skip to content
Snippets Groups Projects
Commit 549a9a47 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

ctime header

Same as #171 but using C++ standard include file <ctime>

Closes #171
parent c0db5d9d
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@
#include "tools/File.h"
#include <iostream>
#include <limits>
#include <ctime>
#define DP2CUTOFF 6.25
......@@ -793,7 +794,7 @@ void MetaD::writeGaussian(const Gaussian& hill, OFile&file){
double height=hill.height;
if(welltemp_){height*=biasf_/(biasf_-1.0);}
file.printField("height",height).printField("biasf",biasf_);
if(mw_n_>1) file.printField("clock",int(time(0)));
if(mw_n_>1) file.printField("clock",int(std::time(0)));
file.printField();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment