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