OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

tetherPotentialList Class Reference

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

Detailed Description

Source files

Definition at line 46 of file tetherPotentialList.H.


Constructor & Destructor Documentation

Definition at line 78 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 86 of file tetherPotentialList.C.

Definition at line 101 of file tetherPotentialList.C.


Member Function Documentation

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

Definition at line 108 of file tetherPotentialList.C.

const List<word>& idMap (  )  const [inline]

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

Definition at line 121 of file tetherPotentialList.C.

References PtrList< tetherPotential >::setSize().

Here is the call graph for this function:

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

Definition at line 130 of file tetherPotentialList.C.

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

Definition at line 140 of file tetherPotentialList.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd