#include <potential/pairPotentialList.H>
Definition at line 52 of file pairPotentialList.H.
Inheritance diagram for pairPotentialList:
Collaboration diagram for pairPotentialList:Public Member Functions | |
| pairPotentialList () | |
| pairPotentialList (const List< word > &idList, const dictionary &pairPotentialDict, const polyMesh &mesh) | |
| Construct from idList and potental dictionaries. | |
| ~pairPotentialList () | |
| void | buildPotentials (const List< word > &idList, const dictionary &pairPotentialDict, const polyMesh &mesh) |
| scalar | rCutMax () const |
| scalar | rCutMaxSqr () const |
| bool | rCutMaxSqr (scalar rIJMagSqr) const |
| const pairPotential & | pairPotentialFunction (const label a, const label b) const |
| bool | rCutSqr (const label a, const label b, const scalar rIJMagSqr) const |
| scalar | rMin (const label a, const label b) const |
| scalar | dr (const label a, const label b) const |
| scalar | rCutSqr (const label a, const label b) const |
| scalar | rCut (const label a, const label b) const |
| scalar | force (const label a, const label b, const scalar rIJMag) const |
| scalar | energy (const label a, const label b, const scalar rIJMag) const |
| const pairPotential & | electrostatic () const |
Public Member Functions inherited from PtrList< pairPotential > | |
| PtrList () | |
| Null Constructor. | |
| PtrList (const label) | |
| Construct with length specified. | |
| PtrList (const PtrList< pairPotential > &) | |
| Copy constructor. | |
| PtrList (const PtrList< pairPotential > &, const CloneArg &) | |
| Copy constructor with additional argument for clone. | |
| PtrList (const Xfer< PtrList< pairPotential > > &) | |
| Construct by transferring the parameter contents. | |
| PtrList (PtrList< pairPotential > &, bool reUse) | |
| Construct as copy or re-use as specified. | |
| PtrList (const SLPtrList< pairPotential > &) | |
| 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< pairPotential > &) |
| Transfer the contents of the argument PtrList into this PtrList. | |
| Xfer< PtrList< pairPotential > > | xfer () |
| Transfer contents to the Xfer container. | |
| bool | set (const label) const |
| Is element set. | |
| autoPtr< pairPotential > | set (const label, pairPotential *) |
| Set element. Return old element (can be NULL). | |
| autoPtr< pairPotential > | set (const label, const autoPtr< pairPotential > &) |
| autoPtr< pairPotential > | set (const label, const tmp< pairPotential > &) |
| void | reorder (const UList< label > &) |
| Reorders elements. Ordering does not have to be done in. | |
| const pairPotential & | operator[] (const label) const |
| Return element const reference. | |
| pairPotential & | operator[] (const label) |
| Return element reference. | |
| const pairPotential * | operator() (const label) const |
| Return element const pointer. | |
| PtrList< pairPotential > & | operator= (const PtrList< pairPotential > &) |
| 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< pairPotential > | |
| typedef pairPotential | value_type |
| Type of values the PtrList contains. | |
| typedef pairPotential & | reference |
| Type that can be used for storing into PtrList::value_type objects. | |
| typedef const pairPotential & | const_reference |
| Type that can be used for storing into constant PtrList::value_type. | |
Protected Member Functions inherited from PtrList< pairPotential > | |
| void | read (Istream &, const INew &inewt) |
| Read from Istream using given Istream constructor class. | |
Definition at line 175 of file pairPotentialList.C.
| pairPotentialList | ( | const List< word > & | idList, |
| const dictionary & | pairPotentialDict, | ||
| const polyMesh & | mesh | ||
| ) |
Construct from idList and potental dictionaries.
Definition at line 182 of file pairPotentialList.C.
| ~pairPotentialList | ( | ) |
Definition at line 196 of file pairPotentialList.C.
| void buildPotentials | ( | const List< word > & | idList, |
| const dictionary & | pairPotentialDict, | ||
| const polyMesh & | mesh | ||
| ) |
Definition at line 203 of file pairPotentialList.C.
References setSize(), and List< T >::size().
|
inline |
Definition at line 61 of file pairPotentialListI.H.
|
inline |
Definition at line 67 of file pairPotentialListI.H.
| bool rCutMaxSqr | ( | scalar | rIJMagSqr | ) | const |
Definition at line 227 of file pairPotentialList.C.
| const Foam::pairPotential & pairPotentialFunction | ( | const label | a, |
| const label | b | ||
| ) | const |
Definition at line 218 of file pairPotentialList.C.
| bool rCutSqr | ( | const label | a, |
| const label | b, | ||
| const scalar | rIJMagSqr | ||
| ) | const |
Definition at line 241 of file pairPotentialList.C.
| Foam::scalar rMin | ( | const label | a, |
| const label | b | ||
| ) | const |
Definition at line 259 of file pairPotentialList.C.
| Foam::scalar dr | ( | const label | a, |
| const label | b | ||
| ) | const |
Definition at line 269 of file pairPotentialList.C.
| Foam::scalar rCutSqr | ( | const label | a, |
| const label | b | ||
| ) | const |
Definition at line 279 of file pairPotentialList.C.
| Foam::scalar rCut | ( | const label | a, |
| const label | b | ||
| ) | const |
Definition at line 289 of file pairPotentialList.C.
| Foam::scalar force | ( | const label | a, |
| const label | b, | ||
| const scalar | rIJMag | ||
| ) | const |
Definition at line 299 of file pairPotentialList.C.
References f().
| Foam::scalar energy | ( | const label | a, |
| const label | b, | ||
| const scalar | rIJMag | ||
| ) | const |
Definition at line 312 of file pairPotentialList.C.
References e.
|
inline |
Definition at line 73 of file pairPotentialListI.H.