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

pairPotentialList Class Reference

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

Detailed Description

Source files

Definition at line 47 of file pairPotentialList.H.


Constructor & Destructor Documentation

Definition at line 167 of file pairPotentialList.C.

pairPotentialList ( const List< word > &  idList,
const dictionary &  pairPotentialDict,
const polyMesh &  mesh 
)

Construct from idList and potental dictionaries.

Definition at line 174 of file pairPotentialList.C.

Definition at line 188 of file pairPotentialList.C.


Member Function Documentation

void buildPotentials ( const List< word > &  idList,
const dictionary &  pairPotentialDict,
const polyMesh &  mesh 
)

Definition at line 195 of file pairPotentialList.C.

Foam::scalar rCutMax (  )  const [inline]

Definition at line 53 of file pairPotentialListI.H.

Foam::scalar rCutMaxSqr (  )  const [inline]

Definition at line 59 of file pairPotentialListI.H.

bool rCutMaxSqr ( scalar  rIJMagSqr  )  const

Definition at line 219 of file pairPotentialList.C.

const Foam::pairPotential & pairPotentialFunction ( const label  a,
const label  b 
) const

Definition at line 210 of file pairPotentialList.C.

bool rCutSqr ( const label  a,
const label  b,
const scalar  rIJMagSqr 
) const

Definition at line 233 of file pairPotentialList.C.

Foam::scalar rMin ( const label  a,
const label  b 
) const

Definition at line 251 of file pairPotentialList.C.

Foam::scalar dr ( const label  a,
const label  b 
) const

Definition at line 261 of file pairPotentialList.C.

Foam::scalar rCutSqr ( const label  a,
const label  b 
) const

Definition at line 271 of file pairPotentialList.C.

Foam::scalar rCut ( const label  a,
const label  b 
) const

Definition at line 281 of file pairPotentialList.C.

Foam::scalar force ( const label  a,
const label  b,
const scalar  rIJMag 
) const

Definition at line 291 of file pairPotentialList.C.

Foam::scalar energy ( const label  a,
const label  b,
const scalar  rIJMag 
) const

Definition at line 304 of file pairPotentialList.C.

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

Definition at line 65 of file pairPotentialListI.H.


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