![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <config/config.hpp>#include "BoxGeometry.hpp"#include "Particle.hpp"#include "PropagationMode.hpp"#include "cell_system/CellStructure.hpp"#include "cells.hpp"#include "errorhandling.hpp"#include "lees_edwards/lees_edwards.hpp"#include "rotation.hpp"#include <utils/Vector.hpp>#include <utils/math/quaternion.hpp>#include <utils/math/tensor_product.hpp>#include <utils/quaternion.hpp>#include <cassert>
Include dependency graph for relative.cpp:Go to the source code of this file.
Vector pointing from the real particle to the virtual site.
Definition at line 45 of file relative.cpp.
References Utils::convert_quaternion_to_director(), and stream.
Referenced by constraint_stress(), velocity(), vs_relative_back_transfer_forces_and_torques(), and vs_relative_update_particles().
Constraint force to hold the particle at its prescribed position.
| p_ref | Reference particle. |
| p_vs | Virtual site. |
Definition at line 97 of file relative.cpp.
References connection_vector(), and stream.
Referenced by vs_relative_pressure_tensor().
| 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 74 of file relative.cpp.
References CellStructure::get_local_particle(), Particle::id(), runtimeErrorMsg, stream, and Particle::vs_relative().
Referenced by System::System::integrate_magnetodynamics(), vs_relative_back_transfer_forces_and_torques(), and vs_relative_update_particles().
Definition at line 116 of file relative.cpp.
References is_vs_relative_trans(), is_vs_rot(), and stream.
Referenced by vs_relative_back_transfer_forces_and_torques(), and vs_relative_update_particles().
Definition at line 110 of file relative.cpp.
References Particle::propagation(), and PropagationMode::ROT_VS_INDEPENDENT.
Referenced by is_vs_rot().
Definition at line 107 of file relative.cpp.
References Particle::propagation(), and PropagationMode::ROT_VS_RELATIVE.
Referenced by is_vs_rot(), and vs_relative_update_particles().
Definition at line 104 of file relative.cpp.
References Particle::propagation(), and PropagationMode::TRANS_VS_RELATIVE.
Referenced by is_vs(), vs_relative_back_transfer_forces_and_torques(), vs_relative_pressure_tensor(), and vs_relative_update_particles().
Definition at line 113 of file relative.cpp.
References is_vs_independent_rot(), is_vs_relative_rot(), and stream.
Referenced by is_vs(), and vs_relative_back_transfer_forces_and_torques().
Velocity of the virtual site.
| p_ref | Reference particle for the virtual site. |
| p_vs | Virtual site. |
Definition at line 64 of file relative.cpp.
References connection_vector(), convert_vector_body_to_space(), stream, and vector_product().
Referenced by bd_drag_vel(), bd_random_walk_vel(), walberla::LBWalberlaImpl< FloatType, Architecture >::VelocityVTKWriter< OutputType >::evaluate(), walberla::lbm::accessor::Force::kernel_set(), walberla::lbm::accessor::Velocity::kernel_set(), walberla::lbm::accessor::Force::kernel_set(), walberla::lbm::accessor::Velocity::kernel_set(), walberla::lbm::accessor::Population::kernel_set_vel(), walberla::lbm::accessor::Population::kernel_set_vel(), walberla::pystencils::InitialPDFsSetterDoublePrecision::run(), walberla::pystencils::InitialPDFsSetterSinglePrecision::run(), walberla::pystencils::UpdateVelFromPDFDoublePrecision::run(), walberla::pystencils::UpdateVelFromPDFDoublePrecisionAVX::run(), walberla::pystencils::UpdateVelFromPDFSinglePrecision::run(), walberla::pystencils::UpdateVelFromPDFSinglePrecisionAVX::run(), walberla::pystencils::InitialPDFsSetterDoublePrecisionCUDA::run(), walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::run(), walberla::pystencils::UpdateVelFromPDFDoublePrecisionCUDA::run(), walberla::pystencils::UpdateVelFromPDFSinglePrecisionCUDA::run(), walberla::pystencils::InitialPDFsSetterDoublePrecision::runOnCellInterval(), walberla::pystencils::InitialPDFsSetterSinglePrecision::runOnCellInterval(), walberla::pystencils::UpdateVelFromPDFDoublePrecision::runOnCellInterval(), walberla::pystencils::UpdateVelFromPDFDoublePrecisionAVX::runOnCellInterval(), walberla::pystencils::UpdateVelFromPDFSinglePrecision::runOnCellInterval(), walberla::pystencils::UpdateVelFromPDFSinglePrecisionAVX::runOnCellInterval(), walberla::pystencils::InitialPDFsSetterDoublePrecisionCUDA::runOnCellInterval(), walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::runOnCellInterval(), walberla::pystencils::UpdateVelFromPDFDoublePrecisionCUDA::runOnCellInterval(), walberla::pystencils::UpdateVelFromPDFSinglePrecisionCUDA::runOnCellInterval(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_node_velocity_at_boundary(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity_at_boundary(), and vs_relative_update_particles().
| void vs_relative_back_transfer_forces_and_torques | ( | CellStructure & | cell_structure | ) |
Definition at line 163 of file relative.cpp.
References connection_vector(), CellStructure::for_each_local_particle(), Particle::force(), get_reference_particle(), CellStructure::ghosts_reduce_forces(), CellStructure::ghosts_reset_forces(), 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 193 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 120 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().