#include <LinearBasisSetExpansion.h>
Public Member Functions | |
LinearBasisSetExpansion (const std::string &, const double, Communicator &, const std::vector< Value * > &, std::vector< BasisFunctions * > &, CoeffsVector *bias_coeffs_pntr_in=NULL) | |
~LinearBasisSetExpansion () | |
double | beta () const |
CoeffsVector & | BiasCoeffs () const |
bool | biasCutoffActive () const |
double | calculateReweightFactor () const |
double | getBasisSetConstant () |
double | getBasisSetValue (const std::vector< double > &, const size_t) |
void | getBasisSetValues (const std::vector< double > &, std::vector< double > &, const bool parallel=true) |
double | getBeta () const |
double | getBias (const std::vector< double > &, bool &, const bool parallel=true) |
double | getBiasAndForces (const std::vector< double > &, bool &, std::vector< double > &) |
double | getBiasAndForces (const std::vector< double > &, bool &, std::vector< double > &, std::vector< double > &) |
std::vector< unsigned int > | getGridBins () const |
double | getKbT () const |
unsigned int | getNumberOfArguments () const |
std::vector< unsigned int > | getNumberOfBasisFunctions () const |
size_t | getNumberOfCoeffs () const |
std::vector< Value * > | getPntrsToArguments () const |
std::vector< BasisFunctions * > | getPntrsToBasisFunctions () const |
CoeffsVector * | getPntrToBiasCoeffs () const |
Grid * | getPntrToBiasGrid () const |
long int | getStepOfLastBiasGridUpdate () const |
long int | getStepOfLastBiasWithoutCutoffGridUpdate () const |
long int | getStepOfLastFesGridUpdate () const |
double | kBT () const |
void | linkAction (Action *) |
void | linkVesBias (VesBias *) |
void | readInRestartTargetDistribution (const std::string &) |
void | resetStepOfLastBiasGridUpdate () |
void | resetStepOfLastBiasWithoutCutoffGridUpdate () |
void | resetStepOfLastFesGridUpdate () |
void | restartTargetDistribution () |
void | setBiasMaximumToZero () |
void | setBiasMinimumToZero () |
void | setGridBins (const std::vector< unsigned int > &) |
void | setGridBins (const unsigned int) |
void | setParallel () |
void | setSerial () |
void | setStepOfLastBiasGridUpdate (long int step) |
void | setStepOfLastBiasWithoutCutoffGridUpdate (long int step) |
void | setStepOfLastFesGridUpdate (long int step) |
void | setupBiasGrid (const bool usederiv=false) |
void | setupFesGrid () |
void | setupFesProjGrid () |
void | setupTargetDistribution (TargetDistribution *) |
void | setupUniformTargetDistribution () |
CoeffsVector & | TargetDistAverages () const |
void | updateBiasGrid () |
void | updateBiasWithoutCutoffGrid () |
void | updateFesGrid () |
void | updateTargetDistribution () |
void | writeBiasGridToFile (OFile &, const bool append=false) const |
void | writeBiasWithoutCutoffGridToFile (OFile &, const bool append=false) const |
void | writeFesGridToFile (OFile &, const bool append=false) const |
void | writeFesProjGridToFile (const std::vector< std::string > &, OFile &, const bool append=false) const |
void | writeLogTargetDistGridToFile (OFile &, const bool append=false) const |
void | writeTargetDistGridToFile (OFile &, const bool append=false) const |
void | writeTargetDistProjGridToFile (const std::vector< std::string > &, OFile &, const bool append=false) const |
void | writeTargetDistributionToFile (const std::string &) const |
Static Public Member Functions | |
static double | getBasisSetValue (const std::vector< double > &, const size_t, std::vector< BasisFunctions * > &, CoeffsVector *) |
static void | getBasisSetValues (const std::vector< double > &, std::vector< double > &, std::vector< BasisFunctions * > &, CoeffsVector *, Communicator *comm_in=NULL) |
static double | getBiasAndForces (const std::vector< double > &, bool &, std::vector< double > &, std::vector< double > &, std::vector< BasisFunctions * > &, CoeffsVector *, Communicator *comm_in=NULL) |
static void | registerKeywords (Keywords &keys) |
Private Member Functions | |
LinearBasisSetExpansion (const LinearBasisSetExpansion &) | |
void | calculateTargetDistAveragesFromGrid (const Grid *) |
bool | isStaticTargetDistFileOutputActive () const |
LinearBasisSetExpansion & | operator= (const LinearBasisSetExpansion &)=delete |
std::unique_ptr< Grid > | setupGeneralGrid (const std::string &, const bool usederiv=false) |
Private Attributes | |
Action * | action_pntr_ |
std::vector< Value * > | args_pntrs_ |
std::vector< BasisFunctions * > | basisf_pntrs_ |
double | beta_ |
CoeffsVector * | bias_coeffs_pntr_ |
std::unique_ptr< Grid > | bias_grid_pntr_ |
std::unique_ptr< Grid > | bias_withoutcutoff_grid_pntr_ |
std::unique_ptr< Grid > | fes_grid_pntr_ |
std::vector< unsigned int > | grid_bins_ |
std::vector< std::string > | grid_max_ |
std::vector< std::string > | grid_min_ |
double | kbt_ |
std::string | label_ |
Grid * | log_targetdist_grid_pntr_ |
Communicator & | mycomm_ |
unsigned int | nargs_ |
std::vector< unsigned int > | nbasisf_ |
size_t | ncoeffs_ |
bool | serial_ |
long int | step_of_last_biasgrid_update |
long int | step_of_last_biaswithoutcutoffgrid_update |
long int | step_of_last_fesgrid_update |
std::unique_ptr< CoeffsVector > | targetdist_averages_pntr_ |
std::string | targetdist_grid_label_ |
Grid * | targetdist_grid_pntr_ |
TargetDistribution * | targetdist_pntr_ |
VesBias * | vesbias_pntr_ |
|
explicit |
|
explicitprivate |
PLMD::ves::LinearBasisSetExpansion::~LinearBasisSetExpansion | ( | ) |
|
inline |
|
inline |
bool PLMD::ves::LinearBasisSetExpansion::biasCutoffActive | ( | ) | const |
double PLMD::ves::LinearBasisSetExpansion::calculateReweightFactor | ( | ) | const |
|
private |
|
inline |
|
inline |
|
static |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
void PLMD::ves::LinearBasisSetExpansion::linkAction | ( | Action * | action_pntr_in | ) |
void PLMD::ves::LinearBasisSetExpansion::linkVesBias | ( | VesBias * | vesbias_pntr_in | ) |
|
privatedelete |
void PLMD::ves::LinearBasisSetExpansion::readInRestartTargetDistribution | ( | const std::string & | grid_fname | ) |
|
static |
|
inline |
|
inline |
|
inline |
void PLMD::ves::LinearBasisSetExpansion::restartTargetDistribution | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::setBiasMaximumToZero | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::setBiasMinimumToZero | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::setGridBins | ( | const std::vector< unsigned int > & | grid_bins_in | ) |
void PLMD::ves::LinearBasisSetExpansion::setGridBins | ( | const unsigned int | nbins | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void PLMD::ves::LinearBasisSetExpansion::setupBiasGrid | ( | const bool | usederiv = false | ) |
void PLMD::ves::LinearBasisSetExpansion::setupFesGrid | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::setupFesProjGrid | ( | ) |
|
private |
void PLMD::ves::LinearBasisSetExpansion::setupTargetDistribution | ( | TargetDistribution * | targetdist_pntr_in | ) |
void PLMD::ves::LinearBasisSetExpansion::setupUniformTargetDistribution | ( | ) |
|
inline |
void PLMD::ves::LinearBasisSetExpansion::updateBiasGrid | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::updateBiasWithoutCutoffGrid | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::updateFesGrid | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::updateTargetDistribution | ( | ) |
void PLMD::ves::LinearBasisSetExpansion::writeBiasGridToFile | ( | OFile & | ofile, |
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeBiasWithoutCutoffGridToFile | ( | OFile & | ofile, |
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeFesGridToFile | ( | OFile & | ofile, |
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeFesProjGridToFile | ( | const std::vector< std::string > & | proj_arg, |
OFile & | ofile, | ||
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeLogTargetDistGridToFile | ( | OFile & | ofile, |
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeTargetDistGridToFile | ( | OFile & | ofile, |
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeTargetDistProjGridToFile | ( | const std::vector< std::string > & | proj_arg, |
OFile & | ofile, | ||
const bool | append = false |
||
) | const |
void PLMD::ves::LinearBasisSetExpansion::writeTargetDistributionToFile | ( | const std::string & | filename | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Hosted by GitHub | 1.8.17 |