Go to the documentation of this file.
33 namespace pairPotentials
57 exponentialRepulsionCoeffs_
61 rm_(
readScalar(exponentialRepulsionCoeffs_.lookup(
"rm"))),
62 epsilon_(
readScalar(exponentialRepulsionCoeffs_.lookup(
"epsilon")))
A class for handling words, derived from string.
exponentialRepulsion(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
dimensionedScalar exp(const dimensionedScalar &ds)
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
scalar unscaledEnergy(const scalar r) const
A list of keyword definitions, which are a keyword followed by any number of values (e....
defineTypeNameAndDebug(azizChen, 0)
Macros for easy insertion into run-time selection tables.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
dictionary exponentialRepulsionCoeffs_
word name(const complex &)
Return a string representation of a complex.