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