#include <potential/restrainedHarmonicSpring.H>
Definition at line 51 of file restrainedHarmonicSpring.H.
Inheritance diagram for restrainedHarmonicSpring:
Collaboration diagram for restrainedHarmonicSpring:Public Member Functions | |
| TypeName ("restrainedHarmonicSpring") | |
| Runtime type information.
| |
| restrainedHarmonicSpring (const word &name, const dictionary &tetherPotentialProperties) | |
| Construct from components.
| |
| ~restrainedHarmonicSpring () | |
| scalar | energy (const vector r) const |
| vector | force (const vector r) const |
| bool | read (const dictionary &tetherPotentialProperties) |
| Read dictionary.
| |
| restrainedHarmonicSpring | ( | const word & | name, |
| const dictionary & | tetherPotentialProperties | ||
| ) |
Construct from components.
Definition at line 51 of file restrainedHarmonicSpring.C.
| ~restrainedHarmonicSpring | ( | ) | [inline]
|
Definition at line 82 of file restrainedHarmonicSpring.H.
| TypeName | ( | "restrainedHarmonicSpring" | ) |
Runtime type information.
| scalar energy | ( | const vector | r ) | const [virtual]
|
Implements tetherPotential.
Definition at line 73 of file restrainedHarmonicSpring.C.
References Foam::mag(), and Foam::magSqr().
Implements tetherPotential.
Definition at line 89 of file restrainedHarmonicSpring.C.
References Foam::mag().
| bool read | ( | const dictionary & | tetherPotentialProperties ) | [virtual]
|
Read dictionary.
Implements tetherPotential.
Definition at line 105 of file restrainedHarmonicSpring.C.
References dictionary::lookup(), tetherPotential::read(), and dictionary::subDict().