Public Member Functions | |
TypeName ("restrainedHarmonicSpring") | |
Runtime type information. More... | |
restrainedHarmonicSpring (const word &name, const dictionary &tetherPotentialProperties) | |
Construct from components. More... | |
~restrainedHarmonicSpring () | |
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 ()=default |
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 &)=delete | |
No copy construct. More... | |
void | operator= (const tetherPotential &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from tetherPotential | |
word | name_ |
dictionary | tetherPotentialProperties_ |
Definition at line 48 of file restrainedHarmonicSpring.H.
restrainedHarmonicSpring | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Construct from components.
Definition at line 46 of file restrainedHarmonicSpring.C.
|
inline |
Destructor.
Definition at line 84 of file restrainedHarmonicSpring.H.
TypeName | ( | "restrainedHarmonicSpring" | ) |
Runtime type information.
|
virtual |
Implements tetherPotential.
Definition at line 68 of file restrainedHarmonicSpring.C.
References Foam::mag(), and Foam::magSqr().
Implements tetherPotential.
Definition at line 84 of file restrainedHarmonicSpring.C.
References Foam::mag().
|
virtual |
Read dictionary.
Implements tetherPotential.
Definition at line 100 of file restrainedHarmonicSpring.C.
References tetherPotential::read(), dictionary::readEntry(), and dictionary::subDict().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.