![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "forces_init.hpp"#include <config/config.hpp>#include "Particle.hpp"#include "PropagationMode.hpp"#include "cell_system/CellStructure.hpp"#include "cell_system/for_each_particle.hpp"#include "integrators/Propagation.hpp"#include "magnetostatics/dipoles.hpp"#include "rotation.hpp"#include "system/System.hpp"#include "thermostat.hpp"#include "thermostats/langevin_inline.hpp"#include <caliper/cali.h>
Include dependency graph for forces_init.cpp:Go to the source code of this file.
Functions | |
| static ParticleForce | external_force (Particle const &p) |
| External particle forces. | |
| void | init_forces_and_thermostat (System::System const &system) |
| Combined force initialization and Langevin noise application. | |
|
static |
External particle forces.
Definition at line 49 of file forces_init.cpp.
References Particle::calc_director(), Particle::ext_force(), Particle::ext_torque(), ParticleForce::f, stream, Particle::swimming(), and ParticleForce::torque.
Referenced by init_forces_and_thermostat().
| void init_forces_and_thermostat | ( | System::System const & | system | ) |
Combined force initialization and Langevin noise application.
Definition at line 71 of file forces_init.cpp.
References convert_vector_body_to_space(), external_force(), Particle::force(), Particle::force_and_torque(), friction_thermo_langevin(), friction_thermo_langevin_rotation(), PropagationMode::ROT_LANGEVIN, stream, Particle::torque(), and PropagationMode::TRANS_LANGEVIN.
Referenced by System::System::calculate_forces().