Public Member Functions | Private Attributes
shiftedForce Class Reference
Inheritance diagram for shiftedForce:
Inheritance graph
[legend]
Collaboration diagram for shiftedForce:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("shiftedForce")
 Runtime type information. More...
 
 shiftedForce (const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
 Construct from components. More...
 
 ~shiftedForce ()
 Destructor. More...
 
void scaleEnergy (scalar &e, const scalar r) const
 
bool read (const dictionary &energyScalingFunctionProperties)
 Read dictionary. More...
 
- Public Member Functions inherited from energyScalingFunction
 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...
 
virtual ~energyScalingFunction ()
 Destructor. More...
 
const dictionaryenergyScalingFunctionProperties () const
 

Private Attributes

scalar rCut_
 
scalar e_at_rCut_
 
scalar de_dr_at_rCut_
 

Additional Inherited Members

- Static Public Member Functions inherited from energyScalingFunction
static autoPtr< energyScalingFunctionNew (const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
 Return a reference to the selected viscosity model. More...
 
- Protected Member Functions inherited from energyScalingFunction
 energyScalingFunction (const energyScalingFunction &)
 Disallow copy construct. More...
 
void operator= (const energyScalingFunction &)
 Disallow default bitwise assignment. More...
 
- Protected Attributes inherited from energyScalingFunction
word name_
 
dictionary energyScalingFunctionProperties_
 
const pairPotentialpairPot_
 

Detailed Description

Source files

Definition at line 50 of file shiftedForce.H.

Constructor & Destructor Documentation

◆ shiftedForce()

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

Construct from components.

Definition at line 51 of file shiftedForce.C.

◆ ~shiftedForce()

~shiftedForce ( )
inline

Destructor.

Definition at line 81 of file shiftedForce.H.

Member Function Documentation

◆ TypeName()

TypeName ( "shiftedForce"  )

Runtime type information.

◆ scaleEnergy()

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

◆ read()

bool read ( const dictionary energyScalingFunctionProperties)
virtual

Read dictionary.

Implements energyScalingFunction.

Definition at line 72 of file shiftedForce.C.

References energyScalingFunction::energyScalingFunctionProperties(), and energyScalingFunction::read().

Here is the call graph for this function:

Field Documentation

◆ rCut_

scalar rCut_
private

Definition at line 56 of file shiftedForce.H.

Referenced by shiftedForce::scaleEnergy().

◆ e_at_rCut_

scalar e_at_rCut_
private

Definition at line 58 of file shiftedForce.H.

Referenced by shiftedForce::scaleEnergy().

◆ de_dr_at_rCut_

scalar de_dr_at_rCut_
private

Definition at line 60 of file shiftedForce.H.

Referenced by shiftedForce::scaleEnergy().


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