exponentialRepulsion Class Reference
Inheritance diagram for exponentialRepulsion:
[legend]
Collaboration diagram for exponentialRepulsion:
[legend]

Public Member Functions

 TypeName ("exponentialRepulsion")
 Runtime type information. More...
 
 exponentialRepulsion (const word &name, const dictionary &pairPotentialProperties)
 Construct from components. More...
 
 ~exponentialRepulsion ()
 Destructor. More...
 
scalar unscaledEnergy (const scalar r) const
 
bool read (const dictionary &pairPotentialProperties)
 Read dictionary. More...
 
- Public Member Functions inherited from pairPotential
 TypeName ("pairPotential")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pairPotential, dictionary,(const word &name, const dictionary &pairPotentialProperties),(name, pairPotentialProperties))
 
 pairPotential (const word &name, const dictionary &pairPotentialProperties)
 Construct from components. More...
 
virtual ~pairPotential ()=default
 Destructor. More...
 
void setLookupTables ()
 
scalar rMin () const
 
scalar dr () const
 
scalar rCut () const
 
scalar rCutSqr () const
 
scalar energy (const scalar r) const
 
scalar force (const scalar r) const
 
List< Pair< scalar > > energyTable () const
 
List< Pair< scalar > > forceTable () const
 
bool writeTables () const
 
virtual scalar unscaledEnergy (const scalar r) const =0
 
scalar scaledEnergy (const scalar r) const
 
scalar energyDerivative (const scalar r, const bool scaledEnergyDerivative=true) const
 
const dictionarypairPotentialProperties () const
 
bool writeEnergyAndForceTables (Ostream &os) const
 
virtual bool read (const dictionary &pairPotentialProperties)=0
 Read pairPotential dictionary. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from pairPotential
static autoPtr< pairPotentialNew (const word &name, const dictionary &pairPotentialProperties)
 Return a reference to the selected viscosity model. More...
 
- Protected Member Functions inherited from pairPotential
void scaleEnergy (scalar &e, const scalar r) const
 
 pairPotential (const pairPotential &)=delete
 No copy construct. More...
 
void operator= (const pairPotential &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from pairPotential
word name_
 
dictionary pairPotentialProperties_
 
scalar rCut_
 
scalar rCutSqr_
 
scalar rMin_
 
scalar dr_
 
List< scalar > forceLookup_
 
List< scalar > energyLookup_
 
energyScalingFunctionesfPtr_
 
bool writeTables_
 

Detailed Description

Constructor & Destructor Documentation

◆ exponentialRepulsion()

exponentialRepulsion ( const word name,
const dictionary pairPotentialProperties 
)

Construct from components.

Definition at line 52 of file exponentialRepulsion.C.

References pairPotential::setLookupTables().

Here is the call graph for this function:

◆ ~exponentialRepulsion()

~exponentialRepulsion ( )
inline

Destructor.

Definition at line 81 of file exponentialRepulsion.H.

Member Function Documentation

◆ TypeName()

TypeName ( "exponentialRepulsion"  )

Runtime type information.

◆ unscaledEnergy()

scalar unscaledEnergy ( const scalar  r) const
virtual

Implements pairPotential.

Definition at line 72 of file exponentialRepulsion.C.

References Foam::exp().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary pairPotentialProperties)
virtual

Read dictionary.

Implements pairPotential.

Definition at line 78 of file exponentialRepulsion.C.

References kEpsilonLopesdaCosta< BasicTurbulenceModel >::read(), and dictionary::readEntry().

Here is the call graph for this function:

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