energyScalingFunction Class Referenceabstract
Inheritance diagram for energyScalingFunction:
Collaboration diagram for energyScalingFunction:

Public Member Functions

 TypeName ("energyScalingFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, energyScalingFunction, dictionary,(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot),(name, energyScalingFunctionProperties, pairPot))
 
 energyScalingFunction (const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
 Construct from components. More...
 
 energyScalingFunction (const energyScalingFunction &)
 Disallow default bitwise copy construction. More...
 
virtual ~energyScalingFunction ()
 Destructor. More...
 
virtual void scaleEnergy (scalar &e, const scalar r) const =0
 
const dictionaryenergyScalingFunctionProperties () const
 
virtual bool read (const dictionary &energyScalingFunctionProperties)=0
 Read energyScalingFunction dictionary. More...
 
void operator= (const energyScalingFunction &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< energyScalingFunctionNew (const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
 Return a reference to the selected viscosity model. More...
 

Protected Attributes

word name_
 
dictionary energyScalingFunctionProperties_
 
const pairPotentialpairPot_
 

Detailed Description

Constructor & Destructor Documentation

◆ energyScalingFunction() [1/2]

energyScalingFunction ( const word name,
const dictionary energyScalingFunctionProperties,
const pairPotential pairPot 
)

Construct from components.

Definition at line 40 of file energyScalingFunction.C.

References energyScalingFunction::read().

Here is the call graph for this function:

◆ energyScalingFunction() [2/2]

Disallow default bitwise copy construction.

◆ ~energyScalingFunction()

virtual ~energyScalingFunction ( )
inlinevirtual

Destructor.

Definition at line 114 of file energyScalingFunction.H.

References Foam::e, and energyScalingFunction::scaleEnergy().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "energyScalingFunction"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
energyScalingFunction  ,
dictionary  ,
(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)  ,
(name, energyScalingFunctionProperties, pairPot)   
)

◆ New()

Foam::autoPtr< Foam::energyScalingFunction > New ( const word name,
const dictionary energyScalingFunctionProperties,
const pairPotential pairPot 
)
static

Return a reference to the selected viscosity model.

Definition at line 32 of file energyScalingFunctionNew.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), Foam::name(), and Foam::nl.

Referenced by pairPotential::scaleEnergy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ scaleEnergy()

virtual void scaleEnergy ( scalar &  e,
const scalar  r 
) const
pure virtual

Implemented in doubleSigmoid, sigmoid, shiftedForce, shifted, and noScaling.

Referenced by energyScalingFunction::~energyScalingFunction().

Here is the caller graph for this function:

◆ energyScalingFunctionProperties()

const dictionary& energyScalingFunctionProperties ( ) const
inline

◆ read()

bool read ( const dictionary energyScalingFunctionProperties)
pure virtual

◆ operator=()

void operator= ( const energyScalingFunction )
delete

Disallow default bitwise assignment.

Referenced by energyScalingFunction::energyScalingFunctionProperties().

Here is the caller graph for this function:

Member Data Documentation

◆ name_

word name_
protected

Definition at line 59 of file energyScalingFunction.H.

◆ energyScalingFunctionProperties_

dictionary energyScalingFunctionProperties_
protected

◆ pairPot_

const pairPotential& pairPot_
protected

Definition at line 63 of file energyScalingFunction.H.


The documentation for this class was generated from the following files: