![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Parameters for three-body angular potential (cossquare). More...
#include <angle_cossquare.hpp>
Public Member Functions | |
| double | cutoff () const |
| AngleCossquareBond (double bend, double phi0) | |
| std::tuple< Utils::Vector3d, Utils::Vector3d, Utils::Vector3d > | forces (Utils::Vector3d const &vec1, Utils::Vector3d const &vec2) const |
| Compute the three-body angle interaction force. | |
| double | energy (Utils::Vector3d const &vec1, Utils::Vector3d const &vec2) const |
| Computes the three-body angle interaction energy. | |
Public Attributes | |
| double | bend |
| bending constant | |
| double | phi0 |
| equilibrium angle (default is 180 degrees) | |
| double | cos_phi0 |
cosine of phi0 (internal parameter) | |
Static Public Attributes | |
| static constexpr int | num = 2 |
Parameters for three-body angular potential (cossquare).
Definition at line 39 of file angle_cossquare.hpp.
Definition at line 51 of file angle_cossquare.hpp.
|
inline |
Definition at line 47 of file angle_cossquare.hpp.
|
inline |
Computes the three-body angle interaction energy.
| [in] | vec1 | Vector from central particle to left particle. |
| [in] | vec2 | Vector from central particle to right particle. |
Definition at line 82 of file angle_cossquare.hpp.
References bend, calc_cosine(), cos_phi0, Utils::sqr(), and stream.
|
inline |
Compute the three-body angle interaction force.
| [in] | vec1 | Vector from central particle to left particle. |
| [in] | vec2 | Vector from central particle to right particle. |
Definition at line 68 of file angle_cossquare.hpp.
References angle_generic_force(), bend, cos_phi0, and stream.
| double AngleCossquareBond::bend |
bending constant
Definition at line 41 of file angle_cossquare.hpp.
Referenced by AngleCossquareBond(), energy(), and forces().
| double AngleCossquareBond::cos_phi0 |
cosine of phi0 (internal parameter)
Definition at line 45 of file angle_cossquare.hpp.
Definition at line 49 of file angle_cossquare.hpp.
| double AngleCossquareBond::phi0 |
equilibrium angle (default is 180 degrees)
Definition at line 43 of file angle_cossquare.hpp.
Referenced by AngleCossquareBond().