#include <potential/dampedCoulomb.H>
Definition at line 51 of file dampedCoulomb.H.
Inheritance diagram for dampedCoulomb:
Collaboration diagram for dampedCoulomb: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 |
| 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.
| 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().
scalar oneOverFourPiEps0 [static]
|
1.0/(4.0 * mathematicalConstant::pi * 8.854187817e-12)
Definition at line 70 of file dampedCoulomb.H.
Referenced by dampedCoulomb::unscaledEnergy().