ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Parameters for Coulomb bond short-range Potential. More...
#include <bonded_coulomb_sr.hpp>
Public Member Functions | |
double | cutoff () const |
BondedCoulombSR (double q1q2) | |
std::optional< Utils::Vector3d > | force (Utils::Vector3d const &dx, std::function< Utils::Vector3d(double, Utils::Vector3d const &, double)> const &kernel) const |
Compute the short-range bonded Coulomb pair force. | |
std::optional< double > | energy (Particle const &p1, Particle const &p2, Utils::Vector3d const &dx, std::function< double(Particle const &, Particle const &, double, Utils::Vector3d const &, double)> const &kernel) const |
Compute the short-range bonded Coulomb pair energy. | |
Public Attributes | |
double | q1q2 |
charge factor | |
Static Public Attributes | |
static constexpr int | num = 1 |
Parameters for Coulomb bond short-range Potential.
Definition at line 41 of file bonded_coulomb_sr.hpp.
|
inline |
Definition at line 49 of file bonded_coulomb_sr.hpp.
References q1q2.
|
inline |
Definition at line 45 of file bonded_coulomb_sr.hpp.
|
inline |
Compute the short-range bonded Coulomb pair energy.
[in] | p1 | First particle. |
[in] | p2 | Second particle. |
[in] | dx | Distance between the particles. |
[in] | kernel | Coulomb energy kernel. |
Definition at line 83 of file bonded_coulomb_sr.hpp.
References Utils::Vector< T, N >::norm(), and q1q2.
|
inline |
Compute the short-range bonded Coulomb pair force.
[in] | dx | Distance between the particles. |
[in] | kernel | Coulomb force kernel. |
Definition at line 66 of file bonded_coulomb_sr.hpp.
References Utils::Vector< T, N >::norm(), and q1q2.
|
staticconstexpr |
Definition at line 47 of file bonded_coulomb_sr.hpp.
double BondedCoulombSR::q1q2 |
charge factor
Definition at line 43 of file bonded_coulomb_sr.hpp.
Referenced by BondedCoulombSR(), energy(), and force().