Public Member Functions | |
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... | |
tetherPotential (const tetherPotential &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~tetherPotential () |
Destructor. More... | |
virtual scalar | energy (const vector r) const =0 |
virtual vector | force (const vector r) const =0 |
const dictionary & | tetherPotentialProperties () const |
virtual bool | read (const dictionary &tetherPotentialProperties)=0 |
Read tetherPotential dictionary. More... | |
void | operator= (const tetherPotential &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< tetherPotential > | New (const word &name, const dictionary &tetherPotentialProperties) |
Return a reference to the selected viscosity model. More... | |
Protected Attributes | |
word | name_ |
dictionary | tetherPotentialProperties_ |
Definition at line 52 of file tetherPotential.H.
tetherPotential | ( | const word & | name, |
const dictionary & | tetherPotentialProperties | ||
) |
Construct from components.
Definition at line 40 of file tetherPotential.C.
tetherPotential | ( | const tetherPotential & | ) |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 108 of file tetherPotential.H.
References tetherPotential::energy(), and tetherPotential::force().
TypeName | ( | "tetherPotential" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
tetherPotential | , | ||
dictionary | , | ||
(const word &name, const dictionary &tetherPotentialProperties) | , | ||
(name, tetherPotentialProperties) | |||
) |
|
static |
Return a reference to the selected viscosity model.
Definition at line 31 of file tetherPotentialNew.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), Foam::name(), and Foam::nl.
|
pure virtual |
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Referenced by tetherPotential::~tetherPotential().
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Referenced by tetherPotential::~tetherPotential().
|
inline |
Definition at line 118 of file tetherPotential.H.
References tetherPotential::operator=(), tetherPotential::read(), and tetherPotential::tetherPotentialProperties_.
|
pure virtual |
Read tetherPotential dictionary.
Implemented in pitchForkRing, restrainedHarmonicSpring, and harmonicSpring.
Definition at line 53 of file tetherPotential.C.
Referenced by harmonicSpring::read(), restrainedHarmonicSpring::read(), pitchForkRing::read(), and tetherPotential::tetherPotentialProperties().
|
delete |
Disallow default bitwise assignment.
Referenced by tetherPotential::tetherPotentialProperties().
|
protected |
Definition at line 59 of file tetherPotential.H.
|
protected |
Definition at line 60 of file tetherPotential.H.
Referenced by tetherPotential::tetherPotentialProperties().