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

Public Member Functions

 pairPotentialList ()
 
 pairPotentialList (const List< word > &idList, const dictionary &pairPotentialDict, const polyMesh &mesh)
 
 ~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 pairPotentialpairPotentialFunction (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 pairPotentialelectrostatic () const
 
- Public Member Functions inherited from PtrList< pairPotential >
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< pairPotential >
void readIstream (Istream &is, const INew &inew)
 
void free ()
 

Detailed Description

Source files

Definition at line 49 of file pairPotentialList.H.

Constructor & Destructor Documentation

◆ pairPotentialList() [1/2]

Definition at line 185 of file pairPotentialList.C.

◆ pairPotentialList() [2/2]

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

Definition at line 192 of file pairPotentialList.C.

References mesh.

◆ ~pairPotentialList()

Definition at line 206 of file pairPotentialList.C.

Member Function Documentation

◆ buildPotentials()

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

Definition at line 213 of file pairPotentialList.C.

References mesh, and setSize().

Here is the call graph for this function:

◆ rCutMax()

Foam::scalar rCutMax ( ) const
inline

Definition at line 55 of file pairPotentialListI.H.

◆ rCutMaxSqr() [1/2]

Foam::scalar rCutMaxSqr ( ) const
inline

Definition at line 61 of file pairPotentialListI.H.

◆ rCutMaxSqr() [2/2]

bool rCutMaxSqr ( scalar  rIJMagSqr) const

Definition at line 237 of file pairPotentialList.C.

◆ pairPotentialFunction()

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

Definition at line 228 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b.

◆ rCutSqr() [1/2]

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

Definition at line 249 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b.

◆ rMin()

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

Definition at line 265 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b.

◆ dr()

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

Definition at line 275 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b.

◆ rCutSqr() [2/2]

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

Definition at line 285 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b.

◆ rCut()

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

Definition at line 295 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b.

◆ force()

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

Definition at line 305 of file pairPotentialList.C.

References Foam::constant::physicoChemical::b, and f().

Here is the call graph for this function:

◆ energy()

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

◆ electrostatic()

const Foam::pairPotential & electrostatic ( ) const
inline

Definition at line 67 of file pairPotentialListI.H.


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