Go to the documentation of this file.
38 #ifndef tetherPotential_H
39 #define tetherPotential_H
A class for handling words, derived from Foam::string.
static autoPtr< tetherPotential > New(const word &name, const dictionary &tetherPotentialProperties)
dictionary tetherPotentialProperties_
virtual bool read(const dictionary &tetherPotentialProperties)=0
virtual scalar energy(const vector r) const =0
tetherPotential(const tetherPotential &)=delete
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~tetherPotential()=default
void operator=(const tetherPotential &)=delete
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const dictionary & tetherPotentialProperties() const
Macros to ease declaration of run-time selection tables.
word name(const expressions::valueTypeCode typeCode)
TypeName("tetherPotential")
virtual vector force(const vector r) const =0
declareRunTimeSelectionTable(autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties))