Go to the documentation of this file.
36 namespace pairPotentials
65 pairPotentialProperties.
subDict(typeName +
"Coeffs")
67 alpha_(dampedCoulombCoeffs_.get<scalar>(
"alpha"))
85 dampedCoulombCoeffs_ =
88 dampedCoulombCoeffs_.
readEntry(
"alpha", alpha_);
A class for handling words, derived from Foam::string.
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
scalar unscaledEnergy(const scalar r) const
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
dimensionedScalar erfc(const dimensionedScalar &ds)
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
defineTypeNameAndDebug(azizChen, 0)
Macros for easy insertion into run-time selection tables.
const dictionary & pairPotentialProperties() const
static scalar oneOverFourPiEps0
constexpr scalar pi(M_PI)
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
dampedCoulomb(const word &name, const dictionary &pairPotentialProperties)
Construct from components.