Public Member Functions | Static Public Attributes | List of all members
dampedCoulomb Class Reference
Inheritance diagram for dampedCoulomb:
Inheritance graph
[legend]
Collaboration diagram for dampedCoulomb:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("dampedCoulomb")
 Runtime type information. More...
 
 dampedCoulomb (const word &name, const dictionary &pairPotentialProperties)
 Construct from components. More...
 
 ~dampedCoulomb ()
 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 ()
 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
 
scalar scaledEnergy (const scalar r) const
 
scalar energyDerivative (const scalar r, const bool scaledEnergyDerivative=true) const
 
const dictionarypairPotentialProperties () const
 
bool writeEnergyAndForceTables (Ostream &os) const
 

Static Public Attributes

static scalar oneOverFourPiEps0
 

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 &)
 Disallow copy construct. More...
 
void operator= (const pairPotential &)
 Disallow default bitwise 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

Source files

Definition at line 50 of file dampedCoulomb.H.

Constructor & Destructor Documentation

dampedCoulomb ( const word name,
const dictionary pairPotentialProperties 
)

Construct from components.

Definition at line 55 of file dampedCoulomb.C.

~dampedCoulomb ( )
inline

Destructor.

Definition at line 83 of file dampedCoulomb.H.

References pairPotential::pairPotentialProperties(), dampedCoulomb::read(), and dampedCoulomb::unscaledEnergy().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "dampedCoulomb"  )

Runtime type information.

scalar unscaledEnergy ( const scalar  r) const
virtual

Implements pairPotential.

Definition at line 73 of file dampedCoulomb.C.

References Foam::erfc(), and dampedCoulomb::oneOverFourPiEps0.

Referenced by dampedCoulomb::~dampedCoulomb().

Here is the call graph for this function:

Here is the caller graph for this function:

bool read ( const dictionary pairPotentialProperties)
virtual

Read dictionary.

Implements pairPotential.

Definition at line 79 of file dampedCoulomb.C.

References dictionary::lookup(), pairPotential::read(), and dictionary::subDict().

Referenced by dampedCoulomb::~dampedCoulomb().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

scalar oneOverFourPiEps0
static
Initial value:
=
1.0/(4.0*constant::mathematical::pi*8.854187817e-12)

Definition at line 69 of file dampedCoulomb.H.

Referenced by dampedCoulomb::unscaledEnergy().


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