35 #ifndef tetherPotential_H 36 #define tetherPotential_H 90 (name, tetherPotentialProperties)
131 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...
tetherPotential(const tetherPotential &)
Disallow copy construct.
virtual vector force(const vector r) const =0
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
virtual bool read(const dictionary &tetherPotentialProperties)=0
Read tetherPotential dictionary.
A class for handling words, derived from string.
const dictionary & tetherPotentialProperties() const
void operator=(const tetherPotential &)
Disallow default bitwise assignment.
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.