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