37#ifndef harmonicSpring_H
38#define harmonicSpring_H
46namespace tetherPotentials
61 scalar springConstant_;
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & tetherPotentialProperties() const
scalar energy(const vector r) const
bool read(const dictionary &tetherPotentialProperties)
Read dictionary.
TypeName("harmonicSpring")
Runtime type information.
vector force(const vector r) const
~harmonicSpring()
Destructor.
A class for handling words, derived from Foam::string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.