#include <harmonic.h>
Public Member Functions | |
HarmonicCOM (pele::Array< double > origin, double k, size_t ndim) | |
virtual void | _get_distance (const pele::Array< double > &x) |
Harmonic with cartesian distance and fixed centre of mass
Definition at line 77 of file harmonic.h.
pele::HarmonicCOM::HarmonicCOM | ( | pele::Array< double > | origin, |
double | k, | ||
size_t | ndim | ||
) | [inline] |
Definition at line 79 of file harmonic.h.
virtual void pele::HarmonicCOM::_get_distance | ( | const pele::Array< double > & | x | ) | [inline, virtual] |
Implements pele::BaseHarmonic.
Definition at line 82 of file harmonic.h.