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