![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Parameters for 3-body tabulated potential. More...
#include <bonded_tab.hpp>
Inheritance diagram for TabulatedAngleBond:
Collaboration diagram for TabulatedAngleBond:Public Member Functions | |
| double | cutoff () const |
| TabulatedAngleBond (double min, double max, std::vector< double > const &energy, std::vector< double > const &force) | |
| 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 |
| Compute the three-body angle interaction energy. | |
Public Member Functions inherited from TabulatedBond | |
| TabulatedBond (double min, double max, std::vector< double > const &energy, std::vector< double > const &force) | |
| Set the parameters of a bonded tabulated potential. | |
Static Public Attributes | |
| static constexpr int | num = 2 |
Additional Inherited Members | |
Public Attributes inherited from TabulatedBond | |
| std::shared_ptr< TabulatedPotential > | pot |
Parameters for 3-body tabulated potential.
Definition at line 83 of file bonded_tab.hpp.
|
inline |
Definition at line 88 of file bonded_tab.hpp.
References TabulatedBond::pot, and round_error_prec.
|
inline |
Definition at line 84 of file bonded_tab.hpp.
|
inline |
Compute the three-body angle interaction energy.
It is assumed that the potential is tabulated for all angles between 0 and Pi.
| [in] | vec1 | Vector from central particle to left particle. |
| [in] | vec2 | Vector from central particle to right particle. |
Definition at line 187 of file bonded_tab.hpp.
References calc_cosine(), TabulatedBond::pot, 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 166 of file bonded_tab.hpp.
References angle_generic_force(), TabulatedBond::pot, Utils::sqr(), and stream.
Definition at line 86 of file bonded_tab.hpp.