#include <potential/tetherPotentialList.H>
Definition at line 51 of file tetherPotentialList.H.
Public Member Functions | |
tetherPotentialList () | |
tetherPotentialList (const List< word > &siteIdList, const dictionary &tetherPotentialDict, const List< word > &tetherSiteIdList) | |
Construct from siteIdList and potental dictionaries.
| |
~tetherPotentialList () | |
void | buildPotentials (const List< word > &siteIdList, const dictionary &tetherPotentialDict, const List< word > &tetherSiteIdList) |
const List< word > & | idMap () const |
const tetherPotential & | tetherPotentialFunction (const label a) const |
vector | force (const label a, const vector rIT) const |
scalar | energy (const label a, const vector rIT) const |
Definition at line 86 of file tetherPotentialList.C.
tetherPotentialList | ( | const List< word > & | siteIdList, |
const dictionary & | tetherPotentialDict, | ||
const List< word > & | tetherSiteIdList | ||
) |
Construct from siteIdList and potental dictionaries.
Definition at line 94 of file tetherPotentialList.C.
~tetherPotentialList | ( | ) |
Definition at line 109 of file tetherPotentialList.C.
void buildPotentials | ( | const List< word > & | siteIdList, |
const dictionary & | tetherPotentialDict, | ||
const List< word > & | tetherSiteIdList | ||
) |
Definition at line 116 of file tetherPotentialList.C.
References setSize(), and List< T >::size().
const Foam::tetherPotential & tetherPotentialFunction | ( | const label | a ) | const |
Definition at line 129 of file tetherPotentialList.C.
Foam::vector force | ( | const label | a, |
const vector | rIT | ||
) | const |
Definition at line 138 of file tetherPotentialList.C.
Foam::scalar energy | ( | const label | a, |
const vector | rIT | ||
) | const |
Definition at line 148 of file tetherPotentialList.C.