35 namespace energyScalingFunctions
44 energyScalingFunction,
55 const dictionary& energyScalingFunctionProperties,
60 e_at_rCut_(pairPot.unscaledEnergy(pairPot.rCut()))
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool read(const dictionary &energyScalingFunctionProperties)
Read dictionary.
defineTypeNameAndDebug(doubleSigmoid, 0)
Macros for easy insertion into run-time selection tables.
const dimensionedScalar e
Elementary charge.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const dictionary & energyScalingFunctionProperties() const
shifted(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
Construct from components.
A class for handling words, derived from Foam::string.
addToRunTimeSelectionTable(energyScalingFunction, doubleSigmoid, dictionary)
virtual bool read(const dictionary &energyScalingFunctionProperties)=0
Read energyScalingFunction dictionary.
void scaleEnergy(scalar &e, const scalar r) const