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