FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

tetherPotentialList Class Reference

#include <potential/tetherPotentialList.H>


Detailed Description

Source files

Definition at line 51 of file tetherPotentialList.H.

Inheritance diagram for tetherPotentialList:
Collaboration diagram for tetherPotentialList:

List of all members.

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

Constructor & Destructor Documentation

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.

Definition at line 109 of file tetherPotentialList.C.


Member Function Documentation

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 List<word>& idMap (  ) const [inline]
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.


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