38#ifndef tetherPotential_H
39#define tetherPotential_H
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~tetherPotential()=default
Destructor.
const dictionary & tetherPotentialProperties() const
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
No copy assignment.
virtual bool read(const dictionary &tetherPotentialProperties)=0
Read tetherPotential dictionary.
static autoPtr< tetherPotential > New(const word &name, const dictionary &tetherPotentialProperties)
Return a reference to the selected viscosity model.
virtual vector force(const vector r) const =0
tetherPotential(const tetherPotential &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.