38 #ifndef tetherPotential_H 39 #define tetherPotential_H declareRunTimeSelectionTable(autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties))
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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
tetherPotential(const tetherPotential &)=delete
No copy construct.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
void operator=(const tetherPotential &)=delete
No copy assignment.
virtual bool read(const dictionary &tetherPotentialProperties)=0
Read tetherPotential dictionary.
A class for handling words, derived from Foam::string.
virtual ~tetherPotential()=default
Destructor.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
TypeName("tetherPotential")
Runtime type information.
Macros to ease declaration of run-time selection tables.
const dictionary & tetherPotentialProperties() const