#include <potential/tetherPotentialList.H>
Definition at line 51 of file tetherPotentialList.H.
Inheritance diagram for tetherPotentialList:
Collaboration diagram for tetherPotentialList: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 |
Public Member Functions inherited from PtrList< tetherPotential > | |
| PtrList () | |
| Null Constructor. | |
| PtrList (const label) | |
| Construct with length specified. | |
| PtrList (const PtrList< tetherPotential > &) | |
| Copy constructor. | |
| PtrList (const PtrList< tetherPotential > &, const CloneArg &) | |
| Copy constructor with additional argument for clone. | |
| PtrList (const Xfer< PtrList< tetherPotential > > &) | |
| Construct by transferring the parameter contents. | |
| PtrList (PtrList< tetherPotential > &, bool reUse) | |
| Construct as copy or re-use as specified. | |
| PtrList (const SLPtrList< tetherPotential > &) | |
| Construct as copy of SLPtrList<T> | |
| PtrList (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. | |
| PtrList (Istream &) | |
| Construct from Istream using default Istream constructor class. | |
| ~PtrList () | |
| label | size () const |
| Return the number of elements in the PtrList. | |
| bool | empty () const |
| Return true if the PtrList is empty (ie, size() is zero). | |
| void | setSize (const label) |
| Reset size of PtrList. This can only be used to set the size. | |
| void | resize (const label) |
| Reset size of PtrList. This can only be used to set the size. | |
| void | clear () |
| Clear the PtrList, i.e. set size to zero deleting all the. | |
| void | transfer (PtrList< tetherPotential > &) |
| Transfer the contents of the argument PtrList into this PtrList. | |
| Xfer< PtrList< tetherPotential > > | xfer () |
| Transfer contents to the Xfer container. | |
| bool | set (const label) const |
| Is element set. | |
| autoPtr< tetherPotential > | set (const label, tetherPotential *) |
| Set element. Return old element (can be NULL). | |
| autoPtr< tetherPotential > | set (const label, const autoPtr< tetherPotential > &) |
| autoPtr< tetherPotential > | set (const label, const tmp< tetherPotential > &) |
| void | reorder (const UList< label > &) |
| Reorders elements. Ordering does not have to be done in. | |
| const tetherPotential & | operator[] (const label) const |
| Return element const reference. | |
| tetherPotential & | operator[] (const label) |
| Return element reference. | |
| const tetherPotential * | operator() (const label) const |
| Return element const pointer. | |
| PtrList< tetherPotential > & | operator= (const PtrList< tetherPotential > &) |
| Assignment. | |
| iterator | begin () |
| Return an iterator to begin traversing the PtrList. | |
| iterator | end () |
| Return an iterator to end traversing the PtrList. | |
Additional Inherited Members | |
Public Types inherited from PtrList< tetherPotential > | |
| typedef tetherPotential | value_type |
| Type of values the PtrList contains. | |
| typedef tetherPotential & | reference |
| Type that can be used for storing into PtrList::value_type objects. | |
| typedef const tetherPotential & | const_reference |
| Type that can be used for storing into constant PtrList::value_type. | |
Protected Member Functions inherited from PtrList< tetherPotential > | |
| void | read (Istream &, const INew &inewt) |
| Read from Istream using given Istream constructor class. | |
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.