58#include "system/System.hpp"
79std::vector<std::pair<int, int>>
81 std::vector<int>
const &types);
87std::optional<std::vector<int>>
101namespace serialization {
102template <
class Archive>
131namespace serialization {
132template <
class Archive>
Vector implementation and trait types for boost qvm interoperability.
std::vector< std::pair< int, int > > get_pairs(System::System const &system, double distance)
Get pairs closer than distance from the cells.
std::optional< std::vector< int > > get_short_range_neighbors(System::System const &system, int pid, double distance)
Get ids of particles that are within a certain distance of another particle.
std::vector< std::pair< int, int > > get_pairs_of_types(System::System const &system, double distance, std::vector< int > const &types)
Get pairs closer than distance if both their types are in types.
std::vector< NeighborPIDs > get_neighbor_pids(System::System const &system)
Returns pairs of particle ids and neighbor particle id lists.
std::vector< PairInfo > non_bonded_loop_trace(System::System const &system, int rank)
Returns pairs of particle ids, positions and distance as seen by the non-bonded loop.
PairInfo(int _id1, int _id2, Utils::Vector3d _pos1, Utils::Vector3d _pos2, Utils::Vector3d _vec21, int _node)
void serialize(Archive &ar, std::tuple< T... > &pack, unsigned int const)
Serialize std::tuple.
std::vector< int > neighbor_pids
NeighborPIDs(int _pid, std::vector< int > _neighbor_pids)