Public Member Functions | List of all members
tetherPotentialList Class Reference
Inheritance diagram for tetherPotentialList:
Inheritance graph
[legend]
Collaboration diagram for tetherPotentialList:
Collaboration graph
[legend]

Public Member Functions

 tetherPotentialList ()
 
 tetherPotentialList (const List< word > &siteIdList, const dictionary &tetherPotentialDict, const List< word > &tetherSiteIdList)
 
 ~tetherPotentialList ()
 
void buildPotentials (const List< word > &siteIdList, const dictionary &tetherPotentialDict, const List< word > &tetherSiteIdList)
 
const List< word > & idMap () const
 
const tetherPotentialtetherPotentialFunction (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 >
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (const PtrList< T > &list, const CloneArg &cloneArgs)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
 PtrList (Istream &is, const INew &inew)
 
 PtrList (Istream &is)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (Istream &is)
 
 ~PtrList ()
 
PtrList< Tclone (Args &&... args) const
 
Foam::PtrList< Tclone (Args &&... args) const
 
const Tset (const label i) const
 
autoPtr< Tset (const label i, T *ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &&ptr)
 
autoPtr< Tset (const label i, std::unique_ptr< T > &&ptr)
 
autoPtr< Tset (const label i, const refPtr< T > &ptr)
 
autoPtr< Tset (const label i, const tmp< T > &ptr)
 
void clear ()
 
void resize (const label newLen)
 
void setSize (const label newLen)
 
void emplace_append (Args &&... args)
 
void append (T *ptr)
 
void append (autoPtr< T > &ptr)
 
void append (autoPtr< T > &&ptr)
 
void append (std::unique_ptr< T > &&ptr)
 
void append (const refPtr< T > &ptr)
 
void append (const tmp< T > &ptr)
 
autoPtr< Templace (const label i, Args &&... args)
 
Foam::autoPtr< Templace (const label i, Args &&... args)
 
autoPtr< Trelease (const label i)
 
void transfer (PtrList< T > &list)
 
void operator= (const PtrList< T > &list)
 
void operator= (PtrList< T > &&list)
 

Additional Inherited Members

- Protected Member Functions inherited from PtrList< tetherPotential >
void readIstream (Istream &is, const INew &inew)
 
void free ()
 

Detailed Description

Source files

Definition at line 48 of file tetherPotentialList.H.

Constructor & Destructor Documentation

◆ tetherPotentialList() [1/2]

Definition at line 82 of file tetherPotentialList.C.

◆ tetherPotentialList() [2/2]

tetherPotentialList ( const List< word > &  siteIdList,
const dictionary tetherPotentialDict,
const List< word > &  tetherSiteIdList 
)

Definition at line 90 of file tetherPotentialList.C.

◆ ~tetherPotentialList()

Definition at line 105 of file tetherPotentialList.C.

Member Function Documentation

◆ buildPotentials()

void buildPotentials ( const List< word > &  siteIdList,
const dictionary tetherPotentialDict,
const List< word > &  tetherSiteIdList 
)

Definition at line 112 of file tetherPotentialList.C.

References setSize().

Here is the call graph for this function:

◆ idMap()

const List<word>& idMap ( ) const
inline

◆ tetherPotentialFunction()

const Foam::tetherPotential & tetherPotentialFunction ( const label  a) const

Definition at line 125 of file tetherPotentialList.C.

◆ force()

Foam::vector force ( const label  a,
const vector  rIT 
) const

Definition at line 134 of file tetherPotentialList.C.

◆ energy()

Foam::scalar energy ( const label  a,
const vector  rIT 
) const

Definition at line 144 of file tetherPotentialList.C.


The documentation for this class was generated from the following files: