36 namespace pairPotentials
65 pairPotentialProperties.subDict(typeName +
"Coeffs")
67 alpha_(dampedCoulombCoeffs_.
get<scalar>(
"alpha"))
85 dampedCoulombCoeffs_ =
88 dampedCoulombCoeffs_.
readEntry(
"alpha", alpha_);
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
Macros for easy insertion into run-time selection tables.
static scalar oneOverFourPiEps0
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
scalar unscaledEnergy(const scalar r) const
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
constexpr scalar pi(M_PI)
const dictionary & pairPotentialProperties() const
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
dimensionedScalar erfc(const dimensionedScalar &ds)
defineTypeNameAndDebug(azizChen, 0)
dampedCoulomb(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)