#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_ |
tetherPotential | ( | const tetherPotential & | ) | [protected]
|
Disallow copy construct.
tetherPotential | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Construct from components.
Definition at line 40 of file tetherPotential.C.
virtual ~tetherPotential | ( | ) | [inline, virtual]
|
Definition at line 116 of file tetherPotential.H.
void operator= | ( | const tetherPotential & | ) | [protected]
|
Disallow default bitwise assignment.
TypeName | ( | "tetherPotential" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
tetherPotential | , | ||
dictionary | , | ||
(const word &name, const dictionary &tetherPotentialProperties) | , | ||
(name, tetherPotentialProperties) | |||
) |
autoPtr< tetherPotential > New | ( | const word & | name, |
const dictionary & | 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.
virtual scalar energy | ( | const vector | r ) | const [pure virtual]
|
Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.
Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.
const dictionary& tetherPotentialProperties | ( | ) | const [inline]
|
Definition at line 126 of file tetherPotential.H.
References tetherPotential::tetherPotentialProperties_.
Referenced by tetherPotential::read().
bool read | ( | const dictionary & | tetherPotentialProperties ) | [pure virtual]
|
Read tetherPotential dictionary.
Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.
Definition at line 53 of file tetherPotential.C.
References tetherPotential::tetherPotentialProperties(), and tetherPotential::tetherPotentialProperties_.
Referenced by restrainedHarmonicSpring::read().
Definition at line 60 of file tetherPotential.H.
dictionary tetherPotentialProperties_ [protected]
|
Definition at line 61 of file tetherPotential.H.
Referenced by tetherPotential::read(), and tetherPotential::tetherPotentialProperties().