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... | |
![]() | |
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 |
Private Attributes | |
dictionary | restrainedHarmonicSpringCoeffs_ |
scalar | springConstant_ |
scalar | rR_ |
Additional Inherited Members | |
![]() | |
static autoPtr< tetherPotential > | New (const word &name, const dictionary &tetherPotentialProperties) |
Return a reference to the selected viscosity model. More... | |
![]() | |
tetherPotential (const tetherPotential &) | |
Disallow copy construct. More... | |
void | operator= (const tetherPotential &) |
Disallow default bitwise assignment. More... | |
![]() | |
word | name_ |
dictionary | tetherPotentialProperties_ |
Definition at line 50 of file restrainedHarmonicSpring.H.
restrainedHarmonicSpring | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Construct from components.
Definition at line 51 of file restrainedHarmonicSpring.C.
|
inline |
Destructor.
Definition at line 80 of file restrainedHarmonicSpring.H.
TypeName | ( | "restrainedHarmonicSpring" | ) |
Runtime type information.
|
virtual |
Implements tetherPotential.
Definition at line 73 of file restrainedHarmonicSpring.C.
References Foam::mag(), Foam::magSqr(), restrainedHarmonicSpring::rR_, and restrainedHarmonicSpring::springConstant_.
Implements tetherPotential.
Definition at line 89 of file restrainedHarmonicSpring.C.
References Foam::mag(), restrainedHarmonicSpring::rR_, and restrainedHarmonicSpring::springConstant_.
|
virtual |
Read dictionary.
Implements tetherPotential.
Definition at line 105 of file restrainedHarmonicSpring.C.
References dictionary::lookup(), tetherPotential::read(), and dictionary::subDict().
|
private |
Definition at line 56 of file restrainedHarmonicSpring.H.
|
private |
Definition at line 58 of file restrainedHarmonicSpring.H.
Referenced by restrainedHarmonicSpring::energy(), and restrainedHarmonicSpring::force().
|
private |
Definition at line 60 of file restrainedHarmonicSpring.H.
Referenced by restrainedHarmonicSpring::energy(), and restrainedHarmonicSpring::force().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.