Go to the documentation of this file.
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_);
A class for handling words, derived from Foam::string.
exponentialRepulsion(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
dimensionedScalar exp(const dimensionedScalar &ds)
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
scalar unscaledEnergy(const scalar r) const
word name(const complex &c)
Return string representation of complex.
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.
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.