#include <PathReparameterization.h>
Public Member Functions | |
PathReparameterization (const Pbc &ipbc, const std::vector< Value * > &iargs, std::vector< std::unique_ptr< ReferenceConfiguration >> &pp) | |
void | reparameterize (const int &istart, const int &iend, const double &TOL) |
Reparameterize the frames of the path between istart and iend so as to make the spacing constant. More... | |
Private Member Functions | |
void | calcCurrentPathSpacings (const int &istart, const int &iend) |
Calculate the current spacings for the frames between istart and iend and return the average spacing. More... | |
bool | loopEnd (const int &index, const int &end, const int &inc) const |
This function is used to work out when we are at loop ends as we go through them in positive and negative order. More... | |
void | reparameterizePart (const int &istart, const int &iend, const double &target, const double &TOL) |
Reparameterize the frames of the path between istart and iend and make the spacing equal to target. More... | |
Private Attributes | |
const std::vector< Value * > & | args |
The underlying value object for the arguments. More... | |
std::vector< double > | len |
These are the current separations and the total length of the path. More... | |
unsigned | MAXCYCLES |
Maximum number of cycles in path reparameterization. More... | |
Direction | mydir |
Direction that is used to reparameterize configurations. More... | |
MultiValue | mydpack |
Packs that we use to store the vectors connecting frames. More... | |
ReferenceValuePack | mypack |
const std::vector< std::unique_ptr< ReferenceConfiguration > > & | mypath |
Reference to path that we are reparameterizing. More... | |
PDB | mypdb |
This is used when setting up frames. More... | |
const Pbc & | pbc |
The PBC object that you would like to use to calculate distances. More... | |
std::vector< double > | sfrac |
std::vector< double > | sumlen |
This class can be used to make a set of reference configurations equidistant
PLMD::mapping::PathReparameterization::PathReparameterization | ( | const Pbc & | ipbc, |
const std::vector< Value * > & | iargs, | ||
std::vector< std::unique_ptr< ReferenceConfiguration >> & | pp | ||
) |
|
private |
Calculate the current spacings for the frames between istart and iend and return the average spacing.
|
private |
This function is used to work out when we are at loop ends as we go through them in positive and negative order.
void PLMD::mapping::PathReparameterization::reparameterize | ( | const int & | istart, |
const int & | iend, | ||
const double & | TOL | ||
) |
Reparameterize the frames of the path between istart and iend so as to make the spacing constant.
|
private |
Reparameterize the frames of the path between istart and iend and make the spacing equal to target.
|
private |
The underlying value object for the arguments.
|
private |
These are the current separations and the total length of the path.
|
private |
Maximum number of cycles in path reparameterization.
|
private |
Direction that is used to reparameterize configurations.
|
private |
Packs that we use to store the vectors connecting frames.
|
private |
|
private |
Reference to path that we are reparameterizing.
|
private |
This is used when setting up frames.
|
private |
The PBC object that you would like to use to calculate distances.
|
private |
|
private |
Hosted by GitHub | 1.8.17 |