ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Parameters for FENE bond Potential. More...
#include <fene.hpp>
Public Member Functions | |
double | cutoff () const |
FeneBond (double k, double drmax, double r0) | |
std::optional< Utils::Vector3d > | force (Utils::Vector3d const &dx) const |
Compute the FENE bond force. | |
std::optional< double > | energy (Utils::Vector3d const &dx) const |
Compute the FENE bond energy. | |
Public Attributes | |
double | k |
spring constant | |
double | drmax |
maximal bond stretching | |
double | r0 |
equilibrium bond length | |
double | drmax2 |
square of drmax (internal parameter) | |
double | drmax2i |
inverse square of drmax (internal parameter) | |
Static Public Attributes | |
static constexpr int | num = 1 |
|
inline |
|
inline |
|
inline |
|
inline |
Compute the FENE bond force.
[in] | dx | Distance between the particles. |
Definition at line 71 of file fene.hpp.
References drmax, drmax2i, k, Utils::Vector< T, N >::norm(), r0, ROUND_ERROR_PREC, and runtimeErrorMsg.
double FeneBond::drmax |
double FeneBond::drmax2 |
square of drmax
(internal parameter)
Definition at line 46 of file fene.hpp.
Referenced by energy(), and FeneBond().
double FeneBond::drmax2i |
double FeneBond::k |
spring constant
Definition at line 40 of file fene.hpp.
Referenced by energy(), FeneBond(), and force().
double FeneBond::r0 |