35 #ifndef harmonicSpring_H 36 #define harmonicSpring_H 44 namespace tetherPotentials
59 scalar springConstant_;
TypeName("harmonicSpring")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
vector force(const vector r) const
bool read(const dictionary &tetherPotentialProperties)
Read dictionary.
A class for handling words, derived from string.
const dictionary & tetherPotentialProperties() const
~harmonicSpring()
Destructor.
word name(const complex &)
Return a string representation of a complex.
harmonicSpring(const word &name, const dictionary &tetherPotentialProperties)
Construct from components.
scalar energy(const vector r) const