|
faunus
|
#include <bonds.h>


Public Member Functions | |
| Variant | type () const override |
| std::shared_ptr< BondData > | clone () const override |
| void | from_json (const json &j) override |
| void | to_json (json &j) const override |
| void | setEnergyFunction (const ParticleVector &particles) override |
| FENEBond (double k, double rmax, const std::vector< int > &indices) | |
Public Attributes | |
| double | half_force_constant = 0.0 |
| double | max_squared_distance = 0.0 |
FENE bond.
U(r) = -k/2 * r_max^2 * ln(1 - r^2 / r_max^2) if r < r_max, ∞ otherwise
1.8.13