Go to the documentation of this file.
35 namespace pairPotentials
59 maitlandSmithCoeffs_(
maitlandSmith.subDict(typeName +
"Coeffs")),
60 m_(maitlandSmithCoeffs_.
get<scalar>(
"m")),
61 gamma_(maitlandSmithCoeffs_.
get<scalar>(
"gamma")),
62 rm_(maitlandSmithCoeffs_.
get<scalar>(
"rm")),
63 epsilon_(maitlandSmithCoeffs_.
get<scalar>(
"epsilon"))
73 scalar nr = (m_ + gamma_*(r/rm_ - 1.0));
87 maitlandSmithCoeffs_ =
maitlandSmith.subDict(typeName +
"Coeffs");
90 maitlandSmithCoeffs_.
readEntry(
"gamma", gamma_);
91 maitlandSmithCoeffs_.
readEntry(
"rm", rm_);
92 maitlandSmithCoeffs_.
readEntry(
"epsilon", epsilon_);
A class for handling words, derived from Foam::string.
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
maitlandSmith(const word &name, const dictionary &pairPotentialProperties)
scalar unscaledEnergy(const scalar r) const
bool read(const dictionary &pairPotentialProperties)
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
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.
virtual bool read(const dictionary &pairPotentialProperties)=0
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)