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

pairPotentialList Class Reference

#include <potential/pairPotentialList.H>


Detailed Description

Source files

Definition at line 52 of file pairPotentialList.H.

Inheritance diagram for pairPotentialList:
Collaboration diagram for pairPotentialList:

List of all members.

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

Constructor & Destructor Documentation

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.

Definition at line 196 of file pairPotentialList.C.


Member Function Documentation

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().

Foam::scalar rCutMax (  ) const [inline]

Definition at line 61 of file pairPotentialListI.H.

Foam::scalar rCutMaxSqr (  ) const [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.

const Foam::pairPotential & electrostatic (  ) const [inline]

Definition at line 73 of file pairPotentialListI.H.


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