#include <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 ()=default |
| Destructor. | |
| 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 &)=delete | |
| No copy construct. | |
| void | operator= (const tetherPotential &)=delete |
| No copy assignment. | |
Protected Attributes | |
| word | name_ |
| dictionary | tetherPotentialProperties_ |
Definition at line 51 of file tetherPotential.H.
|
protecteddelete |
No copy construct.
References tetherPotential().
Referenced by declareRunTimeSelectionTable(), harmonicSpring::harmonicSpring(), operator=(), pitchForkRing::pitchForkRing(), restrainedHarmonicSpring::restrainedHarmonicSpring(), and tetherPotential().


| tetherPotential | ( | const word & | name, |
| const dictionary & | tetherPotentialProperties ) |
Construct from components.
Definition at line 34 of file tetherPotential.C.
References Foam::name(), name_, tetherPotentialProperties(), and tetherPotentialProperties_.

|
virtualdefault |
Destructor.
|
protecteddelete |
| TypeName | ( | "tetherPotential" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| tetherPotential | , | ||
| dictionary | , | ||
| (const word &name, const dictionary &tetherPotentialProperties) | , | ||
| (name, tetherPotentialProperties) | ) |
References Foam::name(), tetherPotential(), and tetherPotentialProperties().

|
static |
Return a reference to the selected viscosity model.
Definition at line 26 of file tetherPotentialNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, Foam::name(), and Foam::nl.

|
pure virtual |
Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.
Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.
|
inline |
Definition at line 134 of file tetherPotential.H.
References tetherPotentialProperties_.
Referenced by declareRunTimeSelectionTable(), harmonicSpring::harmonicSpring(), pitchForkRing::pitchForkRing(), read(), harmonicSpring::read(), pitchForkRing::read(), restrainedHarmonicSpring::read(), restrainedHarmonicSpring::restrainedHarmonicSpring(), tetherPotential(), harmonicSpring::TypeName(), pitchForkRing::TypeName(), and restrainedHarmonicSpring::TypeName().

|
pure virtual |
Read tetherPotential dictionary.
Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.
Definition at line 48 of file tetherPotential.C.
References tetherPotentialProperties(), and tetherPotentialProperties_.
Referenced by harmonicSpring::read(), pitchForkRing::read(), and restrainedHarmonicSpring::read().


|
protected |
Definition at line 58 of file tetherPotential.H.
Referenced by tetherPotential().
|
protected |
Definition at line 59 of file tetherPotential.H.
Referenced by read(), tetherPotential(), and tetherPotentialProperties().