Go to the documentation of this file.
35 #ifndef tetherPotential_H
36 #define tetherPotential_H
A class for handling words, derived from string.
static autoPtr< tetherPotential > New(const word &name, const dictionary &tetherPotentialProperties)
Return a reference to the selected viscosity model.
tetherPotential(const tetherPotential &)
Disallow copy construct.
dictionary tetherPotentialProperties_
void operator=(const tetherPotential &)
Disallow default bitwise assignment.
virtual bool read(const dictionary &tetherPotentialProperties)=0
Read tetherPotential dictionary.
virtual scalar energy(const vector r) const =0
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const dictionary & tetherPotentialProperties() const
Macros to ease declaration of run-time selection tables.
TypeName("tetherPotential")
Runtime type information.
word name(const complex &)
Return a string representation of a complex.
virtual vector force(const vector r) const =0
declareRunTimeSelectionTable(autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties))
virtual ~tetherPotential()
Destructor.