Van der Waals attraction (surface)
Template parameters
field_value_t
primary field type
real_t
scalar field type
Constructor arguments
real_t A
Hamaker constant of the material
real_t h0
saturation distance
real_t r_part
particle radius
real_t mass
particle mass
field_value_t field_zero
zero-valued primary field
real_t real_zero
zero-valued scalar field
Public member functions
operator ()
Synopsis:
Called by the triangular facet to compute the acceleration of particle i due to its Van der Waals attraction to the triangular facet
Arguments:
size_t i
index of the particle that is being accelerated
field_value_t const & x_facet
point on the facet closest to the center of particle i
std::vector<fielv_value_t> const & x
const reference to the position buffer
std::vector<fielv_value_t> const & v
const reference to the velocity buffer
std::vector<fielv_value_t> const & theta
const reference to the orientation buffer
std::vector<fielv_value_t> const & omega
const reference to the angular velocity buffer
real_t t
simulation time
Return value:
std::pair<field_value_t, field_value_t>
translational acceleration and angular acceleration of particle i due to its Van der Waals attraction to particle j
Last modified: 08 November 2024