ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Force calculation. More...
Go to the source code of this file.
Functions | |
void | init_forces (ParticleRange const &particles, double time_step) |
Assign external forces/torques to real particles and zero to ghosts. | |
void | init_forces_ghosts (ParticleRange const &particles) |
Set forces of all ghosts to zero. | |
void | calc_long_range_forces (ParticleRange const &particles) |
Calculate long range forces (P3M, ...). | |
void | npt_add_virial_force_contribution (Utils::Vector3d const &force, Utils::Vector3d const &d) |
Update the NpT virial. | |
void calc_long_range_forces | ( | ParticleRange const & | particles | ) |
Calculate long range forces (P3M, ...).
Definition at line 251 of file forces.cpp.
References Coulomb::Solver::calc_long_range_force(), Dipoles::Solver::calc_long_range_force(), Coulomb::get_coulomb(), and Dipoles::get_dipoles().
Referenced by System::System::calculate_forces().
void init_forces | ( | ParticleRange const & | particles, |
double | time_step | ||
) |
Assign external forces/torques to real particles and zero to ghosts.
void init_forces_ghosts | ( | ParticleRange const & | particles | ) |
Set forces of all ghosts to zero.
Definition at line 103 of file forces.cpp.
Referenced by init_forces(), lb_tracers_add_particle_force_to_fluid(), and vs_relative_back_transfer_forces_and_torques().
void npt_add_virial_force_contribution | ( | Utils::Vector3d const & | force, |
Utils::Vector3d const & | d | ||
) |
Update the NpT virial.
Definition at line 268 of file forces.cpp.
References npt_add_virial_contribution().
Referenced by add_bonded_two_body_force(), and add_non_bonded_pair_force().