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

dampedCoulomb Class Reference

#include <potential/dampedCoulomb.H>


Detailed Description

Source files

Definition at line 51 of file dampedCoulomb.H.

Inheritance diagram for dampedCoulomb:
Collaboration diagram for dampedCoulomb:

List of all members.

Public Member Functions

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

Static Public Attributes

static scalar  oneOverFourPiEps0

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 55 of file dampedCoulomb.C.

~dampedCoulomb (  ) [inline]

Definition at line 85 of file dampedCoulomb.H.


Member Function Documentation

TypeName ( "dampedCoulomb"    )

Runtime type information.

scalar unscaledEnergy ( const scalar   r  ) const [virtual]

Implements pairPotential.

Definition at line 73 of file dampedCoulomb.C.

References Foam::erfc(), and dampedCoulomb::oneOverFourPiEps0.

bool read ( const dictionary &   pairPotentialProperties  ) [virtual]

Read dictionary.

Implements pairPotential.

Definition at line 79 of file dampedCoulomb.C.

References dictionary::lookup(), and dictionary::subDict().


Member Data Documentation

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

Definition at line 70 of file dampedCoulomb.H.

Referenced by dampedCoulomb::unscaledEnergy().


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