Van der Waals attraction
Template parameters
field_value_tprimary field type
real_tscalar field type
Constructor arguments
real_t AHamaker constant of the material
real_t h0saturation distance
real_t r_partparticle radius
real_t massparticle mass
field_value_t field_zerozero-valued primary field
real_t real_zerozero-valued scalar field
Public member functions
operator ()
Synopsis:
Called by the binary force container to compute the acceleration of particle i due to its Van der Waals attraction to particle j
Arguments:
size_t iindex of the particle that is being accelerated
size_t jindex of the particle that is acting on particle i
std::vector<fielv_value_t> const & xconst reference to the position buffer
std::vector<fielv_value_t> const & vconst reference to the velocity buffer
std::vector<fielv_value_t> const & thetaconst reference to the orientation buffer
std::vector<fielv_value_t> const & omegaconst reference to the angular velocity buffer
real_t tsimulation 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