35 #ifndef energyScalingFunction_H 36 #define energyScalingFunction_H 85 (name, energyScalingFunctionProperties, pairPot)
95 const dictionary& energyScalingFunctionProperties,
106 const dictionary& energyScalingFunctionProperties,
121 virtual void scaleEnergy(scalar&
e,
const scalar r)
const = 0;
131 const dictionary& energyScalingFunctionProperties
declareRunTimeSelectionTable(autoPtr, energyScalingFunction, dictionary,(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot),(name, energyScalingFunctionProperties, pairPot))
const pairPotential & pairPot_
static autoPtr< energyScalingFunction > New(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
Return a reference to the selected viscosity model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void scaleEnergy(scalar &e, const scalar r) const =0
const dictionary & energyScalingFunctionProperties() const
A class for handling words, derived from string.
dictionary energyScalingFunctionProperties_
energyScalingFunction(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
Construct from components.
TypeName("energyScalingFunction")
Runtime type information.
word name(const complex &)
Return a string representation of a complex.
virtual ~energyScalingFunction()
Destructor.
void operator=(const energyScalingFunction &)=delete
Disallow default bitwise assignment.
virtual bool read(const dictionary &energyScalingFunctionProperties)=0
Read energyScalingFunction dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const doubleScalar e
Elementary charge.
Macros to ease declaration of run-time selection tables.