ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "ibm_common.hpp"
#include "cell_system/CellStructure.hpp"
#include "communication.hpp"
#include "system/System.hpp"
#include <utils/Vector.hpp>
#include <utils/serialization/optional.hpp>
#include <boost/mpi/collectives/all_reduce.hpp>
#include <optional>
#include <stdexcept>
Go to the source code of this file.
Functions | |
Utils::Vector3d | get_ibm_particle_position (CellStructure const &cell_structure, int pid) |
Returns the position of a given particle. | |
Utils::Vector3d get_ibm_particle_position | ( | CellStructure const & | cell_structure, |
int | pid | ||
) |
Returns the position of a given particle.
cell_structure | Cell structure to search. |
pid | Particle id. |
Definition at line 34 of file ibm_common.cpp.
References comm_cart, CellStructure::get_local_particle(), and Particle::pos().
Referenced by IBMTribend::initialize(), and IBMTriel::initialize().