35 namespace pairPotentials
59 exponentialRepulsionCoeffs_
63 rm_(exponentialRepulsionCoeffs_.
get<scalar>(
"rm")),
64 epsilon_(exponentialRepulsionCoeffs_.
get<scalar>(
"epsilon"))
74 return epsilon_ *
exp(-r/rm_);
82 exponentialRepulsionCoeffs_ =
85 exponentialRepulsionCoeffs_.
readEntry(
"rm", rm_);
86 exponentialRepulsionCoeffs_.
readEntry(
"epsilon", epsilon_);
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.
exponentialRepulsion(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
Macros for easy insertion into run-time selection tables.
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...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
dimensionedScalar exp(const dimensionedScalar &ds)
A class for handling words, derived from Foam::string.
scalar unscaledEnergy(const scalar r) const
defineTypeNameAndDebug(azizChen, 0)
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)