NAMD
|
#include <eabf1D.h>
Public Member Functions | |
eABF1D () | |
eABF1D (const double _lowerboundary, const double _upperboundary, const double _width, const double _krestr, const std::string &_outputfile, const int _outputfreq, const bool _restart, const std::string &_inputfile, const bool _outputgrad, const int _gradfreq, const double _temperature) | |
virtual | ~eABF1D () |
bool | update (const std::string &) |
![]() | |
eABF () | |
eABF (const std::string &_outputfile, const int _outputfreq, const bool _restart, const std::string &_inputfile, const bool _outputgrad, const int _gradfreq, const double _temperature) | |
virtual | ~eABF () |
bool | mergefile (const std::string &inputname, const std::string &outputname) |
bool | setcolumn (std::vector< int > col) |
Protected Member Functions | |
bool | initialize () |
bool | readfile () |
bool | writefile () const |
bool | writehead (ofstream_namd &) const |
bool | calpmf () const |
int | convertscale (double lowerboundary, int window) const |
Protected Attributes | |
std::vector< std::vector< int > > | countall |
std::vector< double > | sumx |
std::vector< double > | sumx2 |
std::vector< int > | county |
![]() | |
std::vector< double > | lowerboundary |
std::vector< double > | upperboundary |
std::vector< double > | width |
std::string | outputfile |
int | outputfreq |
bool | restart |
std::string | inputfile |
bool | outputgrad |
int | gradfreq |
double | temperature |
std::vector< int > | max |
std::vector< int > | min |
std::vector< int > | bins |
std::vector< double > | krestr |
int | line |
std::vector< int > | col |
eABF1D::eABF1D | ( | const double | _lowerboundary, |
const double | _upperboundary, | ||
const double | _width, | ||
const double | _krestr, | ||
const std::string & | _outputfile, | ||
const int | _outputfreq, | ||
const bool | _restart, | ||
const std::string & | _inputfile, | ||
const bool | _outputgrad, | ||
const int | _gradfreq, | ||
const double | _temperature | ||
) |
Definition at line 28 of file eabf1D.C.
References initialize(), eABF::krestr, eABF::lowerboundary, readfile(), eABF::restart, eABF::upperboundary, and eABF::width.
|
protectedvirtual |
Implements eABF.
Definition at line 197 of file eabf1D.C.
References eABF::bins, eabffunc::BOLTZMANN, countall, county, eABF::krestr, eABF::lowerboundary, eABF::min, eABF::outputfile, sumx, sumx2, eABF::temperature, eABF::upperboundary, eABF::width, and writehead().
Referenced by update().
|
inlineprotected |
Definition at line 60 of file eabf1D.h.
References eABF::lowerboundary, and eABF::width.
Referenced by readfile().
|
protectedvirtual |
Implements eABF.
Definition at line 45 of file eabf1D.C.
References eABF::bins, countall, county, eabffunc::doubletoint(), eABF::line, eABF::lowerboundary, eABF::max, eABF::min, sumx, sumx2, eABF::upperboundary, and eABF::width.
Referenced by eABF1D().
|
protectedvirtual |
Implements eABF.
Definition at line 123 of file eabf1D.C.
References convertscale(), countall, county, eABF::inputfile, eABF::krestr, eABF::line, sumx, sumx2, and eABF::temperature.
Referenced by eABF1D().
|
virtual |
Implements eABF.
Definition at line 67 of file eabf1D.C.
References eABF::bins, calpmf(), eabffunc::chartodouble(), eabffunc::chartoint(), eABF::col, countall, county, eABF::gradfreq, eABF::line, eABF::min, eABF::outputfreq, eABF::outputgrad, eabffunc::split(), sumx, sumx2, eABF::width, and writefile().
|
protectedvirtual |
Implements eABF.
Definition at line 169 of file eabf1D.C.
References eABF::bins, countall, county, eABF::krestr, eABF::line, eABF::lowerboundary, eABF::outputfile, sumx, sumx2, eABF::temperature, and eABF::width.
Referenced by update().
|
protectedvirtual |
Implements eABF.
Definition at line 189 of file eabf1D.C.
References eABF::bins, eABF::lowerboundary, and eABF::width.
Referenced by calpmf().
|
protected |
Definition at line 45 of file eabf1D.h.
Referenced by calpmf(), initialize(), readfile(), update(), and writefile().
|
protected |
Definition at line 48 of file eabf1D.h.
Referenced by calpmf(), initialize(), readfile(), update(), and writefile().
|
protected |
Definition at line 46 of file eabf1D.h.
Referenced by calpmf(), initialize(), readfile(), update(), and writefile().
|
protected |
Definition at line 47 of file eabf1D.h.
Referenced by calpmf(), initialize(), readfile(), update(), and writefile().