#include <FlexibleBin.h>
Public Types | |
| enum | AdaptiveHillsType { none , diffusion , geometry } |
Public Member Functions | |
| FlexibleBin (int type, ActionWithArguments *paction, double const &d, std::vector< double > &sigmamin, const std::vector< double > &sigmamax) | |
| a constructor that takes the pointer of the action that contains it | |
| FlexibleBin (int type, ActionWithArguments *paction, unsigned iarg, double const &d, std::vector< double > &sigmamin, const std::vector< double > &sigmamax) | |
| a constructor for 1D FlexBin (for PBMETAD) | |
| std::vector< double > | getInverseMatrix () const |
| Calculate the matrix of (dcv_i/dx)*(dcv_j/dx)^-1 that is needed for the metrics in metadynamics. | |
| std::vector< double > | getInverseMatrix (unsigned iarg) const |
| Calculate the matrix of (dcv_i/dx)*(dcv_j/dx)^-1 that is needed for the metrics in metadynamics for PBMetaD like FlexBin. | |
| std::vector< double > | getMatrix () const |
| void | update (bool nowAddAHill) |
| update the average (always for diffusion) or calculate the geom covariance ( only when do_when_zero is zero) | |
| void | update (bool nowAddAHill, unsigned iarg) |
| Update the flexible bin for PBMetaD like FlexBin in case of diffusion based: update at every step in case of gradient based: update only when you add the hill. | |
Private Attributes | |
| std::vector< double > | average |
| std::vector< bool > | limitmax |
| std::vector< bool > | limitmin |
| ActionWithArguments * | paction |
| double | sigma |
| std::vector< double > | sigmamax |
| std::vector< double > | sigmamin |
| int | type |
| std::vector< double > | variance |
| PLMD::FlexibleBin::FlexibleBin | ( | int | type, |
| ActionWithArguments * | paction, | ||
| double const & | d, | ||
| std::vector< double > & | sigmamin, | ||
| const std::vector< double > & | sigmamax ) |
a constructor that takes the pointer of the action that contains it
| PLMD::FlexibleBin::FlexibleBin | ( | int | type, |
| ActionWithArguments * | paction, | ||
| unsigned | iarg, | ||
| double const & | d, | ||
| std::vector< double > & | sigmamin, | ||
| const std::vector< double > & | sigmamax ) |
a constructor for 1D FlexBin (for PBMETAD)
Constructure for 1D FB for PBMETAD.
| std::vector< double > PLMD::FlexibleBin::getInverseMatrix | ( | ) | const |
Calculate the matrix of (dcv_i/dx)*(dcv_j/dx)^-1 that is needed for the metrics in metadynamics.
| std::vector< double > PLMD::FlexibleBin::getInverseMatrix | ( | unsigned | iarg | ) | const |
Calculate the matrix of (dcv_i/dx)*(dcv_j/dx)^-1 that is needed for the metrics in metadynamics for PBMetaD like FlexBin.
| std::vector< double > PLMD::FlexibleBin::getMatrix | ( | ) | const |
| void PLMD::FlexibleBin::update | ( | bool | nowAddAHill | ) |
update the average (always for diffusion) or calculate the geom covariance ( only when do_when_zero is zero)
Update the flexible bin in case of diffusion based: update at every step in case of gradient based: update only when you add the hill.
| void PLMD::FlexibleBin::update | ( | bool | nowAddAHill, |
| unsigned | iarg ) |
Update the flexible bin for PBMetaD like FlexBin in case of diffusion based: update at every step in case of gradient based: update only when you add the hill.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Hosted by GitHub
|
1.17.0
|