Plain Coulomb potential.
More...
#include <potentials.h>
|
|
double | bjerrum_length = 0.0 |
| | Bjerrum length.
|
| |
|
std::string | name |
| | unique name per polymorphic call; used in FunctorPotential::combinePairPotentials
|
| |
|
std::string | cite |
| | Typically a short-doi litterature reference.
|
| |
|
bool | isotropic = true |
| | true if pair-potential is independent of particle orientation
|
| |
|
std::function< double(const Particle &)> | selfEnergy = nullptr |
| | self energy of particle (kT)
|
| |
|
|
| PairPotential (std::string name=std::string(), std::string cite=std::string(), bool isotropic=true) |
| |
◆ operator()()
| double Faunus::pairpotential::Coulomb::operator() |
( |
const Particle & |
particle_a, |
|
|
const Particle & |
particle_b, |
|
|
const double |
squared_distance, |
|
|
const Point & |
b_towards_a |
|
) |
| const |
|
inlineoverridevirtual |
Pair energy between two particles.
- Parameters
-
| particle_a | First particle |
| particle_b | Second particle |
| squared_distance | Squared distance, |𝐚-𝐛|² |
| b_towards_a | Distance vector 𝐛 -> 𝐚 = 𝐚 - 𝐛 |
- Returns
- Interaction energy in units of kT
Implements Faunus::pairpotential::PairPotential.
The documentation for this class was generated from the following files: