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