ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Parameters for OIF local forces. More...
#include <oif_local_forces.hpp>
Public Member Functions | |
double | cutoff () const |
OifLocalForcesBond (double r0, double ks, double kslin, double phi0, double kb, double A01, double A02, double kal, double kvisc) | |
std::tuple< Utils::Vector3d, Utils::Vector3d, Utils::Vector3d, Utils::Vector3d > | calc_forces (BoxGeometry const &box_geo, Particle const &p2, Particle const &p1, Particle const &p3, Particle const &p4) const |
Compute the OIF local forces. | |
Public Attributes | |
double | r0 |
Equilibrium bond length of triangle edges. | |
double | ks |
Non-linear stretching coefficient of triangle edges. | |
double | kslin |
Linear stretching coefficient of triangle edges. | |
double | phi0 |
Equilibrium angle between the two triangles. | |
double | kb |
Bending coefficient for the angle between the two triangles. | |
double | A01 |
Equilibrium surface of the first triangle. | |
double | A02 |
Equilibrium surface of the second triangle. | |
double | kal |
Stretching coefficient of a triangle surface. | |
double | kvisc |
Viscous coefficient of the triangle vertices. | |
Static Public Attributes | |
static constexpr int | num = 3 |
Parameters for OIF local forces.
Characterize the deformation of two triangles sharing an edge.
Definition at line 43 of file oif_local_forces.hpp.
|
inline |
|
inline |
Compute the OIF local forces.
box_geo | Box geometry. |
p2 | Particle of triangle 1. |
p1,p3 | Particles common to triangle 1 and triangle 2. |
p4 | Particle of triangle 2. |
p1
, p2
, p3
, p4
For non-linear stretching, see eq. (19) in [14]
Definition at line 95 of file oif_local_forces.hpp.
References A01, A02, Utils::angle_btw_triangles(), Utils::area_triangle(), BoxGeometry::get_mi_vector(), Utils::get_n_triangle(), Particle::image_box(), kal, kb, ks, kslin, kvisc, Utils::Vector< T, N >::norm(), phi0, Particle::pos(), r0, TINY_OIF_ELASTICITY_COEFFICIENT, BoxGeometry::unfolded_position(), and Particle::v().
|
inline |
Definition at line 63 of file oif_local_forces.hpp.
double OifLocalForcesBond::A01 |
Equilibrium surface of the first triangle.
Definition at line 55 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::A02 |
Equilibrium surface of the second triangle.
Definition at line 57 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::kal |
Stretching coefficient of a triangle surface.
Definition at line 59 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::kb |
Bending coefficient for the angle between the two triangles.
Definition at line 53 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::ks |
Non-linear stretching coefficient of triangle edges.
Definition at line 47 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::kslin |
Linear stretching coefficient of triangle edges.
Definition at line 49 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::kvisc |
Viscous coefficient of the triangle vertices.
Definition at line 61 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
|
staticconstexpr |
Definition at line 65 of file oif_local_forces.hpp.
double OifLocalForcesBond::phi0 |
Equilibrium angle between the two triangles.
Definition at line 51 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().
double OifLocalForcesBond::r0 |
Equilibrium bond length of triangle edges.
Definition at line 45 of file oif_local_forces.hpp.
Referenced by calc_forces(), and OifLocalForcesBond().