![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Force calculation. More...
#include <config/config.hpp>#include "ParticleRange.hpp"#include "cell_system/CellStructure.hpp"#include "system/System.hpp"
Include dependency graph for forces.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | init_forces_and_thermostat (System::System const &system) |
| Combined force initialization and Langevin noise application. | |
| void | init_forces_ghosts (const CellStructure &cell_structure) |
| Set forces of all ghosts to zero. | |
| void | calc_long_range_forces (ParticleRange const &particles) |
| Calculate long range forces (P3M, ...). | |
| void calc_long_range_forces | ( | ParticleRange const & | particles | ) |
Calculate long range forces (P3M, ...).
Definition at line 423 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_and_thermostat | ( | System::System const & | system | ) |
Combined force initialization and Langevin noise application.
Definition at line 98 of file forces.cpp.
References System::System::cell_structure, convert_vector_body_to_space(), external_force(), Particle::force(), Particle::force_and_torque(), friction_thermo_langevin(), friction_thermo_langevin_rotation(), System::System::get_time_step(), init_forces_ghosts(), System::System::propagation, PropagationMode::ROT_LANGEVIN, System::System::thermostat, Particle::torque(), and PropagationMode::TRANS_LANGEVIN.
Referenced by System::System::calculate_forces().
| void init_forces_ghosts | ( | const CellStructure & | cell_structure | ) |
Set forces of all ghosts to zero.
Definition at line 140 of file forces.cpp.
References CellStructure::for_each_ghost_particle(), and Particle::force_and_torque().
Referenced by init_forces_and_thermostat(), lb_tracers_add_particle_force_to_fluid(), vs_com_back_transfer_forces_and_torques(), and vs_relative_back_transfer_forces_and_torques().