Go to the documentation of this file.
35 #ifndef harmonicSpring_H
36 #define harmonicSpring_H
44 namespace tetherPotentials
A class for handling words, derived from string.
harmonicSpring(const word &name, const dictionary &tetherPotentialProperties)
Construct from components.
bool read(const dictionary &tetherPotentialProperties)
Read dictionary.
~harmonicSpring()
Destructor.
vector force(const vector r) const
dictionary harmonicSpringCoeffs_
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
TypeName("harmonicSpring")
Runtime type information.
word name(const complex &)
Return a string representation of a complex.