Go to the documentation of this file.
35 namespace energyScalingFunctions
44 energyScalingFunction,
55 const dictionary& energyScalingFunctionProperties,
60 rCut_(pairPot.
rCut()),
70 e -= ( e_at_rCut_ + de_dr_at_rCut_ * (r - rCut_) );
A class for handling words, derived from Foam::string.
bool read(const dictionary &energyScalingFunctionProperties)
Read dictionary.
void scaleEnergy(scalar &e, const scalar r) const
shiftedForce(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
Construct from components.
const dictionary & energyScalingFunctionProperties() const
word name(const complex &c)
Return string representation of complex.
scalar energyDerivative(const scalar r, const bool scaledEnergyDerivative=true) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual scalar unscaledEnergy(const scalar r) const =0
defineTypeNameAndDebug(doubleSigmoid, 0)
const dimensionedScalar e
Elementary charge.
addToRunTimeSelectionTable(energyScalingFunction, doubleSigmoid, dictionary)
virtual bool read(const dictionary &energyScalingFunctionProperties)=0
Read energyScalingFunction dictionary.