Public Member Functions | |
TypeName ("restrainedHarmonicSpring") | |
restrainedHarmonicSpring (const word &name, const dictionary &tetherPotentialProperties) | |
~restrainedHarmonicSpring () | |
scalar | energy (const vector r) const |
vector | force (const vector r) const |
bool | read (const dictionary &tetherPotentialProperties) |
![]() | |
TypeName ("tetherPotential") | |
declareRunTimeSelectionTable (autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties)) | |
tetherPotential (const word &name, const dictionary &tetherPotentialProperties) | |
virtual | ~tetherPotential ()=default |
const dictionary & | tetherPotentialProperties () const |
Additional Inherited Members | |
![]() | |
static autoPtr< tetherPotential > | New (const word &name, const dictionary &tetherPotentialProperties) |
![]() | |
tetherPotential (const tetherPotential &)=delete | |
void | operator= (const tetherPotential &)=delete |
![]() | |
word | name_ |
dictionary | tetherPotentialProperties_ |
Definition at line 48 of file restrainedHarmonicSpring.H.
restrainedHarmonicSpring | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Definition at line 46 of file restrainedHarmonicSpring.C.
|
inline |
Definition at line 78 of file restrainedHarmonicSpring.H.
TypeName | ( | "restrainedHarmonicSpring" | ) |
|
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 |
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.