33 namespace energyScalingFunctions
42 energyScalingFunction,
53 const dictionary& energyScalingFunctionProperties,
58 rCut_(pairPot.
rCut()),
68 e -= ( e_at_rCut_ + de_dr_at_rCut_ * (r - rCut_) );
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar energyDerivative(const scalar r, const bool scaledEnergyDerivative=true) const
defineTypeNameAndDebug(doubleSigmoid, 0)
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
bool read(const dictionary &energyScalingFunctionProperties)
Read dictionary.
addToRunTimeSelectionTable(energyScalingFunction, doubleSigmoid, dictionary)
virtual bool read(const dictionary &energyScalingFunctionProperties)=0
Read energyScalingFunction dictionary.
virtual scalar unscaledEnergy(const scalar r) const =0
const doubleScalar e
Elementary charge.
void scaleEnergy(scalar &e, const scalar r) const
shiftedForce(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
Construct from components.