Loading...
Searching...
No Matches
shiftedForce Class Reference

#include <shiftedForce.H>

Inheritance diagram for shiftedForce:
Collaboration diagram for shiftedForce:

Public Member Functions

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

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.
Protected Member Functions inherited from energyScalingFunction
 energyScalingFunction (const energyScalingFunction &)=delete
 No copy construct.
void operator= (const energyScalingFunction &)=delete
 No copy assignment.
Protected Attributes inherited from energyScalingFunction
word name_
dictionary energyScalingFunctionProperties_
const pairPotentialpairPot_

Detailed Description

Source files

Definition at line 48 of file shiftedForce.H.

Constructor & Destructor Documentation

◆ shiftedForce()

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

Construct from components.

Definition at line 45 of file shiftedForce.C.

References energyScalingFunction::energyScalingFunction(), energyScalingFunction::energyScalingFunctionProperties(), and Foam::name().

Here is the call graph for this function:

◆ ~shiftedForce()

~shiftedForce ( )
inline

Destructor.

Definition at line 85 of file shiftedForce.H.

Member Function Documentation

◆ TypeName()

TypeName ( "shiftedForce" )

Runtime type information.

References energyScalingFunction::energyScalingFunctionProperties(), and Foam::name().

Here is the call graph for this function:

◆ scaleEnergy()

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

Implements energyScalingFunction.

Definition at line 61 of file shiftedForce.C.

References e.

◆ read()

bool read ( const dictionary & energyScalingFunctionProperties)
virtual

Read dictionary.

Implements energyScalingFunction.

Definition at line 67 of file shiftedForce.C.

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

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • src/lagrangian/molecularDynamics/potential/energyScalingFunction/derived/shiftedForce/shiftedForce.H
  • src/lagrangian/molecularDynamics/potential/energyScalingFunction/derived/shiftedForce/shiftedForce.C