![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <config/config.hpp>#include "BoxGeometry.hpp"#include "Particle.hpp"#include "cell_system/CellStructure.hpp"#include <utils/Vector.hpp>#include <utils/matrix.hpp>
Include dependency graph for relative.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| Particle * | get_reference_particle (CellStructure &cell_structure, Particle const &p) |
| Get real particle tracked by a virtual site. | |
| void | vs_relative_update_particles (CellStructure &cell_structure, BoxGeometry const &box_geo) |
| void | vs_relative_back_transfer_forces_and_torques (CellStructure &cell_structure) |
| Utils::Matrix< double, 3, 3 > | vs_relative_pressure_tensor (CellStructure const &cell_structure) |
| Particle * get_reference_particle | ( | CellStructure & | cell_structure, |
| Particle const & | p | ||
| ) |
Get real particle tracked by a virtual site.
| cell_structure | Cell structure. |
| p | Virtual site. |
Definition at line 75 of file relative.cpp.
References CellStructure::get_local_particle(), Particle::id(), runtimeErrorMsg, stream, and Particle::vs_relative().
Referenced by run_magnetodynamics(), vs_relative_back_transfer_forces_and_torques(), and vs_relative_update_particles().
| void vs_relative_back_transfer_forces_and_torques | ( | CellStructure & | cell_structure | ) |
Definition at line 164 of file relative.cpp.
References connection_vector(), CellStructure::for_each_local_particle(), Particle::force(), get_reference_particle(), CellStructure::ghosts_reduce_forces(), init_forces_ghosts(), is_vs(), is_vs_relative_trans(), is_vs_rot(), stream, Particle::torque(), and vector_product().
Referenced by System::System::calculate_forces().
| Utils::Matrix< double, 3, 3 > vs_relative_pressure_tensor | ( | CellStructure const & | cell_structure | ) |
Definition at line 195 of file relative.cpp.
References constraint_stress(), CellStructure::get_local_particle(), is_vs_relative_trans(), CellStructure::local_particles(), pressure_tensor, and stream.
Referenced by System::System::calculate_pressure().
| void vs_relative_update_particles | ( | CellStructure & | cell_structure, |
| BoxGeometry const & | box_geo | ||
| ) |
Definition at line 121 of file relative.cpp.
References CellStructure::check_resort_required(), connection_vector(), Cells::DATA_PART_MOMENTUM, Cells::DATA_PART_POSITION, BoxGeometry::fold_position(), CellStructure::for_each_local_particle(), get_reference_particle(), CellStructure::ghosts_update(), Particle::image_box(), is_vs(), is_vs_relative_rot(), is_vs_relative_trans(), LEES_EDWARDS, Particle::pos(), Particle::quat(), Cells::RESORT_LOCAL, CellStructure::set_resort_particles(), stream, BoxGeometry::type(), Particle::v(), velocity(), and Particle::vs_relative().
Referenced by System::System::integrate(), and System::System::update_dependent_particles().