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