Public Member Functions | |
TypeName ("tetherPotential") | |
declareRunTimeSelectionTable (autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties)) | |
tetherPotential (const word &name, const dictionary &tetherPotentialProperties) | |
virtual | ~tetherPotential ()=default |
virtual scalar | energy (const vector r) const =0 |
virtual vector | force (const vector r) const =0 |
const dictionary & | tetherPotentialProperties () const |
virtual bool | read (const dictionary &tetherPotentialProperties)=0 |
Static Public Member Functions | |
static autoPtr< tetherPotential > | New (const word &name, const dictionary &tetherPotentialProperties) |
Protected Member Functions | |
tetherPotential (const tetherPotential &)=delete | |
void | operator= (const tetherPotential &)=delete |
Protected Attributes | |
word | name_ |
dictionary | tetherPotentialProperties_ |
Definition at line 51 of file tetherPotential.H.
|
protecteddelete |
tetherPotential | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Definition at line 35 of file tetherPotential.C.
|
virtualdefault |
|
protecteddelete |
TypeName | ( | "tetherPotential" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
tetherPotential | , | ||
dictionary | , | ||
(const word &name, const dictionary &tetherPotentialProperties) | , | ||
(name, tetherPotentialProperties) | |||
) |
|
static |
Definition at line 27 of file tetherPotentialNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, Foam::name(), and Foam::nl.
|
pure virtual |
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
|
inline |
Definition at line 122 of file tetherPotential.H.
References tetherPotential::tetherPotentialProperties_.
Referenced by harmonicSpring::read(), pitchForkRing::read(), and tetherPotential::read().
|
pure virtual |
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Definition at line 48 of file tetherPotential.C.
References tetherPotential::tetherPotentialProperties(), and tetherPotential::tetherPotentialProperties_.
Referenced by harmonicSpring::read(), pitchForkRing::read(), and restrainedHarmonicSpring::read().
|
protected |
Definition at line 58 of file tetherPotential.H.
|
protected |
Definition at line 59 of file tetherPotential.H.
Referenced by tetherPotential::read(), and tetherPotential::tetherPotentialProperties().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.