#include <MultiReferenceBase.h>
|
template<class T > |
void | parse (const std::string &key, T &val) |
| Read something from the last frame. More...
|
|
PLMD::MultiReferenceBase::MultiReferenceBase |
( |
const std::string & |
type, |
|
|
const bool & |
checksoff |
|
) |
| |
PLMD::MultiReferenceBase::~MultiReferenceBase |
( |
| ) |
|
|
virtual |
Destructor deletes all polymorphic pointers.
double PLMD::MultiReferenceBase::calcDistanceFromConfiguration |
( |
const unsigned & |
ifunc, |
|
|
const std::vector< Vector > & |
pos, |
|
|
const Pbc & |
pbc, |
|
|
const std::vector< Value * > & |
arg, |
|
|
const bool & |
squared |
|
) |
| |
|
inline |
Calculate the distance from one of the reference points.
void PLMD::MultiReferenceBase::calculateAllDistances |
( |
const Pbc & |
pbc, |
|
|
const std::vector< Value * > & |
vals, |
|
|
Communicator & |
comm, |
|
|
Matrix< double > & |
distances, |
|
|
const bool & |
squared |
|
) |
| |
Calculate the distances between all the frames and store in a matrix.
void PLMD::MultiReferenceBase::clearFrames |
( |
| ) |
|
Delete all the data in the reference object.
virtual void PLMD::MultiReferenceBase::clearRestOfData |
( |
| ) |
|
|
inlinevirtual |
Copy a reference configuration into the multi reference object.
Return the ith reference frame.
unsigned PLMD::MultiReferenceBase::getNumberOfReferenceFrames |
( |
| ) |
const |
|
inline |
Return the size of the frames vector.
double PLMD::MultiReferenceBase::getWeight |
( |
const unsigned & |
ifram | ) |
const |
|
inline |
Retrieve the weight of one of the frames.
template<class T >
void PLMD::MultiReferenceBase::parse |
( |
const std::string & |
key, |
|
|
T & |
val |
|
) |
| |
|
protected |
Read something from the last frame.
void PLMD::MultiReferenceBase::readFrame |
( |
PDB & |
pdb | ) |
|
Read a frame from the input.
virtual void PLMD::MultiReferenceBase::readRestOfFrame |
( |
| ) |
|
|
inlinevirtual |
virtual void PLMD::MultiReferenceBase::resizeRestOfFrame |
( |
| ) |
|
|
inlinevirtual |
void PLMD::MultiReferenceBase::setWeights |
( |
const std::vector< double > & |
ww | ) |
|
Set the weight of the ith frame.
These are the configurations that serve as references.
std::string PLMD::MultiReferenceBase::mtype |
|
private |
The type of metric we are using.
bool PLMD::MultiReferenceBase::skipchecks |
|
private |
Skip all checking allows users to do really dodgy stuff :-)
bool PLMD::MultiReferenceBase::wasSet |
|
private |
The documentation for this class was generated from the following files: