22 #ifndef __PLUMED_tools_DRMSD_h
23 #define __PLUMED_tools_DRMSD_h
38 std::map< std::pair <unsigned,unsigned> ,
double>
targets;
46 void setFromPDB(
const PDB&,
double lbound=0.0,
double ubound=std::numeric_limits<double>::max( ));
48 void setReference(
const std::vector<Vector> & reference,
double lbound=0.0,
double ubound=std::numeric_limits<double>::max( ));
50 double calculate(
const std::vector<Vector> & positions,
51 std::vector<Vector> &derivatives,
Tensor& virial)
const ;
53 double calculate(
const std::vector<Vector>& positions,
const Pbc& pbc,
54 std::vector<Vector> &derivatives,
Tensor& virial,
bool do_pbc=
true)
const ;
Class implementing fixed size matrices of doubles.
double calculate(const std::vector< Vector > &positions, std::vector< Vector > &derivatives, Tensor &virial) const
Compute drmsd ( no pbc )
std::map< std::pair< unsigned, unsigned >, double > targets
A class that implements DRMSD calculations.
void setReference(const std::vector< Vector > &reference, double lbound=0.0, double ubound=std::numeric_limits< double >::max())
set reference coordinates
void setFromPDB(const PDB &, double lbound=0.0, double ubound=std::numeric_limits< double >::max())
set reference, align and displace from input pdb structure
void clear()
clear the structure