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

#include <potential/coulomb.H>


Detailed Description

Source files

Definition at line 51 of file coulomb.H.

Inheritance diagram for coulomb:
Collaboration diagram for coulomb:

List of all members.

Public Member Functions

 TypeName ("coulomb")
 Runtime type information.
 coulomb (const word &name, const dictionary &pairPotentialProperties)
 Construct from components.
 ~coulomb ()
scalar  unscaledEnergy (const scalar r) const
bool  read (const dictionary &pairPotentialProperties)
 Read dictionary.

Static Public Attributes

static scalar  oneOverFourPiEps0

Constructor & Destructor Documentation

coulomb ( const word &   name,
const dictionary &   pairPotentialProperties  
)

Construct from components.

Definition at line 55 of file coulomb.C.

~coulomb (  ) [inline]

Definition at line 77 of file coulomb.H.


Member Function Documentation

TypeName ( "coulomb"    )

Runtime type information.

scalar unscaledEnergy ( const scalar   r  ) const [virtual]

Implements pairPotential.

Definition at line 68 of file coulomb.C.

References coulomb::oneOverFourPiEps0.

bool read ( const dictionary &   pairPotentialProperties  ) [virtual]

Read dictionary.

Implements pairPotential.

Definition at line 74 of file coulomb.C.


Member Data Documentation

scalar oneOverFourPiEps0 [static]
Initial value:
    1.0/(4.0 * mathematicalConstant::pi * 8.854187817e-12)

Definition at line 63 of file coulomb.H.

Referenced by coulomb::unscaledEnergy().


The documentation for this class was generated from the following files:
  • src/lagrangian/molecularDynamics/potential/pairPotential/derived/coulomb/coulomb.H
  • src/lagrangian/molecularDynamics/potential/pairPotential/derived/coulomb/coulomb.C