

Public Member Functions | |
| TypeName ("harmonicSpring") | |
| Runtime type information. More... | |
| harmonicSpring (const word &name, const dictionary &tetherPotentialProperties) | |
| Construct from components. More... | |
| ~harmonicSpring () | |
| Destructor. More... | |
| scalar | energy (const vector r) const |
| vector | force (const vector r) const |
| bool | read (const dictionary &tetherPotentialProperties) |
| Read dictionary. More... | |
Public Member Functions inherited from tetherPotential | |
| TypeName ("tetherPotential") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties)) | |
| tetherPotential (const word &name, const dictionary &tetherPotentialProperties) | |
| Construct from components. More... | |
| virtual | ~tetherPotential () |
| Destructor. More... | |
| const dictionary & | tetherPotentialProperties () const |
Additional Inherited Members | |
Static Public Member Functions inherited from tetherPotential | |
| static autoPtr< tetherPotential > | New (const word &name, const dictionary &tetherPotentialProperties) |
| Return a reference to the selected viscosity model. More... | |
Protected Member Functions inherited from tetherPotential | |
| tetherPotential (const tetherPotential &) | |
| Disallow copy construct. More... | |
| void | operator= (const tetherPotential &) |
| Disallow default bitwise assignment. More... | |
Protected Attributes inherited from tetherPotential | |
| word | name_ |
| dictionary | tetherPotentialProperties_ |
| harmonicSpring | ( | const word & | name, |
| const dictionary & | tetherPotentialProperties | ||
| ) |
Construct from components.
Definition at line 51 of file harmonicSpring.C.
|
inline |
Destructor.
Definition at line 78 of file harmonicSpring.H.
References harmonicSpring::energy(), harmonicSpring::force(), and harmonicSpring::read().

| TypeName | ( | "harmonicSpring" | ) |
Runtime type information.
|
virtual |
Implements tetherPotential.
Definition at line 67 of file harmonicSpring.C.
References Foam::magSqr().
Referenced by harmonicSpring::~harmonicSpring().


Implements tetherPotential.
Definition at line 73 of file harmonicSpring.C.
Referenced by harmonicSpring::~harmonicSpring().

|
virtual |
Read dictionary.
Implements tetherPotential.
Definition at line 79 of file harmonicSpring.C.
References dictionary::lookup(), tetherPotential::read(), and dictionary::subDict().
Referenced by harmonicSpring::~harmonicSpring().


1.8.11