#include <FlexibleBin.h>
|
| FlexibleBin (int type, ActionWithArguments *paction, double const &d, std::vector< double > &sigmamin, std::vector< double > &sigmamax) |
| a constructor that takes the pointer of the action that contains it More...
|
|
void | update (bool nowAddAHill) |
| update the average (always for diffusion) or calculate the geom covariance ( only when do_when_zero is zero) More...
|
|
std::vector< double > | getMatrix () const |
|
std::vector< double > | getInverseMatrix () const |
| Calculate the matrix of (dcv_i/dx)*(dcv_j/dx)^-1 that is needed for the metrics in metadynamics. More...
|
|
Enumerator |
---|
none |
|
diffusion |
|
geometry |
|
PLMD::FlexibleBin::FlexibleBin |
( |
int |
type, |
|
|
ActionWithArguments * |
paction, |
|
|
double const & |
d, |
|
|
std::vector< double > & |
sigmamin, |
|
|
std::vector< double > & |
sigmamax |
|
) |
| |
a constructor that takes the pointer of the action that contains it
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.
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.
std::vector<double> PLMD::FlexibleBin::average |
|
private |
std::vector<bool> PLMD::FlexibleBin::limitmax |
|
private |
std::vector<bool> PLMD::FlexibleBin::limitmin |
|
private |
double PLMD::FlexibleBin::sigma |
|
private |
std::vector<double> PLMD::FlexibleBin::sigmamax |
|
private |
std::vector<double> PLMD::FlexibleBin::sigmamin |
|
private |
const int PLMD::FlexibleBin::type |
|
private |
std::vector<double> PLMD::FlexibleBin::variance |
|
private |
The documentation for this class was generated from the following files: