Go to the documentation of this file.
34 namespace pairPotentials
63 pairPotentialProperties.
subDict(typeName +
"Coeffs")
65 alpha_(
readScalar(dampedCoulombCoeffs_.lookup(
"alpha")))
A class for handling words, derived from string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
dictionary dampedCoulombCoeffs_
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
scalar unscaledEnergy(const scalar r) const
dimensionedScalar erfc(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e....
defineTypeNameAndDebug(azizChen, 0)
Macros for easy insertion into run-time selection tables.
const dictionary & pairPotentialProperties() const
static scalar oneOverFourPiEps0
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
word name(const complex &)
Return a string representation of a complex.
dampedCoulomb(const word &name, const dictionary &pairPotentialProperties)
Construct from components.