Commit d6ffa737 authored by Tobias Baetge's avatar Tobias Baetge Committed by Cristian Lalescu
Browse files

collision pair adding function available also for children of p2pgc

parent 2c959497
......@@ -55,6 +55,7 @@ class p2p_ghost_collisions
// description for disks:
double disk_width;
bool isActive;
protected:
void add_colliding_pair(partsize_t idx_part1, partsize_t idx_part2)
{
// store colliding particle ids in order, to be able to identify pairs more easily
......@@ -69,7 +70,6 @@ class p2p_ghost_collisions
this->collision_pairs_local.push_back(idx_part_small);
this->collision_pairs_local.push_back(idx_part_big);
}
protected:
bool synchronisation;
std::vector <partsize_t> collision_pairs_local;
std::vector <partsize_t> collision_pairs_global;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment