#include <potential/tetherPotential.H>
Definition at line 53 of file tetherPotential.H.
Public Member Functions | |
TypeName ("tetherPotential") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties)) | |
tetherPotential (const word &name, const dictionary &tetherPotentialProperties) | |
Construct from components. | |
virtual | ~tetherPotential () |
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 |
Read tetherPotential dictionary. |
Static Public Member Functions | |
static autoPtr< tetherPotential > | New (const word &name, const dictionary &tetherPotentialProperties) |
Return a reference to the selected viscosity model. |
Protected Member Functions | |
tetherPotential (const tetherPotential &) | |
Disallow copy construct. | |
void | operator= (const tetherPotential &) |
Disallow default bitwise assignment. |
Protected Attributes | |
word | name_ |
dictionary | tetherPotentialProperties_ |
|
protected |
Disallow copy construct.
tetherPotential | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Construct from components.
Definition at line 40 of file tetherPotential.C.
|
inlinevirtual |
Definition at line 116 of file tetherPotential.H.
|
protected |
Disallow default bitwise assignment.
TypeName | ( | "tetherPotential" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
tetherPotential | , | ||
dictionary | , | ||
(const word &name, const dictionary &tetherPotentialProperties) | , | ||
(name, tetherPotentialProperties) | |||
) |
|
static |
Return a reference to the selected viscosity model.
Definition at line 36 of file newTetherPotential.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), Foam::name(), and Foam::nl.
|
pure virtual |
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
|
inline |
Definition at line 126 of file tetherPotential.H.
References tetherPotential::tetherPotentialProperties_.
Referenced by tetherPotential::read().
|
pure virtual |
Read tetherPotential dictionary.
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Definition at line 53 of file tetherPotential.C.
References tetherPotential::tetherPotentialProperties(), and tetherPotential::tetherPotentialProperties_.
Referenced by restrainedHarmonicSpring::read().
|
protected |
Definition at line 60 of file tetherPotential.H.
|
protected |
Definition at line 61 of file tetherPotential.H.
Referenced by tetherPotential::read(), and tetherPotential::tetherPotentialProperties().