33 namespace pairPotentials
58 m_(maitlandSmithCoeffs_.template
lookup<scalar>(
"m")),
59 gamma_(maitlandSmithCoeffs_.template
lookup<scalar>(
"gamma")),
60 rm_(maitlandSmithCoeffs_.template
lookup<scalar>(
"rm")),
61 epsilon_(maitlandSmithCoeffs_.template
lookup<scalar>(
"epsilon"))
71 scalar nr = (m_ + gamma_*(r/rm_ - 1.0));
87 maitlandSmithCoeffs_.
lookup(
"m") >> m_;
88 maitlandSmithCoeffs_.
lookup(
"gamma") >> gamma_;
89 maitlandSmithCoeffs_.
lookup(
"rm") >> rm_;
90 maitlandSmithCoeffs_.
lookup(
"epsilon") >> epsilon_;
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
scalar unscaledEnergy(const scalar r) const
maitlandSmith(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
defineTypeNameAndDebug(azizChen, 0)
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)