Public Member Functions | |
electrostaticPotential () | |
Construct and set prefactor. More... | |
~electrostaticPotential () | |
Destructor. More... | |
scalar | energy (const scalar r) const |
scalar | force (const scalar r) const |
Definition at line 48 of file electrostaticPotential.H.
Construct and set prefactor.
Definition at line 31 of file electrostaticPotential.C.
|
inline |
Destructor.
Definition at line 64 of file electrostaticPotential.H.
References electrostaticPotential::energy(), and electrostaticPotential::force().
Foam::scalar energy | ( | const scalar | r | ) | const |
Definition at line 38 of file electrostaticPotential.C.
Referenced by electrostaticPotential::~electrostaticPotential().
Foam::scalar force | ( | const scalar | r | ) | const |
Definition at line 44 of file electrostaticPotential.C.
Referenced by electrostaticPotential::~electrostaticPotential().